diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-10-23 14:41:51 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-29 11:57:31 -0700 |
| commit | 41caa7e81b9732a10d523ed6ac57bd67f56494bf (patch) | |
| tree | 35a67496381c7bf1bef6aa050ff00e00cacf6791 /net/lapb/lapb_iface.c | |
| parent | 280ed44982ff478a949a810f9ddfb4adb8207b57 (diff) | |
net: phylink: validate sfp_select_interface() returned interface
Validate that the returned interface from sfp_select_interface() is
supportable by the MAC/PCS. If it isn't, print an error and return
the NA interface type. This is a preparatory step to reorganising
how a PHY on a SFP module is handled.
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/E1t3bcV-000c8B-Vz@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
