]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: wilc1000: removes potential null dereference
authorLeo Kim <leo.kim@atmel.com>
Mon, 22 Feb 2016 04:11:50 +0000 (13:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Feb 2016 19:47:00 +0000 (11:47 -0800)
commit396fa30e4b320f235c462f9d1b1f9da87548667a
tree62c342a6ae1377b1204d7fe3e12b594f0071b525
parent2eaf35c1412a65139d5df677097cd6c6278f30b1
staging: wilc1000: removes potential null dereference

This patch removes the error reported by smatch.
 - wilc_wfi_cfgoperations.c:674 scan() error:
   potential null dereference 'strHiddenNetwork.net_info'.  (kmalloc returns null)

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c