aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGeorgiana Chelu <georgiana.chelu93@gmail.com>2017-09-26 09:01:29 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-29 15:34:37 +0200
commit63342e75e661c1b71a0f33a4329726bcf383b342 (patch)
tree00d66886796b97039cdc1871a37765a19a7d9d66 /tools/perf/scripts/python
parentatomisp2: remove cast from memory allocation (diff)
Staging: media: atomisp: Use kmalloc_array instead of kmalloc
Prefer kmalloc_array over kmalloc with multiply because kmalloc_array performs additional checks before memory allocation. Fix the following issue reported by checkpatch.pl: * WARNING: Prefer kmalloc_array over kmalloc with multiply Signed-off-by: Georgiana Chelu <georgiana.chelu93@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions