[PATCH] Fix oops in pata_pcmcia
authorAlan <alan@lxorguk.ukuu.org.uk>
Wed, 21 Feb 2007 16:41:23 +0000 (16:41 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 26 Feb 2007 21:02:08 +0000 (13:02 -0800)
commiteafb4f184cd89e8af5676ec49ae35184172553fe
tree3ad7e2700079b87c9cf86ada4f7889d6bfb6b214
parent8cd0ae056a8d3528e4deb7ecc046304bb2d5a680
[PATCH] Fix oops in pata_pcmcia

The change to the devres layer re-orders the execution of cleanup
functions and in turn causes the pcmcia layer to oops as it zaps a
pointer now needed later on. We simply leave the pointer alone.

Signed-off-by: Alan Cox <alan@redhat.com>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ata/pata_pcmcia.c