BNX2 warning
Subsystems (2)
David Miller
maintainer[ misspelled netdev list first time, retrying... ]
Michael, please fix this, thanks :-)
drivers/net/bnx2.c: In function 'bnx2_init_napi':drivers/net/bnx2.c:7329: warning: no return statement in function returning non-void
Quoted 5 lines · David Miller
Michael, please fix this, thanks :-)
drivers/net/bnx2.c: In function 'bnx2_init_napi':drivers/net/bnx2.c:7329: warning: no return statement in function returning non-void
[BNX2]: Fix compiler warning.
Change bnx2_init_napi() to void.
Warning was noted by DaveM.
Signed-off-by Michael Chan <[email protected]>
drivers/net/bnx2.c +1 -1
@@ -7313,7 +7313,7 @@ bnx2_bus_string(struct bnx2 *bp, char *str)return str; } -static int __devinit +static void __devinit bnx2_init_napi (struct bnx2 *bp) {int i;
From: "Michael Chan" <[email protected]>
Date: Fri, 21 Dec 2007 10:34:15 -0800
Quoted 7 lines
[BNX2]: Fix compiler warning.
Change
bnx2_init_napi()to void.Warning was noted by DaveM.
Signed-off-by Michael Chan <[email protected]>
Applied, thanks!