aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorI Viswanath <viswanathiyyappan@gmail.com>2025-10-13 23:46:48 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-23 16:24:32 +0200
commitc091738863e39dd1df35c80736b41411b6dc83b1 (patch)
treef9d22fe36f4fd863d18be8b03d6cf7dce1355ab4 /tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com
parentnetdevsim: set the carrier when the device goes up (diff)
net: usb: lan78xx: fix use of improperly initialized dev->chipid in lan78xx_reset
[ Upstream commit 8d93ff40d49d70e05c82a74beae31f883fe0eaf8 ] dev->chipid is used in lan78xx_init_mac_address before it's initialized: lan78xx_reset() { lan78xx_init_mac_address() lan78xx_read_eeprom() lan78xx_read_raw_eeprom() <- dev->chipid is used here dev->chipid = ... <- dev->chipid is initialized correctly here } Reorder initialization so that dev->chipid is set before calling lan78xx_init_mac_address(). Fixes: a0db7d10b76e ("lan78xx: Add to handle mux control per chip id") Signed-off-by: I Viswanath <viswanathiyyappan@gmail.com> Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev> Reviewed-by: Khalid Aziz <khalid@kernel.org> Link: https://patch.msgid.link/20251013181648.35153-1-viswanathiyyappan@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions