mirror-linux/drivers/media/radio
Mauro Carvalho Chehab c61480a2ea media: wl128x: fix a clang warning
Clang-16 produces this warning, which is fatal with CONFIG_WERROR:

	../drivers/media/radio/wl128x/fmdrv_common.c:1237:19: error: variable 'cmd_cnt' set but not used [-Werror,-Wunused-but-set-variable]
	        int ret, fw_len, cmd_cnt;
	                         ^
	1 error generated.

What happens is that cmd_cnt tracks the amount of firmware data packets
were transfered, which is printed only when debug is used.

Switch to use the firmware count, as the message is all about reporting
a partial firmware transfer.

Link: https://lore.kernel.org/linux-media/6badd27ebfa718d5737f517f18b29a3e0f6e43f8.1687981726.git.mchehab@kernel.org

Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-06-29 09:56:13 +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 a clang warning 2023-06-29 09:56:13 +02:00
Kconfig media: add HAS_IOPORT dependencies 2023-06-28 11:09:25 +02:00
Makefile
dsbr100.c
lm7000.h
radio-aimslab.c
radio-aztech.c
radio-cadet.c
radio-gemtek.c
radio-isa.c
radio-isa.h
radio-keene.c
radio-ma901.c
radio-maxiradio.c
radio-miropcm20.c
radio-mr800.c
radio-raremono.c
radio-rtrack2.c
radio-sf16fmi.c
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-shark: Add endpoint checks 2023-04-20 11:43:22 +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