Daniel Ritz 48b950ff24 [PATCH] pcmcia/pcmcia_resource.c: fix crash when using Cardbus cards
Using the old ioctl interface together with cardbus card gives a NULL
pointer dereference since cardbus devices don't have a struct pcmcia_device.
also s->io[0].res can be NULL as well.

Fix is to move the pcmcia code after the cardbus code and to check for a null
pointer.

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2006-04-22 00:49:19 +02:00
..
2006-04-11 06:18:46 -07:00
2006-04-11 06:18:40 -07:00
2006-03-29 13:24:50 +11:00
2006-04-20 07:54:04 -07:00
2006-04-11 06:18:43 -07:00
2006-04-11 06:18:47 -07:00
2006-04-11 06:18:38 -07:00
2006-04-11 06:18:44 -07:00
2006-03-23 07:38:16 -08:00
2006-04-17 14:24:57 -07:00
2006-03-24 18:23:14 +01:00
2006-03-31 12:18:56 -08:00