summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorGal Pressman <gal@nvidia.com>2023-10-24 14:42:59 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2023-11-15 11:34:30 -0800
commit88e928b22930343eaad8eefdcba096cdba247ef2 (patch)
tree865d45b2b48597e0a669d30ef609f2f9995ce212 /scripts/gdb/linux/tasks.py
parent10b49d0e76513a6f6890f321a10a2df0b779c761 (diff)
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 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions