aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2023-03-11 19:34:45 +0100
committerJakub Kicinski <kuba@kernel.org>2023-03-15 00:19:16 -0700
commitc22c3bbf351e4ce905f082649cffa1ff893ea8c1 (patch)
tree2dabd4bc1d01f66144f2f172dd14272f858050da /net/lapb/lapb_timer.c
parentnet: tunnels: annotate lockless accesses to dev->needed_headroom (diff)
downloadlinux-rng-c22c3bbf351e4ce905f082649cffa1ff893ea8c1.tar.xz
linux-rng-c22c3bbf351e4ce905f082649cffa1ff893ea8c1.zip
net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails
If genphy_read_status fails then further access to the PHY may result in unpredictable behavior. To prevent this bail out immediately if genphy_read_status fails. Fixes: 4223dbffed9f ("net: phy: smsc: Re-enable EDPD mode for LAN87xx") Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Link: https://lore.kernel.org/r/026aa4f2-36f5-1c10-ab9f-cdb17dda6ac4@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions