aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/userspace-api
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-06-15 23:40:15 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-04 12:42:19 +0200
commita32e8adf2fdbd4fd1d046769140a8afd0489fe65 (patch)
tree5438510147ce71f5795908e20203e71046384a6f /Documentation/userspace-api
parentmedia: videobuf2: Fix length check for single plane dmabuf queueing (diff)
downloadlinux-a32e8adf2fdbd4fd1d046769140a8afd0489fe65.tar.gz
linux-a32e8adf2fdbd4fd1d046769140a8afd0489fe65.zip
media: test_drivers: vivid-core: Use array_size() helper
The tpg_alloc() and vmalloc() functions have no 2-factor argument form, so multiplication factors need to be wrapped in array_size(). This issue was found with the help of Coccinelle and, audited and fixed manually. Addresses-KSPP-ID: https://github.com/KSPP/linux/issues/83 Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/userspace-api')
0 files changed, 0 insertions, 0 deletions