1
0
Fork 0
alistair23-linux/drivers/net/ethernet/broadcom
Randy Dunlap 6255558291 bnx2x: fix build when BNX2X_SRIOV is not enabled
Fix build when BNX2X_SRIOV is not enabled.
Change one parameter struct from bnx2 to bnx2x and don't return a value
from a void function.

drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h:576:48: warning: 'struct bnx2' declared inside parameter list [enabled by default]
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h:576:48: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]

drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h:576:60: warning: 'return' with a value, in function returning void [enabled by default]

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc:	Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-13 13:08:29 -04:00
..
bnx2x bnx2x: fix build when BNX2X_SRIOV is not enabled 2014-05-13 13:08:29 -04:00
genet net: bcmgenet: Remove unnecessary version.h inclusion 2014-04-04 10:02:23 -04:00
Kconfig net: systemport: hook SYSTEMPORT driver in the build 2014-04-26 12:57:40 -04:00
Makefile net: systemport: hook SYSTEMPORT driver in the build 2014-04-26 12:57:40 -04:00
b44.c net: Replace u64_stats_fetch_begin_bh to u64_stats_fetch_begin_irq 2014-03-14 22:41:36 -04:00
b44.h b44: use fixed PHY device if we do not find any 2013-12-20 20:48:49 -05:00
bcm63xx_enet.c bcm63xx_enet: Use ARRAY_SIZE instead of open coding it 2014-04-24 13:38:57 -04:00
bcm63xx_enet.h bcm63xx_enet: add support Broadcom BCM6345 Ethernet 2013-06-13 17:22:08 -07:00
bcmsysport.c net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver 2014-04-26 12:57:40 -04:00
bcmsysport.h net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver 2014-04-26 12:57:40 -04:00
bgmac.c bgmac: propagate error codes in bgmac_probe() 2014-01-14 18:19:20 -08:00
bgmac.h bgmac: add support for Northstar SoC (BCM4707, BCM53018) 2014-01-04 20:25:20 -05:00
bnx2.c bnx2: Don't build unused suspend/resume functions not enabled 2014-04-14 12:40:00 -04:00
bnx2.h bnx2: Fix shutdown sequence 2014-03-09 19:02:27 -04:00
bnx2_fw.h
cnic.c cnic: Update version to 2.5.20 and copyright year. 2014-03-18 16:02:16 -04:00
cnic.h cnic: Update version to 2.5.20 and copyright year. 2014-03-18 16:02:16 -04:00
cnic_defs.h cnic: Update version to 2.5.20 and copyright year. 2014-03-18 16:02:16 -04:00
cnic_if.h cnic: Update version to 2.5.20 and copyright year. 2014-03-18 16:02:16 -04:00
sb1250-mac.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
tg3.c tg3: update rx_jumbo_pending ring param only when jumbo frames are enabled 2014-04-18 18:01:13 -04:00
tg3.h tg3: Don't check undefined error bits in RXBD 2014-02-28 17:16:16 -05:00