summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-10-23 14:41:46 +0100
committerJakub Kicinski <kuba@kernel.org>2024-10-29 11:57:31 -0700
commit280ed44982ff478a949a810f9ddfb4adb8207b57 (patch)
tree9e009b00e9ba5e8ea833ce419d6a5bc1f789908b /net/lapb/lapb_iface.c
parente0e918494c3cfdc589c9ede49183046a42cdff39 (diff)
net: phylink: add common validation for sfp_select_interface()
Whenever we call sfp_select_interface(), we check the returned value and print an error. There are two cases where this happens with the same message. Provide a common function to do this. Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1t3bcQ-000c85-S4@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions