diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-06-20 10:10:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-25 01:23:25 +0200 |
commit | 4640a3f2bff64b808bdedadcddf882aa4606f374 (patch) | |
tree | 1b7fdf74ef6ff7eab4df7a39a1756f8f5c5024ca /drivers/vme/bridges | |
parent | fmc: avoid readl/writel namespace conflict (diff) | |
download | linux-4640a3f2bff64b808bdedadcddf882aa4606f374.tar.xz linux-4640a3f2bff64b808bdedadcddf882aa4606f374.zip |
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>
Diffstat (limited to 'drivers/vme/bridges')
0 files changed, 0 insertions, 0 deletions