Arnd Bergmann <[email protected]> writes: > We get a harmless compiler warning when building the cs89x0 driver > for ixp4xx: > > drivers/net/ethernet/cirrus/cs89x0.c: In function 'cs89x0_ioport_probe': > drivers/net/ethernet/cirrus/cs89x0.c:1602:28: warning: suggest parentheses > around '+' in operand of '&' [-Wparentheses] > io_mem = ioport_map(ioport & ~3, NETCARD_IO_EXTENT); > > Simply adding parentheses in the macro avoids the warning > > Signed-off-by: Arnd Bergmann <[email protected]> > --- > arch/arm/mach-ixp4xx/include/mach/io.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Krzysztof Hałasa <[email protected]> -- Krzysztof Halasa Industrial Research Institute for Automation and Measurements PIAP Al. Jerozolimskie 202, 02-486 Warsaw, Poland

