[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191025.162203.1070448136525719648.davem@davemloft.net>
Date: Fri, 25 Oct 2019 16:22:03 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ben.dooks@...ethink.co.uk
Cc: linux-kernel@...ts.codethink.co.uk, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [V2] net: mvneta: make stub functions static inline
From: "Ben Dooks (Codethink)" <ben.dooks@...ethink.co.uk>
Date: Wed, 23 Oct 2019 11:01:08 +0100
> If the CONFIG_MVNET_BA is not set, then make the stub functions
> static inline to avoid trying to export them, and remove hte
> following sparse warnings:
>
> drivers/net/ethernet/marvell/mvneta_bm.h:163:6: warning: symbol 'mvneta_bm_pool_destroy' was not declared. Should it be static?
> drivers/net/ethernet/marvell/mvneta_bm.h:165:6: warning: symbol 'mvneta_bm_bufs_free' was not declared. Should it be static?
> drivers/net/ethernet/marvell/mvneta_bm.h:167:5: warning: symbol 'mvneta_bm_construct' was not declared. Should it be static?
> drivers/net/ethernet/marvell/mvneta_bm.h:168:5: warning: symbol 'mvneta_bm_pool_refill' was not declared. Should it be static?
> drivers/net/ethernet/marvell/mvneta_bm.h:170:23: warning: symbol 'mvneta_bm_pool_use' was not declared. Should it be static?
> drivers/net/ethernet/marvell/mvneta_bm.h:181:18: warning: symbol 'mvneta_bm_get' was not declared. Should it be static?
> drivers/net/ethernet/marvell/mvneta_bm.h:182:6: warning: symbol 'mvneta_bm_put' was not declared. Should it be static?
>
> Signed-off-by: Ben Dooks (Codethink) <ben.dooks@...ethink.co.uk>
Applied, thank you.
Powered by blists - more mailing lists