Re: [PATCH 2.6.9-rc2-mm2] Create new function to see if pci dev is present
From: Greg KH
Date: Thu Sep 23 2004 - 18:24:50 EST
On Thu, Sep 23, 2004 at 03:26:40PM -0700, Hanna Linder wrote:
> + * @from: Previous PCI device found in search, or %NULL for new search.
from is not needed in a function like this. Just vendor and device
should work.
> +static inline int pci_dev_present(unsigned int vendor, unsigned int device, struct pci_dev *from)
> +{return -1; }
> +
This should return 0, not -1.
Care to redo your patches based on this?
thanks,
greg k-h
-
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/