staging: wilc1000: linux_wlan.c: add kzalloc error check
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 7 Sep 2015 15:36:36 +0000 (00:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:45 +0000 (18:24 -0700)
commitac61ef86f971c3fd0d3aff59744423ff32c4fcca
tree277dcd7ad2ab519d04681d1c128642f381eb2446
parentd9998a91fee33153dfddb86fa7301d2e26590dbe
staging: wilc1000: linux_wlan.c: add kzalloc error check

This patch adds error check if kzalloc is failed.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c