On Wednesday, November 9, 2016 8:47:31 AM CET Olof's autobuilder wrote:
1 drivers/isdn/hardware/eicon/platform.h:333:18: warning: array subscript is above array bounds [-Warray-bounds] 1 drivers/of/of_reserved_mem.c:131:180: warning: comparison of distinct pointer types lacks a cast 1 drivers/of/of_reserved_mem.c:131:182: warning: comparison of distinct pointer types lacks a cast 1 drivers/of/of_reserved_mem.c:131:364: warning: comparison of distinct pointer types lacks a cast 1 drivers/of/of_reserved_mem.c:131:368: warning: comparison of distinct pointer types lacks a cast
Hi Greg,
did you add a backport of aaaab56dba9a ("of: silence warnings due to max() usage") already? That should take care of the of_reserved_mem warnings.
As mentioned, the eicon warning seems to be a false-positive that was fixed with later gcc versions. Depending on where Olof is going with the toolchain here, I could try to come up with a workaround for the kernel though, I assume the same thing still happens in mainline and can be fixed there.
Arnd