Skip to content
Commit a4f63634 authored by Betty Dall's avatar Betty Dall Committed by David S. Miller
Browse files

atl1c: Check return from pci_find_ext_capability() in atl1c_reset_pcie()



The function atl1c_reset_pcie() does not check the return from
pci_find_ext_cabability() where it is getting the postion of the
PCI_EXT_CAP_ID_ERR. It is possible for the return to be 0.

Signed-off-by: default avatarBetty Dall <betty.dall@hp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 24f5b855
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment