Russell King 171cf94ccb PCMCIA: fix sa1111 oops on remove
The sa1111 socket driver oopses when removed:

Unable to handle kernel NULL pointer dereference at virtual address 000003b0
pgd = c1b40000
[000003b0] *pgd=00000000
Internal error: Oops: 41b43005 [#1]
Modules linked in:
CPU: 0    Not tainted  (3.3.0-rc1+ #744)
PC is at pcmcia_remove+0x3c/0x60
LR is at pcmcia_remove+0x34/0x60

This is because we try to dereference a NULL 's' to obtain the next
pointer.  Fix this.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2012-01-24 21:33:26 +00:00
..
2009-10-24 17:13:01 +02:00
2011-03-31 11:26:23 -03:00
2010-11-01 15:38:34 -04:00
2010-11-01 15:38:34 -04:00
2011-12-07 22:02:05 +00:00
2010-11-10 14:29:09 +01:00
2010-11-10 14:29:09 +01:00
2011-02-19 12:22:35 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00