diff options
author | Pavana Sharma <pavana.sharma@digi.com> | 2021-03-17 14:46:40 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-17 14:44:18 -0700 |
commit | 193c5b2698e3915a66ae79702858396d6e6fc9f5 (patch) | |
tree | 266372987c981e88c038a6a0b407c85ef854eadb /kernel/utsname_sysctl.c | |
parent | ac1bbf8a81d3d3b0a318c82b88742f4282fb91d8 (diff) |
net: dsa: mv88e6xxx: change serdes lane parameter type from u8 type to int
Returning 0 is no more an error case with MV88E6393 family
which has serdes lane numbers 0, 9 or 10.
So with this change .serdes_get_lane will return lane number
or -errno (-ENODEV or -EOPNOTSUPP).
Signed-off-by: Pavana Sharma <pavana.sharma@digi.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/utsname_sysctl.c')
0 files changed, 0 insertions, 0 deletions