Re: [PATCH] Check return from pci_find_ext_capability() inatl1c_reset_pcie()
From: David Miller
Date: Thu Dec 19 2013 - 19:15:17 EST
From: Betty Dall <betty.dall@xxxxxx>
Date: Thu, 19 Dec 2013 10:59:09 -0700
> 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@xxxxxx>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/