OpenCloudOS-Kernel/drivers/media/radio
Hans Verkuil 55e9057c8a media: radio-isa: use dev_name to fill in bus_info
[ Upstream commit 8b7f3cf4eb9a95940eaabad3226caeaa0d9aa59d ]

This fixes this warning:

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

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-29 17:33:25 +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
Kconfig media: add HAS_IOPORT dependencies 2023-06-28 11:09:25 +02:00
Makefile media: Makefiles: sort entries where it fits 2022-03-14 09:42:59 +01:00
dsbr100.c
lm7000.h
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 2024-08-29 17:33:25 +02:00
radio-isa.h
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
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
radio-shark.c media: radio-shark: Add endpoint checks 2023-04-20 11:43:22 +02:00
radio-shark2.c media: radio-shark2: Avoid led_names truncations 2024-06-12 11:12:01 +02:00
radio-si476x.c media: radio-si476x: Convert to platform remove callback returning void 2023-04-11 16:59:20 +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: Convert to platform remove callback returning void 2023-04-11 16:59:20 +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