diff options
author | Vladimir Oltean <[email protected]> | 2022-11-29 16:12:10 +0200 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2022-12-01 13:40:21 +0100 |
commit | 91c71bf14da49edaee5831ed3abd5837402e7a81 (patch) | |
tree | 48368aa036298569b0962841652db188f8b9dab2 /lib/mpi/mpi-add.c | |
parent | 682f560b8a87bfdf174e836640e6ec66a2b3cd9c (diff) |
net: dpaa2-eth: don't use -ENOTSUPP error code
dpaa2_eth_setup_dpni() is called from the probe path and
dpaa2_eth_set_link_ksettings() is propagated to user space.
include/linux/errno.h says that ENOTSUPP is "Defined for the NFSv3
protocol". Conventional wisdom has it to not use it in networking
drivers. Replace it with -EOPNOTSUPP.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Ioana Ciornei <[email protected]>
Tested-by: Ioana Ciornei <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions