[RFC] PCMCIA patches for 2.6.34
linux at dominikbrodowski.net
Mon Jan 11 18:53:17 EST 2010
On Mon, Jan 11, 2010 at 11:01:49PM +0100, Wolfram Sang wrote:
> Knowing now that this is a flaw, I digged up something, check the following
> call chain in ide_detach from ide-cs.c:
> ide_release -> pcmcia_disable_device -> pcmcia_release_io
> Then(!) release_region is called twice, but the io-resources are gone by now.
> From what I see, I'd suggest the following patch which makes the warnings go
> away for me. To me, it looks correct. I just wonder as this seems to have gone
> unnoticed for quite a while. If you think this rfc is correct, I will create a
> proper patch out of it and remove the shadowing introduced by
Patch looks proper to me -- nice catch.
More information about the linux-pcmcia