Re: [PATCH net-next] mlxsw: spectrum_span: Fix initialization of struct mlxsw_sp_span_parms
From: Ido SchimmelDate: Thu, 22 Mar 2018 20:14:47 +0200 > From: Petr Machata > > Since the first element of struct mlxsw_sp_span_parms is a pointer, > to zero-initialize this structure the correct notation is not = {0}, but > rather = {NULL}, as
[PATCH net-next] mlxsw: spectrum_span: Fix initialization of struct mlxsw_sp_span_parms
From: Petr MachataSince the first element of struct mlxsw_sp_span_parms is a pointer, to zero-initialize this structure the correct notation is not = {0}, but rather = {NULL}, as reported by sparse. Signed-off-by: Petr Machata Acked-by: Jiri Pirko