commit | 11623136ef54ca945d64d3f8a1d1f3763ca13563 | [log] [tgz] |
---|---|---|
author | Chaehyun Lim <chaehyun.lim@gmail.com> | Thu Dec 24 16:52:32 2015 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Feb 03 15:08:06 2016 -0800 |
tree | 9103b8ace526216528bff120295f0c29dd5021bd | |
parent | f382b376064fd513aa83f9ddc47920d2ac6abf59 [diff] |
staging: wilc1000: use kmemdup instead of kmalloc and memcpy This patch changes kmalloc/memcpy to kmemdup. It is also added error checking to return -ENOMEM if kmemdup is failed. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>