aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-09-23 22:30:32 +0200
committerElektroschmock <elektroschmock78@googlemail.com>2019-08-20 19:22:07 +0200
commit43cd8ffc5ccf0912ae458b9469c51ee18c3f9b79 (patch)
treefad0ceb513943010f5ba345bb960c6f4e6ab0a9e /tools/perf/scripts/python/syscall-counts.py
parentb009d80ec2102ef44307b8576f8969d795ecfe0c (diff)
iio: Use kmalloc_array() in iio_scan_mask_set()
commit 057ac1acdfc4743f066fcefe359385cad00549eb upstream. A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle software. Change-Id: I56a1fb8b1124230dcc53d0100fe2eef31952a789 Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions