Re: [PATCH] mlxsw: spectrum: mark symbols static where possible

2016-09-18 Thread Ido Schimmel
Hi, On Sun, Sep 18, 2016 at 04:39:47PM +0800, Baoyou Xie wrote: > We get 3 warnings when building kernel with W=1: > drivers/net/ethernet/mellanox/mlxsw/spectrum.c:251:29: warning: no previous > prototype for 'mlxsw_sp_span_entry_find' [-Wmissing-prototypes] >

[PATCH] mlxsw: spectrum: mark symbols static where possible

2016-09-18 Thread Baoyou Xie
We get 3 warnings when building kernel with W=1: drivers/net/ethernet/mellanox/mlxsw/spectrum.c:251:29: warning: no previous prototype for 'mlxsw_sp_span_entry_find' [-Wmissing-prototypes] drivers/net/ethernet/mellanox/mlxsw/spectrum.c:265:29: warning: no previous prototype for