From: Betty Dall Date: Thu, 19 Dec 2013 17:59:09 +0000 (-0700) Subject: atl1c: Check return from pci_find_ext_capability() in atl1c_reset_pcie() X-Git-Tag: v3.13-rc7~13^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4f63634760acfcc349a5582c77ca4a004c813f6;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed