linux/drivers/media/test-drivers/vivid
Hans Verkuil d034731bb4 media: vivid: fix compile warning/error
Fix this warning:

vivid-core.c: In function 'vivid_create_devnodes':
vivid-core.c:1318:11: warning: unused variable 'i' [-Wunused-variable]
 1318 |  int ret, i;
      |           ^

and this error:

vivid-core.c: In function 'vivid_create_instance':
vivid-core.c:1885:47: error: 'cec_tx_bus_cnt' undeclared (first use in this function)
 1885 |  ret = vivid_create_devnodes(pdev, dev, inst, cec_tx_bus_cnt,
      |                                               ^~~~~~~~~~~~~~
vivid-core.c:1885:47: note: each undeclared identifier is reported only once for each function it appears in

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-09-08 11:54:00 +02:00
..
Kconfig
Makefile
vivid-cec.c
vivid-cec.h
vivid-core.c media: vivid: fix compile warning/error 2020-09-08 11:54:00 +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 media: vivid: Fix global-out-of-bounds read in precalculate_color() 2020-08-26 18:51:16 +02:00
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 media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
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