[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YV10w28vbsenFRFU@shredder>
Date: Wed, 6 Oct 2021 13:04:51 +0300
From: Ido Schimmel <idosch@...sch.org>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Jiri Pirko <jiri@...dia.com>, Ido Schimmel <idosch@...dia.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] mlxsw: spectrum_buffers: silence uninitialized
warning
On Wed, Oct 06, 2021 at 10:33:47AM +0300, Dan Carpenter wrote:
> Static checkers and runtime checkers such as KMSan will complain that
> we do not initialize the last 6 bytes of "cb_priv". The caller only
> uses the first two bytes so it doesn't cause a runtime issue. Still
> worth fixing though.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Reviewed-by: Ido Schimmel <idosch@...dia.com>
Powered by blists - more mailing lists