commit | 4640a3f2bff64b808bdedadcddf882aa4606f374 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jun 20 11:10:18 2013 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 24 16:23:25 2013 -0700 |
tree | 1b7fdf74ef6ff7eab4df7a39a1756f8f5c5024ca | |
parent | c2955da0e101c3432ae21945e5d77786adf1f094 [diff] |
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>