summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-10-16 19:28:10 +0200
committerJakub Kicinski <kuba@kernel.org>2023-10-18 02:53:36 +0200
commitc53647a5df9e66dd9fedf240198e1fe50d88c286 (patch)
treed591213c850f869b757ffaf1047d4365883b4ece /net
parenttun: prevent negative ifindex (diff)
downloadlinux-c53647a5df9e66dd9fedf240198e1fe50d88c286.tar.xz
linux-c53647a5df9e66dd9fedf240198e1fe50d88c286.zip
net: usb: smsc95xx: Fix an error code in smsc95xx_reset()
Return a negative error code instead of success. Fixes: 2f7ca802bdae ("net: Add SMSC LAN9500 USB2.0 10/100 ethernet adapter driver") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/147927f0-9ada-45cc-81ff-75a19dd30b76@moroto.mountain Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions