summaryrefslogtreecommitdiffstats
path: root/drivers/fmc/fmc-fakedev.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-06-19 19:01:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-19 20:30:31 -0700
commite42d50baf43120a78985f13f6e9c8f92fae091c2 (patch)
treee9f91f6a06afe1696be14092344cdececfe82e99 /drivers/fmc/fmc-fakedev.c
parente3a3c3a205554e564751cd9c0276b2af813d7a92 (diff)
downloadop-kernel-dev-e42d50baf43120a78985f13f6e9c8f92fae091c2.zip
op-kernel-dev-e42d50baf43120a78985f13f6e9c8f92fae091c2.tar.gz
FMC: NULL dereference on allocation failure
If we don't allocate "arr" then the cleanup path will dereference it and oops. 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/fmc/fmc-fakedev.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud