[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231023171143.47c83b0e@kernel.org>
Date: Mon, 23 Oct 2023 17:11:43 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Ciprian Regus <ciprian.regus@...log.com>
Cc: <linux-kernel@...r.kernel.org>,
Dell Jin <dell.jin.code@...look.com>,
"David S. Miller" <davem@...emloft.net>,
"Eric Dumazet" <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>,
Alexandru Tachici <alexandru.tachici@...log.com>,
"Andrew Lunn" <andrew@...n.ch>, Simon Horman <horms@...nel.org>,
Yang Yingliang <yangyingliang@...wei.com>,
Amit Kumar Mahapatra <amit.kumar-mahapatra@....com>,
<netdev@...r.kernel.org>
Subject: Re: [net] net: ethernet: adi: adin1110: Fix uninitialized variable
On Fri, 20 Oct 2023 09:20:53 +0300 Ciprian Regus wrote:
> The spi_transfer struct has to have all it's fields initialized to 0 in
> this case, since not all of them are set before starting the transfer.
> Otherwise, spi_sync_transfer() will sometimes return an error.
>
> Fixes: a526a3cc9c8d ("net: ethernet: adi: adin1110: Fix SPI transfers")
Applied, thank you!
Powered by blists - more mailing lists