OpenCloudOS-Kernel/drivers/net/ethernet/intel/fm10k
Jesse Brandeburg 0a5d8a9d22 fm10k: move error check
The error check and set_bit are placed in such a way that sparse (C=2)
warns:
.../fm10k_pci.c:1395:9: warning: context imbalance in 'fm10k_msix_mbx_pf' - different lock contexts for basic block

Which seems a little odd, but the code can obviously be moved
to where the variable is being set without changing functionality
at all, and it even seems to make a bit more sense with the check
closer to the set.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2021-05-26 09:11:41 -07:00
..
Makefile net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k.h fm10k: convert to new udp_tunnel_nic infra 2020-07-14 17:04:27 -07:00
fm10k_common.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_common.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_dcbnl.c intel: clean up mismatched header comments 2021-03-23 11:34:02 -07:00
fm10k_debugfs.c intel: clean up mismatched header comments 2021-03-23 11:34:02 -07:00
fm10k_ethtool.c net: don't include ethtool.h from netdevice.h 2020-11-23 17:27:04 -08:00
fm10k_iov.c fm10k: add support for ndo_get_vf_stats operation 2019-11-04 13:12:14 -08:00
fm10k_main.c intel: clean up mismatched header comments 2021-03-23 11:34:02 -07:00
fm10k_mbx.c fm10k: Fix fall-through warnings for Clang 2021-03-23 11:34:02 -07:00
fm10k_mbx.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_netdev.c net: remove ndo_udp_tunnel_* callbacks 2021-01-07 12:53:29 -08:00
fm10k_pci.c fm10k: move error check 2021-05-26 09:11:41 -07:00
fm10k_pf.c intel: clean up mismatched header comments 2021-03-23 11:34:02 -07:00
fm10k_pf.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
fm10k_tlv.c fm10k: mark unused parameters with __always_unused 2019-08-04 04:36:49 -07:00
fm10k_tlv.h fm10k: add missing field initializers to TLV attributes) 2019-11-04 13:12:14 -08:00
fm10k_type.h fm10k: add support for ndo_get_vf_stats operation 2019-11-04 13:12:14 -08:00
fm10k_vf.c fm10k: mark unused parameters with __always_unused 2019-08-04 04:36:49 -07:00
fm10k_vf.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00