net/mlx4_en: Using positive error value for unsigned
authorEyal Perry <eyalpe@mellanox.com>
Wed, 14 May 2014 09:15:16 +0000 (12:15 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 May 2014 19:40:33 +0000 (15:40 -0400)
commitc3ca5205e67cfbb0022f004a4036351f90637171
tree60aba847031e3aeefa1584867f5b5e139a74322c
parentfe1ff29dd4989f6371e8d78bc340f596f4a78e04
net/mlx4_en: Using positive error value for unsigned

Using a positive value for error: MLX4_NET_TRANS_RULE_NUM instead
of -EPROTONOSUPPORT, to remove compilation warning.

Signed-off-by: Eyal Perry <eyalpe@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c