linux-stable/drivers/media
Arnd Bergmann be8cd6cccf media: dvb-usb: avoid -Wempty-body warnings
Building with 'make W=1' shows many warnings -Wempty-body warnings like

drivers/media/usb/dvb-usb/vp702x-fe.c: In function 'vp702x_fe_set_frontend':
drivers/media/usb/dvb-usb/vp702x-fe.c:190:46: error: suggest braces around empty body in an 'else' statement [-Werror=empty-body]
  190 |                 deb_fe("tuning succeeded.\n");
drivers/media/usb/dvb-usb/dtt200u.c: In function 'dtt200u_rc_query':
drivers/media/usb/dvb-usb/dtt200u.c:124:58: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
  124 |                 deb_info("st->data: %*ph\n", 5, st->data);
drivers/media/usb/dvb-usb/m920x.c: In function 'm920x_rc_query':
drivers/media/usb/dvb-usb/m920x.c:207:58: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
  207 |                 deb("Unknown rc key %02x\n", rc_state[1]);

Change the empty dprintk() macros to no_printk(), which avoids this
warning and adds format string checking.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-04-09 13:05:25 +02:00
..
cec media: cec/core: clarify rx-arb-lost usage message 2021-04-06 16:08:38 +02:00
common media: flexcop: avoid -Wempty-body warning 2021-04-09 13:05:01 +02:00
dvb-core media: dvbdev: Fix memory leak in dvb_media_device_free() 2021-03-22 23:36:39 +01:00
dvb-frontends media: dvb-frontends: Remove redundant error check on variable ret 2021-04-09 13:00:59 +02:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: i2c: adv7842: fix possible use-after-free in adv7842_remove() 2021-04-09 12:54:32 +02:00
mc media: entity: Add lockdep check to media graph walk 2021-04-06 14:35:14 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: flexcop: avoid -Wempty-body warning 2021-04-09 13:05:01 +02:00
platform media: sun8i-di: Fix runtime PM imbalance in deinterlace_start_streaming 2021-04-09 12:58:34 +02:00
radio media: radio-si476x: rectify spelling and grammar 2021-03-22 11:58:42 +01:00
rc media: ite-cir: probe of ITE8708 on ASUS PN50 fails 2021-04-09 13:04:25 +02:00
spi media: use getter/setter functions 2021-03-11 11:59:42 +01:00
test-drivers media: vivid: add read-only int32 control 2021-04-06 16:04:24 +02:00
tuners media: m88rs6000t: avoid potential out-of-bounds reads on arrays 2021-03-22 17:41:39 +01:00
usb media: dvb-usb: avoid -Wempty-body warnings 2021-04-09 13:05:25 +02:00
v4l2-core media: v4l2-ctrls.c: fix race condition in hdl->requests list 2021-04-06 16:05:33 +02:00
Kconfig media: Correct 'so' 2021-03-22 11:52:09 +01:00
Makefile