diff options
author | 2023-10-24 14:42:59 +0300 | |
---|---|---|
committer | 2023-11-15 11:34:30 -0800 | |
commit | 88e928b22930343eaad8eefdcba096cdba247ef2 (patch) | |
tree | 865d45b2b48597e0a669d30ef609f2f9995ce212 /net | |
parent | net/mlx5: simplify mlx5_set_driver_version string assignments (diff) | |
download | wireguard-linux-88e928b22930343eaad8eefdcba096cdba247ef2.tar.xz wireguard-linux-88e928b22930343eaad8eefdcba096cdba247ef2.zip |
net/mlx5e: Access array with enum values instead of magic numbers
Access the headers array using pedit_cmd enum values, and don't assume
anything about their values.
Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Vlad Buslov <vladbu@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions