Re: [PATCH] PCI: Add pci_find_next_capability() to deal with >1 caps of same type

From: Greg KH
Date: Mon Oct 17 2005 - 23:54:29 EST


On Mon, Oct 17, 2005 at 08:17:15PM -0700, Roland Dreier wrote:
> Matthew> I don't like having this loop duplicated. How about the
> Matthew> following?
>
> Looks good to me -- I agree with wanting only one loop, but I wasn't
> clever enough to see how to avoid the duplication.
>
> Greg, want me to send a new patch including this along with required
> the <linux/pci.h> changes again?

Yes, please do. And all new PCI core exports should be _GPL please.

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/