diff options
| author | Ajay Singh <[email protected]> | 2018-05-11 13:43:09 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-05-14 14:04:47 +0200 |
| commit | b3706d0ff356ca90f96414f652d9d4ff71f12065 (patch) | |
| tree | 7a04e64d6fa0653dd739e7918943e228ae995640 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9aef8233ef58583c1fd6f533f7ca4d2afaf80a70 (diff) | |
staging: wilc1000: replace kmalloc with kmemdup() in handle_connect_timeout()
Instead of kmalloc and memcpy use kmemdup in handle_connect_timeout().
Also return -ENOMEM incase of failure to allocate the memory.
Signed-off-by: Ajay Singh <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions