]> git.baikalelectronics.ru Git - kernel.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)
commitf09a7f86653c70c3754c156538862ea9eaae5504
treeea57e7de826932787a0a3feb18b7f9fa169267b6
parent7fbda8fa5ed0d6422095afb61d11a0eda8e03db0
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