commit | 9bfda3820fe4e7e509aebe3b32b1514b5a615851 | [log] [tgz] |
---|---|---|
author | Chaehyun Lim <chaehyun.lim@gmail.com> | Sun Nov 08 16:49:16 2015 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Dec 18 14:14:03 2015 -0800 |
tree | 1d3f144e82e839edb78bc63fdb4be47d4bc3d654 | |
parent | d002fcc0f2de5e05af3c9e753899985985a4d390 [diff] |
staging: wilc1000: use kmemdup in host_int_add_rx_gtk This patch changes kmalloc followed by memcpy to kmemdup. The error checking is also added when kmemdup is failed. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>