Re: [PATCH] PCI: check pci_vpd_pci22_wait() return

From: Jesse Barnes
Date: Wed Apr 20 2011 - 11:14:13 EST


On Sun, 17 Apr 2011 08:22:21 -0700
Greg Thelen <gthelen@xxxxxxxxxx> wrote:

> pci_vpd_pci22_write() calls pci_vpd_pci22_wait() after writing
> PCI_VPD_DATA and PCI_VPD_ADDR to wait for the VPD operation to complete.
> The result pci_vpd_pci22_wait() was not checked for error.
>
> This change checks for error.

Applied the two return value fixes to linux-next, thanks.

--
Jesse Barnes, Intel Open Source Technology Center
--
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/