aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorSylwester Dziedziuch <[email protected]>2020-09-02 12:54:59 +0000
committerTony Nguyen <[email protected]>2020-09-25 07:39:24 -0700
commit75598a8fc0e0dff2aa5d46c62531b36a595f1d4f (patch)
tree0bfe8e7825c1813eb0504c1eef6336615d3933ed /drivers/net/ethernet/intel/ice/ice_main.c
parentad2b9b0f8d0107602bdc1f3b1ab90719842ace11 (diff)
iavf: Fix incorrect adapter get in iavf_resume
When calling iavf_resume there was a crash because wrong function was used to get iavf_adapter and net_device pointers. Changed how iavf_resume is getting iavf_adapter and net_device pointers from pci_dev. Fixes: 5eae00c57f5e ("i40evf: main driver core") Signed-off-by: Sylwester Dziedziuch <[email protected]> Reviewed-by: Aleksandr Loktionov <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions