linux_dsm_epyc7002/drivers/net/ethernet/aquantia/atlantic
Gustavo A. R. Silva 76d7774e20 net: aquantia: fix error handling in aq_ptp_poll
Fix currenty ignored returned error by properly checking *err* after
calling aq_nic->aq_hw_ops->hw_ring_hwts_rx_fill().

Addresses-Coverity-ID: 1487357 ("Unused value")
Fixes: 04a1839950 ("net: aquantia: implement data PTP datapath")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-10-29 16:42:17 -07:00
..
hw_atl net: aquantia: make two symbols be static 2019-10-29 16:15:45 -07:00
aq_cfg.h net: aquantia: implement data PTP datapath 2019-10-24 09:51:22 -07:00
aq_common.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
aq_drvinfo.c net: aquantia: make all files GPL-2.0-only 2019-06-27 10:58:32 -07:00
aq_drvinfo.h net: aquantia: make all files GPL-2.0-only 2019-06-27 10:58:32 -07:00
aq_ethtool.c net: aquantia: implement get_ts_info ethtool 2019-10-24 09:51:23 -07:00
aq_ethtool.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
aq_filters.c net: aquantia: rx filters for ptp 2019-10-24 09:51:23 -07:00
aq_filters.h net: aquantia: make all files GPL-2.0-only 2019-06-27 10:58:32 -07:00
aq_hw_utils.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
aq_hw_utils.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
aq_hw.h net: aquantia: add support for PIN funcs 2019-10-24 09:51:23 -07:00
aq_main.c net: aquantia: add support for ptp ioctls 2019-10-24 09:51:23 -07:00
aq_main.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
aq_nic.c net: aquantia: add support for PIN funcs 2019-10-24 09:51:23 -07:00
aq_nic.h net: aquantia: rx filters for ptp 2019-10-24 09:51:23 -07:00
aq_pci_func.c net: aquantia: implement data PTP datapath 2019-10-24 09:51:22 -07:00
aq_pci_func.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
aq_phy.c net: aquantia: add support for Phy access 2019-10-24 09:51:23 -07:00
aq_phy.h net: aquantia: add support for Phy access 2019-10-24 09:51:23 -07:00
aq_ptp.c net: aquantia: fix error handling in aq_ptp_poll 2019-10-29 16:42:17 -07:00
aq_ptp.h net: aquantia: remove unused including <linux/version.h> 2019-10-29 16:18:10 -07:00
aq_ring.c net: aquantia: implement data PTP datapath 2019-10-24 09:51:22 -07:00
aq_ring.h net: aquantia: implement data PTP datapath 2019-10-24 09:51:22 -07:00
aq_rss.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
aq_utils.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
aq_vec.c net: aquantia: Fix aq_vec_isr_legacy() return value 2019-09-27 09:59:16 +02:00
aq_vec.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
Makefile net: aquantia: disable ptp object build if no config 2019-10-26 11:28:40 -07:00
ver.h net: aquantia: replace internal driver version code with uts 2019-06-27 10:58:32 -07:00