[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180323.130007.1451139191769215360.davem@davemloft.net>
Date: Fri, 23 Mar 2018 13:00:07 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: idosch@...lanox.com
Cc: netdev@...r.kernel.org, petrm@...lanox.com, jiri@...lanox.com,
mlxsw@...lanox.com
Subject: Re: [PATCH net-next] mlxsw: spectrum_span: Fix initialization of
struct mlxsw_sp_span_parms
From: Ido Schimmel <idosch@...lanox.com>
Date: Thu, 22 Mar 2018 20:14:47 +0200
> From: Petr Machata <petrm@...lanox.com>
>
> 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 reported by sparse.
>
> Signed-off-by: Petr Machata <petrm@...lanox.com>
> Acked-by: Jiri Pirko <jiri@...lanox.com>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
Applied.
Powered by blists - more mailing lists