summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/export-to-sqlite-report
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2018-05-11 13:43:09 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-14 14:04:47 +0200
commitb3706d0ff356ca90f96414f652d9d4ff71f12065 (patch)
tree7a04e64d6fa0653dd739e7918943e228ae995640 /tools/perf/scripts/python/bin/export-to-sqlite-report
parent9aef8233ef58583c1fd6f533f7ca4d2afaf80a70 (diff)
downloadlinux-b3706d0ff356ca90f96414f652d9d4ff71f12065.tar.gz
linux-b3706d0ff356ca90f96414f652d9d4ff71f12065.zip
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 <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions