On Tuesday 17 January 2006 19:56, Kristen Accardi wrote:

> +
> +     down(&slot->crit_sect);
> +     list_for_each(l, &slot->funcs) {
> +             func = list_entry(l, struct acpiphp_func, sibling);

list_for_each_entry() maybe?

> +static struct acpiphp_func * get_func(struct acpiphp_slot *slot,
> +                                     struct pci_dev *dev)
> +{
> +     struct list_head *l;
> +     struct acpiphp_func *func;
> +     struct pci_bus *bus = slot->bridge->pci_bus;
> +
> +     list_for_each (l, &slot->funcs) {
> +             func = list_entry(l, struct acpiphp_func, sibling);

And here?

-- 
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to