diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2016-12-26 15:14:33 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-01-31 07:46:57 -0200 |
| commit | f9e9c0669f15919a0e5e2908369eb6406af95ca0 (patch) | |
| tree | f66151f693977a21c828fc94e67cba248c341991 /tools/perf/scripts/python | |
| parent | [media] media: usb: cpia2: Use kmemdup instead of kmalloc and memcpy (diff) | |
| download | linux-f9e9c0669f15919a0e5e2908369eb6406af95ca0.tar.gz linux-f9e9c0669f15919a0e5e2908369eb6406af95ca0.zip | |
[media] v4l2-async: Use kmalloc_array() in v4l2_async_notifier_unregister()
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.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
