[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140513.130904.491541552382684334.davem@davemloft.net>
Date: Tue, 13 May 2014 13:09:04 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: rdunlap@...radead.org
Cc: netdev@...r.kernel.org, ariele@...adcom.com
Subject: Re: [PATCH] bnx2x: fix build when BNX2X_SRIOV is not enabled
From: Randy Dunlap <rdunlap@...radead.org>
Date: Sat, 10 May 2014 11:33:54 -0700
> From: Randy Dunlap <rdunlap@...radead.org>
>
> 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@...radead.org>
Applied, thanks Randy.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists