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 /drivers/net/ethernet/mellanox/mlx5/core/health.c | |
parent | bc541621f8ba18cc8aeed4c48b63aec181d6c20f (diff) | |
download | linux-stable-aef0f8c67d752ed68cc18582711ac6accf0ad9b6.tar.gz linux-stable-aef0f8c67d752ed68cc18582711ac6accf0ad9b6.tar.bz2 linux-stable-aef0f8c67d752ed68cc18582711ac6accf0ad9b6.zip |
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 'drivers/net/ethernet/mellanox/mlx5/core/health.c')
0 files changed, 0 insertions, 0 deletions