summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2023-09-23 17:20:50 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-09-27 10:47:22 +0200
commit7c051b680048e4d79c5c0457ca370c0c09f69709 (patch)
treeb73bbd0b1f5eef9512313f4e2e7fc28a6c928348 /drivers/media/rc
parentmedia: ipu-bridge: increase sensor_name size (diff)
downloadlinux-7c051b680048e4d79c5c0457ca370c0c09f69709.tar.xz
linux-7c051b680048e4d79c5c0457ca370c0c09f69709.zip
media: cx18: increase in_workq_name size
Fixes this compiler warning: drivers/media/pci/cx18/cx18-driver.c: In function 'cx18_init_struct1': drivers/media/pci/cx18/cx18-driver.c:688:65: warning: '%s' directive output may be truncated writing up to 35 bytes into a region of size 11 [-Wformat-truncation=] 688 | snprintf(cx->in_workq_name, sizeof(cx->in_workq_name), "%s-in", | ^~ In function 'cx18_create_in_workq', inlined from 'cx18_init_struct1' at drivers/media/pci/cx18/cx18-driver.c:724:8: drivers/media/pci/cx18/cx18-driver.c:688:9: note: 'snprintf' output between 4 and 39 bytes into a destination of size 11 688 | snprintf(cx->in_workq_name, sizeof(cx->in_workq_name), "%s-in", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 689 | cx->v4l2_dev.name); | ~~~~~~~~~~~~~~~~~~ Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/media/rc')
0 files changed, 0 insertions, 0 deletions