linux/drivers/media/test-drivers/vivid
Gustavo A. R. Silva a32e8adf2f 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>
2020-07-04 12:42:19 +02:00
..
Kconfig
Makefile
vivid-cec.c
vivid-cec.h
vivid-core.c media: test_drivers: vivid-core: Use array_size() helper 2020-07-04 12:42:19 +02:00
vivid-core.h
vivid-ctrls.c
vivid-ctrls.h
vivid-kthread-cap.c
vivid-kthread-cap.h
vivid-kthread-out.c
vivid-kthread-out.h
vivid-kthread-touch.c
vivid-kthread-touch.h
vivid-meta-cap.c
vivid-meta-cap.h
vivid-meta-out.c
vivid-meta-out.h
vivid-osd.c
vivid-osd.h
vivid-radio-common.c
vivid-radio-common.h
vivid-radio-rx.c
vivid-radio-rx.h
vivid-radio-tx.c
vivid-radio-tx.h
vivid-rds-gen.c
vivid-rds-gen.h
vivid-sdr-cap.c
vivid-sdr-cap.h
vivid-touch-cap.c
vivid-touch-cap.h
vivid-vbi-cap.c
vivid-vbi-cap.h
vivid-vbi-gen.c
vivid-vbi-gen.h
vivid-vbi-out.c
vivid-vbi-out.h
vivid-vid-cap.c
vivid-vid-cap.h
vivid-vid-common.c
vivid-vid-common.h
vivid-vid-out.c
vivid-vid-out.h