linux/drivers/media
Hans Verkuil b74093bfbc media: radio-miropcm20: set bus_info to explicit name
Fill in bus_info with fixed name.

This fixes this compiler warning:

drivers/media/radio/radio-miropcm20.c: In function 'vidioc_querycap':
drivers/media/radio/radio-miropcm20.c:206:57: warning: '%s' directive output may be truncated writing up to 35 bytes into a region of size 28 [-Wformat-truncation=]
  206 |         snprintf(v->bus_info, sizeof(v->bus_info), "ISA:%s", dev->v4l2_dev.name);
      |                                                         ^~
drivers/media/radio/radio-miropcm20.c:206:9: note: 'snprintf' output between 5 and 40 bytes into a destination of size 32
  206 |         snprintf(v->bus_info, sizeof(v->bus_info), "ISA:%s", dev->v4l2_dev.name);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-09-27 10:47:23 +02:00
..
cec media: platform: cros-ec: Add Boxy to the match table 2023-09-27 09:39:55 +02:00
common media: use struct_size() helper 2023-09-27 09:40:01 +02:00
dvb-core lib/math: Move dvb_math.c into lib/math/int_log.c 2023-07-09 22:47:48 +01:00
dvb-frontends media: dvb-frontends: drx39xyj: Remove unnecessary ternary operators 2023-09-27 09:39:55 +02:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: use sizeof() instead of V4L2_SUBDEV_NAME_SIZE 2023-09-27 10:47:22 +02:00
mc media: mc: Make media_get_pad_index() use pad type flag 2023-05-25 16:21:22 +02:00
mmc
pci media: zoran: increase name size 2023-09-27 10:47:22 +02:00
platform media: am437x: don't fill in bus_info 2023-09-27 10:47:23 +02:00
radio media: radio-miropcm20: set bus_info to explicit name 2023-09-27 10:47:23 +02:00
rc media: rc: ati_remote: increase mouse_name buffer size 2023-09-27 10:47:22 +02:00
spi
test-drivers media: vivid: use VIVID_MODULE_NAME to fill bus_info 2023-09-27 10:47:23 +02:00
tuners media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
usb media: cx231xx: Add EP5_BUF_SIZE and EP5_TIMEOUT_MS macros 2023-09-27 09:39:55 +02:00
v4l2-core media: v4l: Add HEXTILE compressed format 2023-09-27 09:40:01 +02:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile