diff options
| author | 2015-12-24 16:52:32 +0900 | |
|---|---|---|
| committer | 2016-02-03 15:08:06 -0800 | |
| commit | 11623136ef54ca945d64d3f8a1d1f3763ca13563 (patch) | |
| tree | 9103b8ace526216528bff120295f0c29dd5021bd /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | staging: wilc1000: rename pJoinParams in wilc_set_join_req (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>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
