[PATCH net-next] mlxsw: spectrum: qdiscs: Make function mlxsw_sp_qdisc_prio_unoffload static

2018-01-15 Thread Wei Yongjun
Fixes the following sparse warning: drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c:464:1: warning: symbol 'mlxsw_sp_qdisc_prio_unoffload' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c | 2 +- 1 file changed, 1 i

Re: [PATCH net-next] mlxsw: spectrum: qdiscs: Make function mlxsw_sp_qdisc_prio_unoffload static

2018-01-15 Thread Jiri Pirko
Mon, Jan 15, 2018 at 11:43:03AM CET, weiyongj...@huawei.com wrote: >Fixes the following sparse warning: > >drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c:464:1: warning: > symbol 'mlxsw_sp_qdisc_prio_unoffload' was not declared. Should it be static? > >Signed-off-by: Wei Yongjun Acked-by: Ji

Re: [PATCH net-next] mlxsw: spectrum: qdiscs: Make function mlxsw_sp_qdisc_prio_unoffload static

2018-01-16 Thread David Miller
From: Wei Yongjun Date: Mon, 15 Jan 2018 10:43:03 + > Fixes the following sparse warning: > > drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c:464:1: warning: > symbol 'mlxsw_sp_qdisc_prio_unoffload' was not declared. Should it be static? > > Signed-off-by: Wei Yongjun Applied.