Re: [PATCH] net: mvneta: make stub functions static inline

2019-10-22 Thread Jakub Kicinski
On Tue, 22 Oct 2019 16:22:05 +0100, Ben Dooks (Codethink) wrote: > 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 >

[PATCH] net: mvneta: make stub functions static inline

2019-10-22 Thread Ben Dooks (Codethink)
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?