diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-11-29 17:12:10 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-12-01 15:40:21 +0300 |
commit | 91c71bf14da49edaee5831ed3abd5837402e7a81 (patch) | |
tree | 48368aa036298569b0962841652db188f8b9dab2 /tools/perf/scripts/python/stackcollapse.py | |
parent | 682f560b8a87bfdf174e836640e6ec66a2b3cd9c (diff) | |
download | linux-91c71bf14da49edaee5831ed3abd5837402e7a81.tar.xz |
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 <vladimir.oltean@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions