Re: 2.6.3 oops at kobject_unregister, alsa & aic7xxx

From: Andrew Morton
Date: Tue Feb 24 2004 - 02:33:31 EST


Eric Kerin <eric@xxxxxxxxxxx> wrote:
>
> The AIC drivers are currently coded to unload (by returning -ENODEV from
> the init function) if no devices are found, so the exit function never
> gets called, leaving the stale entries.

Oh, OK, leaving the PCI driver registered.

> There's a 2nd patch in the above thread that changes those modules to
> stay loaded even if no devices are found, which Arjan V pointed out was
> the preferred way for drivers to work.

Sounds good. Do you have that patch handy?
-
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/