diff options
| author | Heiner Kallweit <hkallweit1@gmail.com> | 2025-11-19 08:05:45 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-20 18:16:59 -0800 |
| commit | bd048f8ce6ce8d5e16415fd6f7506e916cb3d418 (patch) | |
| tree | bbd04e6b00d160ca9a278d54fac2581982eeea4c /tools/testing/selftests/drivers/net/lib/py/load.py | |
| parent | 58673d10d5a9fe3f2a6babbfbf9d780e62e6b18b (diff) | |
net: phy: fixed_phy: fix missing initialization of fixed phy link
Original change remove the link initialization from the passed struct
fixed_phy_status, but @status is also passed to __fixed_phy_add(),
where it is saved. Make sure that copy also has link set to 1.
Fixes: 9f07af1d2742 ("net: phy: fixed_phy: initialize the link status as up")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/dab6c10e-725e-4648-9662-39cc821723d0@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/drivers/net/lib/py/load.py')
0 files changed, 0 insertions, 0 deletions
