mlxsw: spectrum: Change ENOTSUPP to EOPNOTSUPP
authorYotam Gigi <yotamg@mellanox.com>
Mon, 9 Jan 2017 10:25:48 +0000 (11:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2017 19:35:14 +0000 (14:35 -0500)
commite915ac68d9c543f8f51446853106c69056acd872
tree67fa1d237911efcb4d9174750d5a6b5012197317
parent136f1445780063273614077f38c0ceddeedd2494
mlxsw: spectrum: Change ENOTSUPP to EOPNOTSUPP

As ENOTSUPP is specific to NFS, change the return error value to
EOPNOTSUPP in various places in the mlxsw driver.

Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c