Tue, Mar 28, 2017 at 12:48:34AM CEST, da...@davemloft.net wrote:
>
>Please fix up these warnings and resubmit:
>
>drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c: In function 
>‘mlxsw_sp_rif_counter_free’:
>drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c:208:2: warning: 
>‘p_counter_index’ may be used uninitialized in this function 
>[-Wmaybe-uninitialized]
>  mlxsw_sp_rif_counter_edit(mlxsw_sp, rif->rif_index,
>  ^

This is I believe also gcc bug. Code looks fine. I'm not getting the warning
with gcc 6

Reply via email to