diff options
author | Gujulan Elango, Hari Prasath (H.) | 2015-05-13 16:35:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-05-31 03:01:51 +0200 |
commit | 4bff39dfb75743c44d429b84b3810a955b8192b2 (patch) | |
tree | e69bba51c74c8da52a336608fb0257c054ad29aa /block | |
parent | staging: lustre: remove unused variable warning (diff) | |
download | kernel-qcow2-linux-4bff39dfb75743c44d429b84b3810a955b8192b2.tar.gz kernel-qcow2-linux-4bff39dfb75743c44d429b84b3810a955b8192b2.tar.xz kernel-qcow2-linux-4bff39dfb75743c44d429b84b3810a955b8192b2.zip |
staging: wlan-ng: check return value of kmalloc
check return value of kmalloc before accessing the memory pointer and
return -ENOMEM if allocation fails.
Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions