diff options
author | 2015-10-28 08:19:27 +0900 | |
---|---|---|
committer | 2015-10-29 08:50:45 +0900 | |
commit | 58eabd68a438f8b4755fab7160a31745f5723db4 (patch) | |
tree | fd084d528f10c2829947da21645ee7efa728230f /tools/perf/scripts/python/check-perf-trace.py | |
parent | staging: wilc1000: rename tenuAuth_type in host_int_add_wep_key_bss_ap (diff) | |
download | linux-dev-58eabd68a438f8b4755fab7160a31745f5723db4.tar.xz linux-dev-58eabd68a438f8b4755fab7160a31745f5723db4.zip |
staging: wilc1000: replace kmalloc/memcpy with kmemdup
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 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions