aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2016-01-05 23:06:55 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-03 15:16:26 -0800
commit1a271d996097367da1f35cf257da11f472fd39d2 (patch)
tree9c8ae241c4df8aa23a275956a4ecc1e8b0a5435c /include/linux
parentstaging: wilc1000: rename pstrHiddenNetwork in wilc_scan (diff)
staging: wilc1000: use kmemdup instead of kmalloc/memcpy
This patch replaces kmalloc followed by memcpy with kmemdup. It is also added error checking to return -ENOMEM when kmemdup is failed. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions