summaryrefslogtreecommitdiff
path: root/drivers/net/failsafe/failsafe_rxtx.c
diff options
context:
space:
mode:
authorAli Alnubani <alialnu@mellanox.com>2019-03-21 09:07:26 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-03-29 17:25:32 +0100
commite3bcaf3a0f375998a2f2f487e06ff71705a858c0 (patch)
tree7c9e93ebdd22030a83236c0e5eb758dfb8582db2 /drivers/net/failsafe/failsafe_rxtx.c
parent4339de851e55364d0f1f995babaa0006968870c0 (diff)
downloaddpdk-next-eventdev-e3bcaf3a0f375998a2f2f487e06ff71705a858c0.zip
dpdk-next-eventdev-e3bcaf3a0f375998a2f2f487e06ff71705a858c0.tar.gz
dpdk-next-eventdev-e3bcaf3a0f375998a2f2f487e06ff71705a858c0.tar.xz
net/mlx5: add missing return value check
This patch fixes the build failure with message: drivers/net/mlx5/mlx5_ethdev.c: In function ‘mlx5_sysfs_switch_info’: drivers/net/mlx5/mlx5_ethdev.c:1381:3: error: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Werror=unused-result] fscanf(file, "%s", port_name); ^ Which reproduces on Ubuntu 16.04 LTS with gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609. Fixes: b2f3a3810125 ("net/mlx5: support new representor naming format") Signed-off-by: Ali Alnubani <alialnu@mellanox.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com> Acked-by: Dekel Peled <dekelp@mellanox.com>
Diffstat (limited to 'drivers/net/failsafe/failsafe_rxtx.c')
0 files changed, 0 insertions, 0 deletions