linux/drivers/media
Mauro Carvalho Chehab f0b0faff78 [media] cx23885-dvb: move initialization of a8293_pdata
Smatch complains about where the au8293_data is placed:

drivers/media/pci/cx23885/cx23885-dvb.c:2174 dvb_register() info: 'a8293_pdata' is not actually initialized (unreached code).

It is not actually expected to have such initialization at

switch {
	foo = bar;

	case:
...
}

Not really sure how gcc does that, but this is something that I would
expect that different compilers would do different things.

David Howells checked with the compiler people: it's not really expected to
initialise as expected.

So, move the initialization outside the switch(), making smatch to
shut up one warning.

Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-12-18 15:20:44 -02:00
..
common smsir.h: remove a now duplicated definition (IR_DEFAULT_TIMEOUT) 2015-11-19 11:41:36 -02:00
dvb-core [media] fix dvb_frontend_sleep_until() logic 2015-11-19 11:57:08 -02:00
dvb-frontends [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
firewire [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
i2c [media] cs3308: add new 8-channel volume control driver 2015-12-18 13:35:51 -02:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] cx23885-dvb: move initialization of a8293_pdata 2015-12-18 15:20:44 -02:00
platform [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
radio [media] media, sound: tea575x: constify snd_tea575x_ops structures 2015-12-03 11:26:45 -02:00
rc [media] media: rc: remove unneeded code 2015-12-03 15:01:11 -02:00
tuners [media] tv tuner max2165 driver: extend frequency range 2015-11-19 11:19:42 -02:00
usb [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
v4l2-core [media] videobuf2: avoid memory leak on errors 2015-12-18 14:13:38 -02:00
Kconfig [media] use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:38:59 -02:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c
media-devnode.c
media-entity.c [media] media-entity.c: get rid of var length arrays 2015-10-01 18:10:05 -03:00