linux/drivers/media/pci/zoran
Hans Verkuil 3e80a88911 media: zoran: increase name size
Fixes this compiler warning:

drivers/media/pci/zoran/zoran_card.c: In function 'zoran_probe':
drivers/media/pci/zoran/zoran_card.c:1316:62: warning: '%u' directive output may be truncated writing between 1 and 5 bytes into a region of size between 0 and 31 [-Wformat-truncation=]
 1316 |         snprintf(ZR_DEVNAME(zr), sizeof(ZR_DEVNAME(zr)), "%s[%u]",
      |                                                              ^~
drivers/media/pci/zoran/zoran_card.c:1316:58: note: directive argument in the range [0, 65535]
 1316 |         snprintf(ZR_DEVNAME(zr), sizeof(ZR_DEVNAME(zr)), "%s[%u]",
      |                                                          ^~~~~~~~
drivers/media/pci/zoran/zoran_card.c:1316:9: note: 'snprintf' output between 4 and 39 bytes into a destination of size 32
 1316 |         snprintf(ZR_DEVNAME(zr), sizeof(ZR_DEVNAME(zr)), "%s[%u]",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1317 |                  zr->card.name, zr->id);
      |                  ~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-09-27 10:47:22 +02:00
..
Kconfig media: zoran: move to mainline 2022-08-29 15:33:45 +02:00
Makefile media: zoran: move to mainline 2022-08-29 15:33:45 +02:00
videocodec.c media: zoran: move to mainline 2022-08-29 15:33:45 +02:00
videocodec.h media: zoran: move to mainline 2022-08-29 15:33:45 +02:00
zoran_card.c media: zoran: move to mainline 2022-08-29 15:33:45 +02:00
zoran_card.h media: zoran: move to mainline 2022-08-29 15:33:45 +02:00
zoran_device.c media: zoran: move to mainline 2022-08-29 15:33:45 +02:00
zoran_device.h media: zoran: drop two obsolete prototypes from zoran_device.h 2023-03-20 00:22:34 +01:00
zoran_driver.c media: zoran: move to mainline 2022-08-29 15:33:45 +02:00
zoran.h media: zoran: increase name size 2023-09-27 10:47:22 +02:00
zr36016.c media: zoran: move to mainline 2022-08-29 15:33:45 +02:00
zr36016.h media: zoran: move to mainline 2022-08-29 15:33:45 +02:00
zr36050.c media: zoran: move to mainline 2022-08-29 15:33:45 +02:00
zr36050.h media: zoran: move to mainline 2022-08-29 15:33:45 +02:00
zr36057.h media: zoran: move to mainline 2022-08-29 15:33:45 +02:00
zr36060.c media: zoran: move to mainline 2022-08-29 15:33:45 +02:00
zr36060.h media: zoran: move to mainline 2022-08-29 15:33:45 +02:00