OSDN Git Service

net/mlx5: Use ERR_CAST() instead of coding it
authorRoi Dayan <roid@mellanox.com>
Tue, 17 Jul 2018 01:35:35 +0000 (18:35 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 18 Jul 2018 21:33:25 +0000 (14:33 -0700)
commitd34c6efc59a0d714920100b2eba9565bfdcc438d
tree13f326255f6e2f326a057a89d2d02b21bbe35cc4
parent0f4039104ee61e14ac4771a2181c2a20572f4ec9
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: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c