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

From: Arnd Bergmann
Date: Thu Jun 16 2016 - 09:49:25 EST


"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 <mac@xxxxxxxxxx>
Cc: Karsten Keil <isdn@xxxxxxxxxxxxxx>
Cc: Claudiu Manoil <claudiu.manoil@xxxxxxxxxxxxx>
Cc: Thomas Sailer <t.sailer@xxxxxxxxxxxxxx>
Cc: Stanislav Yakovlev <stas.yakovlev@xxxxxxxxx>
Cc: Steffen Klassert <steffen.klassert@xxxxxxxxxxx>
Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
Cc: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>
Cc: Anna Schumaker <anna.schumaker@xxxxxxxxxx>
Cc: "J. Bruce Fields" <bfields@xxxxxxxxxxxx>
Cc: Arnd Bergmann <arnd@xxxxxxxx>
Cc: netdev@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-hams@xxxxxxxxxxxxxxx
Cc: linux-wireless@xxxxxxxxxxxxxxx
Cc: brcm80211-dev-list@xxxxxxxxxxxx
Cc: linux-nfs@xxxxxxxxxxxxxxx