Re: [PATCH v7 5/6] pci: Export find_pci_host_bridge() function.
From: One Thousand Gnomes
Date: Mon Apr 07 2014 - 10:40:11 EST
> > If we *do* export it, I'd like it to have a more conventional name, e.g.,
> > something starting with "pci_".
>
> Understood. pci_find_host_bridge() ?
pci_get_host_bridge() and take a reference IMHO ? If your primary bus is
not PCI then your PCI "host" bridge could be hot swappable so the API at
least ought to get that right.
Alan
--
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/