[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPrAcgMW=BLZkxhLq0ubRVvHQ7pNKGCCuGLSyoK_xh7XUUXv+Q@mail.gmail.com>
Date: Thu, 9 Oct 2025 22:27:23 +0530
From: I Viswanath <viswanathiyyappan@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Thangaraj.S@...rochip.com, Rengarajan.S@...rochip.com,
UNGLinuxDriver@...rochip.com, andrew+netdev@...n.ch, davem@...emloft.net,
edumazet@...gle.com, pabeni@...hat.com, netdev@...r.kernel.org,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
skhan@...uxfoundation.org, linux-kernel-mentees@...ts.linux.dev,
david.hunter.linux@...il.com
Subject: Re: [PATCH net] net: usb: lan78xx: fix use of improperly initialized
dev->chipid in lan78xx_reset
On Mon, 6 Oct 2025 at 23:42, Jakub Kicinski <kuba@...nel.org> wrote:
> We need a Fixes tag
a0db7d10b76e ("lan78xx: Add to handle mux control per chip id") seems
to be most suitable commit: It added dev->devid comparisons to
lan78xx_read_raw_eeprom but did not move the dev->devid read before
the call (devid is the precursor to chipid and chiprev)
I feel like the patch title sounds a bit awkward so should I change it to
"Initialize dev->chipid before use in lan78xx_read_raw_eeprom"
since that sounds more standard
in v2
Thanks
I Viswanath
Powered by blists - more mailing lists