linux_dsm_epyc7002/drivers/media/pci
Arnd Bergmann 27430d19a9 [media] tw5864: use dev_warn instead of WARN to shut up warning
tw5864_frameinterval_get() only initializes its output when it successfully
identifies the video standard in tw5864_input. We get a warning here because
gcc can't always track the state if initialized warnings across a WARN()
macro, and thinks it might get used incorrectly in tw5864_s_parm:

media/pci/tw5864/tw5864-video.c: In function 'tw5864_s_parm':
media/pci/tw5864/tw5864-video.c:816:38: error: 'time_base.numerator' may be used uninitialized in this function [-Werror=maybe-uninitialized]
media/pci/tw5864/tw5864-video.c:819:31: error: 'time_base.denominator' may be used uninitialized in this function [-Werror=maybe-uninitialized]

Using dev_warn() instead of WARN() avoids the __branch_check__() in
unlikely and lets the compiler see that the initialization is correct.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Andrey Utkin <andrey.utkin@corp.bluecherry.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-03-22 10:12:54 -03:00
..
b2c2 [media] b2c2: fix spelling mistake: "Contunuity" -> "Continuity" 2017-01-30 15:45:34 -02:00
bt8xx [media] tveeprom: get rid of unused arg on tveeprom_hauppauge_analog() 2017-03-03 07:35:02 -03:00
cobalt [media] cobalt: fix spelling mistake: "Celcius" -> "Celsius" 2017-01-30 15:45:06 -02:00
cx18 Linux 4.11-rc1 2017-03-06 06:49:34 -03:00
cx88 [media] tveeprom: get rid of unused arg on tveeprom_hauppauge_analog() 2017-03-03 07:35:02 -03:00
cx23885 [media] tveeprom: get rid of unused arg on tveeprom_hauppauge_analog() 2017-03-03 07:35:02 -03:00
cx25821 [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ddbridge [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dm1105 [media] media: fix dm1105.c build error 2017-01-31 07:57:14 -02:00
dt3155 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
ivtv [media] ivtv: improve subscribe_event handling 2017-03-22 10:10:50 -03:00
mantis [media] mantis_dvb: fix some error codes in mantis_dvb_init() 2017-02-03 14:50:35 -02:00
meye [media] media: pci: meye: set error code on failures 2017-02-03 08:01:30 -02:00
netup_unidvb [media] netup_unidvb: use module_pci_driver 2016-11-22 16:30:03 -02:00
ngene [media] ngene: drop ngene_link_reset() 2017-02-03 11:35:59 -02:00
pluto2 [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
pt1 sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
pt3 sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
saa7134 [media] tveeprom: get rid of unused arg on tveeprom_hauppauge_analog() 2017-03-03 07:35:02 -03:00
saa7146 [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
saa7164 Linux 4.11-rc1 2017-03-06 06:49:34 -03:00
smipcie [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
solo6x10 [media] solo6x10: improve subscribe event handling 2017-03-22 10:11:12 -03:00
sta2x11 [media] media: pci: constify vb2_ops structure 2017-02-03 14:23:39 -02:00
ttpci [media] ttpci: address stringop overflow warning 2017-02-08 11:46:07 -02:00
tw68 [media] tw68: don't break long lines 2016-10-21 09:29:44 -02:00
tw686x [media] tw686x: silent -Wformat-security warning 2017-02-03 07:20:19 -02:00
tw5864 [media] tw5864: use dev_warn instead of WARN to shut up warning 2017-03-22 10:12:54 -03:00
zoran sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
Kconfig [media] pci: Add tw5864 driver 2016-08-24 11:17:22 -03:00
Makefile [media] pci: Add tw5864 driver 2016-08-24 11:17:22 -03:00