commit | 5cd9fac3a369edd072e8e72a2b5f5abae57c97ed | [log] [tgz] |
---|---|---|
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | Sun Apr 28 15:51:12 2024 +0100 |
committer | Paolo Abeni <pabeni@redhat.com> | Tue Apr 30 15:26:28 2024 +0200 |
tree | 0d4edc3d1f3f6a62969d19b13e365bafe5e8bb7b | |
parent | 8a3163b6714be5f544846a2c200916d848556d57 [diff] |
net: sfp-bus: constify link_modes to sfp_select_interface() sfp_select_interface() does not modify its link_modes argument, so make this a const pointer. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Daniel Machon <daniel.machon@microchip.com> Link: https://lore.kernel.org/r/E1s15s0-00AHyq-8E@rmk-PC.armlinux.org.uk Signed-off-by: Paolo Abeni <pabeni@redhat.com>