linux/drivers/fmc
Dan Carpenter 4640a3f2bf FMC: fix error handling in probe() function
The call to kzalloc() wasn't checked.
The dev_info() message dereferenced freed memory on error.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-24 16:23:25 -07:00
..
fmc-chardev.c FMC: fix error handling in probe() function 2013-06-24 16:23:25 -07:00
fmc-core.c FMC: add core bus driver 2013-06-18 15:36:56 -07:00
fmc-dump.c FMC: add core bus driver 2013-06-18 15:36:56 -07:00
fmc-fakedev.c fmc: avoid readl/writel namespace conflict 2013-06-19 20:30:32 -07:00
fmc-match.c FMC: add core bus driver 2013-06-18 15:36:56 -07:00
fmc-sdb.c FMC: NULL dereference on allocation failure 2013-06-19 20:30:31 -07:00
fmc-trivial.c FMC: add a software mezzanine driver 2013-06-18 15:41:04 -07:00
fmc-write-eeprom.c FMC: add a driver to write mezzanine EEPROM 2013-06-18 15:42:15 -07:00
fru-parse.c FMC: add core bus driver 2013-06-18 15:36:56 -07:00
Kconfig FMC: add a char-device mezzanine driver 2013-06-18 15:42:15 -07:00
Makefile FMC: add a char-device mezzanine driver 2013-06-18 15:42:15 -07:00