diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-10-23 16:41:51 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-29 21:57:31 +0300 |
| commit | 41caa7e81b9732a10d523ed6ac57bd67f56494bf (patch) | |
| tree | 35a67496381c7bf1bef6aa050ff00e00cacf6791 /rust/helpers/refcount.c | |
| parent | 280ed44982ff478a949a810f9ddfb4adb8207b57 (diff) | |
| download | linux-41caa7e81b9732a10d523ed6ac57bd67f56494bf.tar.xz | |
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 'rust/helpers/refcount.c')
0 files changed, 0 insertions, 0 deletions
