mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-05 21:35:04 +08:00
10939357c4
Fixes this compiler warning: drivers/media/test-drivers/vivid/vivid-core.c: In function 'vidioc_querycap': drivers/media/test-drivers/vivid/vivid-core.c:243:35: warning: '%s' directive output may be truncated writing up to 35 bytes into a region of size 23 [-Wformat-truncation=] 243 | "platform:%s", dev->v4l2_dev.name); | ^~ drivers/media/test-drivers/vivid/vivid-core.c:242:9: note: 'snprintf' output between 10 and 45 bytes into a destination of size 32 242 | snprintf(cap->bus_info, sizeof(cap->bus_info), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 243 | "platform:%s", dev->v4l2_dev.name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
vivid-cec.c | ||
vivid-cec.h | ||
vivid-core.c | ||
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 |