Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1334196 > unrolled thread
| Started by | khalasa@piap.pl (Krzysztof Hałasa) |
|---|---|
| First post | 2016-02-15 08:10 +0100 |
| Last post | 2016-02-15 08:10 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 2/3] ARM: ixp4xx: avoid warning about ioport_map() macro argument processing khalasa@piap.pl (Krzysztof Hałasa) - 2016-02-15 08:10 +0100
| From | khalasa@piap.pl (Krzysztof Hałasa) |
|---|---|
| Date | 2016-02-15 08:10 +0100 |
| Subject | Re: [PATCH 2/3] ARM: ixp4xx: avoid warning about ioport_map() macro argument processing |
| Message-ID | <r2lse-64X-11@gated-at.bofh.it> |
Arnd Bergmann <arnd@arndb.de> 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 <arnd@arndb.de> > --- > arch/arm/mach-ixp4xx/include/mach/io.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Krzysztof Hałasa <khalasa@piap.pl> -- Krzysztof Halasa Industrial Research Institute for Automation and Measurements PIAP Al. Jerozolimskie 202, 02-486 Warsaw, Poland
Back to top | Article view | linux.kernel
csiph-web