]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: wilc1000: handle_set_mac_address: use kmemdup
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 16 Feb 2016 08:39:51 +0000 (17:39 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 00:55:33 +0000 (16:55 -0800)
commit31cc9885e7c74164aaa48228da723c5e9f9c51f9
treeea57e7de826932787a0a3feb18b7f9fa169267b6
parent2b489e0e2673648a048445325f9db2d18fcaae0d
staging: wilc1000: handle_set_mac_address: use kmemdup

This patch replaces kmalloc followed by memcpy with kmemdup.

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