net/mlx5e: E-Switch, Use the name of static array instead of its address
authorGal Pressman <galp@mellanox.com>
Thu, 26 Oct 2017 13:11:25 +0000 (16:11 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 Dec 2017 22:43:51 +0000 (00:43 +0200)
commit18a89ab7668146a13c53685846a2f0598061e20f
tree3efc610aefa62c2dd55bb855a048168e2acd9a61
parent2c47bf80e8b70a284b6926f3379109eed7d03ac7
net/mlx5e: E-Switch, Use the name of static array instead of its address

Using the address of a static array is the same as using its name (in
this specific use-case), but it's confusing and makes the code less
readable.

Fixes: 1bd27b11c1df ("net/mlx5: Introduce E-switch QoS management")
Fixes: bd77bf1cb595 ("net/mlx5: Add SRIOV VF max rate configuration support")
Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c