Re: 2.6.3 oops at kobject_unregister, alsa & aic7xxx

Andrew Morton
2004-02-24T07:32:18Z

Eric Kerin <eric@bootseg.com> 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?