diff options
author | Saeed Mahameed <saeedm@nvidia.com> | 2021-11-03 14:01:05 -0700 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-11-16 20:31:47 -0800 |
commit | aef0f8c67d752ed68cc18582711ac6accf0ad9b6 (patch) | |
tree | cfb8e672f255852e3f37b7a50e22c1b5b98d8647 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bc541621f8ba18cc8aeed4c48b63aec181d6c20f (diff) |
net/mlx5: Fix format-security build warnings
Treat the string as an argument to avoid this.
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c:482:5:
error: format string is not a string literal (potentially insecure)
name);
^~~~
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c:2079:4:
error: format string is not a string literal (potentially insecure)
ptp_ch_stats_desc[i].format);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions