Re: Badness in pci_find_subsys

From: Robin Rosenberg
Date: Mon Feb 23 2004 - 03:31:41 EST


On Monday 23 February 2004 08.30, Martin wrote:
> Reading the documentation (ie. source code) it appears the problem is
> triggered by the line
>
> WARN_ON(in_interrupt());
>
> Looks like the driver calls pci_find_subsys() from inside an interrupt on
> occasions which apparently it shouldn't. The problem seems to be on
> nvidia's side, not kernel development. I have emailed nvidia about it some
> time ago, so far no reaction...

Tracing the stack, I see:

pci_find_subsys is deprecated which is called from
pci_find_device which is deprecated which is called from
pci_find_slot, which is NOT deprecated.

-- robin
-
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/