linux/drivers/media/radio
Hans Verkuil fd6627cb82 media: radio-si476x: don't fill in bus_info
Let the V4L2 core fill in bus_info.

This fixes this warning:

drivers/media/radio/radio-si476x.c: In function 'si476x_radio_querycap':
drivers/media/radio/radio-si476x.c:333:28: warning: '%s' directive output may be truncated writing up to 35 bytes into a region of size 23 [-Wformat-truncation=]
  333 |                  "platform:%s", radio->v4l2dev.name);
      |                            ^~
drivers/media/radio/radio-si476x.c:332:9: note: 'snprintf' output between 10 and 45 bytes into a destination of size 32
  332 |         snprintf(capability->bus_info, sizeof(capability->bus_info),
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  333 |                  "platform:%s", radio->v4l2dev.name);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-09-27 10:47:23 +02:00
..
si470x media: Switch i2c drivers back to use .probe() 2023-05-25 16:21:21 +02:00
si4713 media: Switch i2c drivers back to use .probe() 2023-05-25 16:21:21 +02:00
wl128x media: wl128x: Fix spelling mistake "Transfered" -> "Transferred" 2023-07-19 12:57:48 +02:00
dsbr100.c
Kconfig media: add HAS_IOPORT dependencies 2023-06-28 11:09:25 +02:00
lm7000.h
Makefile media: Makefiles: sort entries where it fits 2022-03-14 09:42:59 +01:00
radio-aimslab.c
radio-aztech.c
radio-cadet.c
radio-gemtek.c
radio-isa.c media: radio-isa: use dev_name to fill in bus_info 2023-09-27 10:47:23 +02:00
radio-isa.h isa: Make the remove callback for isa drivers return void 2021-01-26 07:42:27 +01:00
radio-keene.c
radio-ma901.c
radio-maxiradio.c media: v4l: ioctl: Set bus_info in v4l_querycap() 2022-04-24 08:07:08 +01:00
radio-miropcm20.c media: radio-miropcm20: set bus_info to explicit name 2023-09-27 10:47:23 +02:00
radio-mr800.c
radio-raremono.c
radio-rtrack2.c
radio-sf16fmi.c media: media/radio: make array probe_ports static const 2022-01-23 21:18:43 +01:00
radio-sf16fmr2.c isa: Make the remove callback for isa drivers return void 2021-01-26 07:42:27 +01:00
radio-shark2.c media: radio-shark: Add endpoint checks 2023-04-20 11:43:22 +02:00
radio-shark.c media: radio-shark: Add endpoint checks 2023-04-20 11:43:22 +02:00
radio-si476x.c media: radio-si476x: don't fill in bus_info 2023-09-27 10:47:23 +02:00
radio-tea5764.c media: Switch i2c drivers back to use .probe() 2023-05-25 16:21:21 +02:00
radio-tea5777.c
radio-tea5777.h
radio-terratec.c radio-terratec: Remove variable p 2022-10-24 19:03:54 +02:00
radio-timb.c media: radio-timb: Convert to platform remove callback returning void 2023-04-11 16:59:20 +02:00
radio-trust.c
radio-typhoon.c
radio-wl1273.c media: radio-wl1273: Remove an unnecessary ternary operator 2023-09-27 09:39:55 +02:00
radio-zoltrix.c
saa7706h.c media: Switch i2c drivers back to use .probe() 2023-05-25 16:21:21 +02:00
tea575x.c
tef6862.c media: Switch i2c drivers back to use .probe() 2023-05-25 16:21:21 +02:00