Unloading i82365

Russell King rmk+pcmcia at arm.linux.org.uk
Sat Jul 3 12:21:58 EDT 2004


On Sat, Jul 03, 2004 at 08:29:31PM +0900, Komuro wrote:
> Dear all
> 
> I can't unload i82365 properly.
> 
> >Device 'i82365' does not have a release() function, 
> >it is broken and must be fixed.
> 
> Following patch will fix this problem.(for vanilla 2.6.7 kernel)
> (I added dummy release function.)

Just because you see a warning does _NOT_ mean that you should implement
a dummy function to get rid of the warning.  It's telling people that
it's unsafe to unload the module.  Adding the dummy function doesn't
change that fact - it's still unsafe.  The only difference is that we
don't know about it anymore.

The warning is serving its purpose - its telling us that something isn't
right.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core



More information about the linux-pcmcia mailing list