diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2014-05-10 11:33:54 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-13 13:08:29 -0400 |
commit | 62555582916c7b18558c91faaf271a3edbaeff83 (patch) | |
tree | 9a2cd9810f6cabf86d61f41cbd5add732b9b2faa /fs/nls | |
parent | b62cb8d995c6f596e3c5ac8a7cb920d5d3771436 (diff) | |
download | linux-62555582916c7b18558c91faaf271a3edbaeff83.tar.bz2 |
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>
Diffstat (limited to 'fs/nls')
0 files changed, 0 insertions, 0 deletions