On Fri, Apr 17, 2009 at 01:15:36PM -0700, Yinghai Lu wrote: > can you fix pci_is_root_bus? > > +/* > + * Returns true if the pci bus is root (behind host-pci bridge), > + * false otherwise > + */ > +static inline bool pci_is_root_bus(struct pci_bus *pbus) > +{ > + return !(pbus->parent); > +} struct pci_bus { struct list_head node; /* node in list of buses */ struct pci_bus *parent; /* parent bus this bridge is on */ different 'parent' ... -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html