mlx5: Fix error code translation from firmware to driver
authorEli Cohen <eli@mellanox.com>
Wed, 11 Sep 2013 13:35:33 +0000 (16:35 +0300)
committerRoland Dreier <roland@purestorage.com>
Thu, 10 Oct 2013 16:23:59 +0000 (09:23 -0700)
commit9c8651314bea18a8a811296289adbf06c8b8b12b
treef4c613d313858e4bbf3a0d5be335a2296f4add55
parenta4774e9095de0c4ca90b7bcf6068369a66a91e36
mlx5: Fix error code translation from firmware to driver

Limits exceeded should be translated to ENOMEM.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c