aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorBen Dooks (Codethink) <[email protected]>2019-10-23 10:01:39 +0000
committerDavid S. Miller <[email protected]>2019-10-25 23:24:32 +0000
commit91e2e57636f163837e1aea2ce6c4995b8a2a6f10 (patch)
treee538dc4d5234b2e01bccb1acf6a1b1f6130309fd /drivers/net/xen-netback/interface.c
parentnet: mvneta: make stub functions static inline (diff)
downloadkernel-91e2e57636f163837e1aea2ce6c4995b8a2a6f10.tar.gz
kernel-91e2e57636f163837e1aea2ce6c4995b8a2a6f10.zip
net: hwbm: if CONFIG_NET_HWBM unset, make stub functions static
If CONFIG_NET_HWBM is not set, then these stub functions in <net/hwbm.h> should be declared static to avoid trying to export them from any driver that includes this. Fixes the following sparse warnings: ./include/net/hwbm.h:24:6: warning: symbol 'hwbm_buf_free' was not declared. Should it be static? ./include/net/hwbm.h:25:5: warning: symbol 'hwbm_pool_refill' was not declared. Should it be static? ./include/net/hwbm.h:26:5: warning: symbol 'hwbm_pool_add' was not declared. Should it be static? Signed-off-by: Ben Dooks (Codethink) <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions