net/mlx4: Replace ENOSYS with better fitting error codes
authorTariq Toukan <tariqt@mellanox.com>
Sun, 29 Jan 2017 16:56:13 +0000 (18:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jan 2017 20:26:41 +0000 (15:26 -0500)
commit72b8eaab245e66e5789378eb8812f72c8354dda6
treea705dae9879b50a1fc44cdf2ad1e4a1ed16e0edc
parent30357d7d8aaf2a980ab17c2ce054b2b87e60af88
net/mlx4: Replace ENOSYS with better fitting error codes

Conform the following warning:
WARNING: ENOSYS means 'invalid syscall nr' and nothing else.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
drivers/net/ethernet/mellanox/mlx4/fw.c
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c