net/bnxt: fix PCI write check
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Tue, 16 Mar 2021 05:41:25 +0000 (11:11 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 19 Mar 2021 19:29:46 +0000 (20:29 +0100)
commitfcf953791c5c72a22741969071265b74d647c08f
treeb64e84646dfc736feb0b01833373bbb9b9b86594
parentaa764bae8d66856caad976c5e7d4b415c3158179
net/bnxt: fix PCI write check

CID 363716 (#1 of 1): Unchecked return value (CHECKED_RETURN)
check_return: Calling rte_pci_write_config without checking
return value (as is done elsewhere 46 out of 49 times).

Coverity issue: 363716
Fixes: be14720def9c ("net/bnxt: support FW reset")
Cc: stable@dpdk.org
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c