]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlxfw: Use MLXFW_ERR_MSG macro for error reporting
authorSaeed Mahameed <saeedm@mellanox.com>
Fri, 21 Feb 2020 21:46:07 +0000 (21:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Feb 2020 23:41:10 +0000 (15:41 -0800)
commit2ee85ebca55daed9f71a8cfd9c86e54091ae3dd5
tree42ea7f465fbc814a93f61cd4d8b6230415e0ea81
parent85774e651f3bf3118071c623f227deacad362dfc
net/mlxfw: Use MLXFW_ERR_MSG macro for error reporting

Instead of always calling both mlxfw_err and NL_SET_ERR_MSG_MOD with the
same message, use the dedicated macro instead.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c