]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5_core: Check the return value of mlx5_command_exec()
authorHaggai Abramonvsky <hagaya@mellanox.com>
Wed, 29 Jul 2015 12:05:39 +0000 (15:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 06:04:46 +0000 (23:04 -0700)
commitd8875ba0f89ad276c11cae340819613c61688929
tree6e38ede4f6d5f597d3a178e9cba1d0f5ca019e7e
parent0e96657cd0556096c6d5033e16c1d7cf578a91ee
net/mlx5_core: Check the return value of mlx5_command_exec()

mlx5_cmd_exec() might fail - need to check return value.

Signed-off-by: Haggai Abramovsky <hagaya@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h