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)
commit5042e8b97d41767c813a823ae389702004ffdb38
tree42ea7f465fbc814a93f61cd4d8b6230415e0ea81
parent6a3f707c0051a5a3edb149f361d7af059fa633e9
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