net/mlx5: Use ERR_CAST() instead of coding it
This makes it more readable that rule is being used to return an err. Signed-off-by: NRoi Dayan <roid@mellanox.com> Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
Showing
想要评论请 注册 或 登录