commit | a4f63634760acfcc349a5582c77ca4a004c813f6 | [log] [tgz] |
---|---|---|
author | Betty Dall <betty.dall@hp.com> | Thu Dec 19 10:59:09 2013 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 19 19:14:42 2013 -0500 |
tree | 9cb194f78fb8f784cc3ad6c664da62436b525c65 | |
parent | 24f5b855e17df7e355eacd6c4a12cc4d6a6c9ff0 [diff] |
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: Betty Dall <betty.dall@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>