diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2015-10-27 19:19:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-28 19:50:45 -0400 |
commit | 58eabd68a438f8b4755fab7160a31745f5723db4 (patch) | |
tree | fd084d528f10c2829947da21645ee7efa728230f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ff3bce2f6caca3d004780fd46a2566e69993742c (diff) |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions