# \[PATCH 0/8\] net: fix old-style declarations

- From: Arnd Bergmann \<arnd@arndb.de\>
- Date: 2016-06-16 13:49:22 
- List: netdev
- Page: https://ratatoskr.run/netdev/2016/06/4775221
- Thread: https://ratatoskr.run/netdev/2016/06/4775221/t.md

```text
"make W=1" enables -Wold-style-declaration, which is generally useful
to warn about pre-C89 code in the kernel, but it also warns about
some harmless variations (sometimes many of them from a single
file).

This fixes up the 8 instances I found in the networking code, there
is another series of 12 patches for the rest of the kernel.

Arnd Bergmann (8):
  wireless: airo: rename 'register' variable
  wireless: brcmsmac: fix old-style declaration
  wireless: ipw2200: fix old-style declaration
  hamradio: baycom: fix old-style declaration
  isdn: eicon: fix old-style declarations
  net: gianfar: fix old-style declaration
  net: xfrm: fix old-style declaration
  sunrpc: fix old-style declaration

 drivers/isdn/hardware/eicon/divasmain.c                 | 12 ++++++------
 drivers/isdn/hardware/eicon/platform.h                  |  6 +++---
 drivers/net/ethernet/freescale/gianfar.c                |  2 +-
 drivers/net/hamradio/baycom_par.c                       |  6 +++---
 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c |  4 ++--
 drivers/net/wireless/cisco/airo.c                       |  4 ++--
 drivers/net/wireless/intel/ipw2x00/ipw2200.c            |  2 +-
 net/ipv4/xfrm4_policy.c                                 |  8 ++++----
 net/ipv6/xfrm6_policy.c                                 |  4 ++--
 net/sunrpc/clnt.c                                       |  2 +-
 10 files changed, 25 insertions(+), 25 deletions(-)

-- 
2.9.0

Cc: Armin Schindler <redacted>
Cc: Karsten Keil <redacted>
Cc: Claudiu Manoil <redacted>
Cc: Thomas Sailer <redacted>
Cc: Stanislav Yakovlev <stas.yakovlev@gmail.com>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Trond Myklebust <redacted>
Cc: Anna Schumaker <redacted>
Cc: "J. Bruce Fields" <redacted>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: <redacted>
Cc: <redacted>
Cc: <redacted>
Cc: <redacted>
Cc: <redacted>
Cc: <redacted>
```
