aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2014-02-22 01:23:58 +0000
committerJeff Kirsher <[email protected]>2014-03-20 00:37:29 -0700
commit0d7c6e008e3f5b38e9126e7baeb35ce84581911a (patch)
tree1ba2e58795fe5880f632097e1396f264c0438ebc /lib/cpu-notifier-error-inject.c
parentcbcc637059f0c4ba539e8e8a3be378c6329ac8e2 (diff)
ixgbe: use ixgbe_read_pci_cfg_word
This patch replaces some direct uses of pci_read_config_word with the protected ixgbe_read_pci_cfg_word function, which checks for whether the adapter is removed when LER is enabled. We shouldn't use the pci_read_config_word calls directly because of these checks. This patch also cleans up an unnecessary save of a pointer to the mac object, as our standard style is to just use the hw pointer. CC: Arun Sharma <[email protected]> Signed-off-by: Jacob Keller <[email protected]> Tested-by: Phil Schmitt <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions