staging: ft1000-pcmcia: don't crash on load
authorOndrej Zary <linux@rainbow-software.org>
Thu, 30 Jun 2011 22:03:30 +0000 (00:03 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 17:32:30 +0000 (10:32 -0700)
commit01cafa528da6c5ffd5fe6b756ec11ec317b3f9d3
tree72184dbb586078549dd1d337b97e0946c3560d57
parent378af483331d429bff3318e69f4ff5534f92c750
staging: ft1000-pcmcia: don't crash on load

Don't crash with NULL pointer dereference on load because of empty .name.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ft1000/ft1000-pcmcia/ft1000_cs.c