numam-dpdk/drivers/net
Hongbo Zheng 80cd38e1b5 net/hns3: ignore function return on reset error path
There is a coverity defect related "Unchecked return value".

The internal static hns3_reset_err_handle function is reset error
process of hns3 PMD driver. If failure in reset process, it does not
mean that the network port is completely unavailable, so the command
interface between driver and firmware still needs to be initialized.
Regardless of whether the execution of the function named hns3_cmd_init
is successful or not, the next process after execution must be
continued, so there is no need to check the return value. If
hns3_cmd_init fails to execute, there will be corresponding log
information inside hns3_cmd_init.

This patch adds '(void)' Type conversion to avoid coverity warning.

Coverity issue: 349934
Fixes: 2790c64647 ("net/hns3: support device reset")
Cc: stable@dpdk.org

Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
2020-06-16 19:21:07 +02:00
..
af_packet net/af_packet: remove queue number limitation 2020-03-18 10:21:41 +01:00
af_xdp net/af_xdp: fix maximum MTU 2020-02-14 12:42:12 +01:00
ark replace packed attributes 2020-04-16 18:16:46 +02:00
atlantic replace packed attributes 2020-04-16 18:16:46 +02:00
avp net/avp: fix gcc 10 maybe-uninitialized warning 2020-05-06 11:18:36 +02:00
axgbe net/axgbe: use common bit operations API 2020-06-16 14:34:42 +02:00
bnx2x net/bnx2x: use common bit operations API 2020-06-16 14:34:42 +02:00
bnxt net/bnxt: fix missed unlock 2020-05-28 17:57:07 +02:00
bonding replace unused attributes 2020-04-16 18:30:58 +02:00
cxgbe fix various typos found by Lintian 2020-04-25 19:53:47 +02:00
dpaa bus/dpaa: add accessor for netcfg 2020-05-19 15:49:53 +02:00
dpaa2 bus/fslmc: add accessor for MCP 2020-05-19 15:49:53 +02:00
e1000 net/e1000: fix port hotplug for multi-process 2020-05-18 20:35:07 +02:00
ena net/ena: fix build for O1 optimization 2020-05-11 19:21:31 +02:00
enetc replace hot attributes 2020-04-16 18:30:58 +02:00
enic net/enic: allow multiple mark and flag actions 2020-04-21 13:57:08 +02:00
failsafe net/failsafe: fix RSS RETA size info 2020-06-02 20:08:56 +02:00
fm10k replace cold attributes 2020-04-16 18:30:58 +02:00
hinic net/hinic: use common bit operations API 2020-06-16 14:34:42 +02:00
hns3 net/hns3: ignore function return on reset error path 2020-06-16 19:21:07 +02:00
i40e net/i40e: enable NEON Rx/Tx in meson 2020-06-05 13:10:19 +02:00
iavf net/iavf: fix flow uninit 2020-05-28 17:57:07 +02:00
ice net/ice: fix PCI DSN to lowercase 2020-06-02 12:46:44 +02:00
igc net/igc/base: update copyright 2020-05-18 20:35:57 +02:00
ionic version: reference next ABI 21 for recent additions 2020-05-05 00:25:34 +02:00
ipn3ke net/ipn3ke: use control thread to check link status 2020-04-21 13:57:04 +02:00
ixgbe net/ixgbe: check driver type in MACsec API 2020-05-22 18:02:52 +02:00
kni net/kni: fix crash caused by double stop 2019-11-26 18:22:27 +01:00
liquidio build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
memif net/memif: enable promiscuous mode 2020-04-21 13:57:08 +02:00
mlx4 net/mlx4: fix drop queue error handling 2020-05-11 22:27:39 +02:00
mlx5 net/mlx5: remove Verbs dependency in spawn struct 2020-06-16 19:21:07 +02:00
mvneta net/mvneta: do not use PMD log type 2020-04-21 13:57:05 +02:00
mvpp2 net/mvpp2: fix build with gcc 10 2020-05-21 15:41:48 +02:00
netvsc net/netvsc: do not spin forever waiting for reply 2020-05-28 17:57:07 +02:00
nfb net/nfb: check array size before access 2020-04-21 13:57:06 +02:00
nfp net/nfp: fix dangling pointer on probe failure 2020-04-21 13:57:06 +02:00
null net/null: add argument for no Rx 2020-04-21 13:57:07 +02:00
octeontx event/octeontx: support Rx/Tx checksum offload 2020-05-03 16:37:30 +02:00
octeontx2 net/octeontx2: fix buffer size assignment 2020-05-21 15:53:14 +02:00
pcap net/pcap: truncate packet if it is too large 2020-01-17 19:45:23 +01:00
pfe fix various typos found by Lintian 2020-04-25 19:53:47 +02:00
qede net/qede: use common bit operations API 2020-06-16 14:34:42 +02:00
ring net/ring: fix device pointer on allocation 2020-05-11 22:27:39 +02:00
sfc net/sfc/base: fix manual filter delete in EF10 2020-05-21 17:38:12 +02:00
softnic net/softnic: fix resource leak for pipeline 2020-05-05 15:54:26 +02:00
szedata2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
tap net/tap: fix build for glibc < 2.24 2020-05-11 22:27:39 +02:00
thunderx net/thunderx: use dynamic log type 2020-04-21 13:57:05 +02:00
vdev_netvsc build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
vhost net/vhost: fix potential memory leak on close 2020-04-21 13:57:07 +02:00
virtio net/virtio: fix unexpected event after reconnect 2020-05-18 20:35:57 +02:00
vmxnet3 net/vmxnet3: handle bad host framing 2020-05-18 20:35:57 +02:00
Makefile net/igc: add skeleton 2020-04-21 13:57:07 +02:00
meson.build net/igc: add skeleton 2020-04-21 13:57:07 +02:00