staging: wilc1000: coreconfigurator.c: fix kmalloc error check
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 17 Aug 2015 02:05:15 +0000 (11:05 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Aug 2015 19:50:35 +0000 (12:50 -0700)
commita78d9a38a52fc0660e6efb8eaf6540f975db87c6
tree9d375e39d40ff80f4c34bdb6960a9d62da8b54c9
parent0ac87998784e261e1080907da912afb562737c69
staging: wilc1000: coreconfigurator.c: fix kmalloc error check

It is added and fixed error check when kmalloc is failed.

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