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

From: Roland Dreier
Date: Mon Oct 17 2005 - 22:22:02 EST


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?

Thanks,
Roland
-
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/