Home
last modified time | relevance | path

Searched hist:"171 cf94ccb4b476d1d7d694a31d0820558375132" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pcmcia/
H A Dsa1111_generic.cdiff 171cf94ccb4b476d1d7d694a31d0820558375132 Tue Jan 24 15:33:26 CST 2012 Russell King <rmk+kernel@arm.linux.org.uk> 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>