commit | 4bff39dfb75743c44d429b84b3810a955b8192b2 | [log] [tgz] |
---|---|---|
author | Gujulan Elango, Hari Prasath (H.) <hgujulan@visteon.com> | Wed May 13 14:35:25 2015 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun May 31 10:01:51 2015 +0900 |
tree | e69bba51c74c8da52a336608fb0257c054ad29aa | |
parent | 7f804436fbd32c9784a2ae5324e64f9d4717c898 [diff] |
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>