aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAjay Singh <[email protected]>2018-05-11 13:43:15 +0530
committerGreg Kroah-Hartman <[email protected]>2018-05-14 14:04:48 +0200
commit7ca6ba24c3e3ca852d46acf885c4982fab3bb895 (patch)
treeb98cfe6f2ccde0df0682c97220e8fdeecbf2598b /tools/perf/scripts/python
parent30300a1cbd4ce2df28abc62b087ef18bb379ec7f (diff)
staging: wilc1000: use kmemdup instead of kmalloc in add_network_to_shadow()
Use kmemdup instead of kmalloc & memcpy in add_network_to_shadow(). Also added code to set 'ies_len' to zero in case of memory allocation failure. Signed-off-by: Ajay Singh <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions