alistair23-linux/drivers/media/pci/cx23885
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
..
altera-ci.c
altera-ci.h
cimax2.c
cimax2.h
cx23885-417.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
cx23885-alsa.c
cx23885-av.c
cx23885-av.h
cx23885-cards.c [media] cx23885: add support for ViewCast 260e and 460e 2015-12-18 13:36:43 -02:00
cx23885-core.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
cx23885-dvb.c [media] cx23885-dvb: move initialization of a8293_pdata 2015-12-18 15:20:44 -02:00
cx23885-f300.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
cx23885-f300.h [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
cx23885-i2c.c [media] cx23885: add support for ViewCast 260e and 460e 2015-12-18 13:36:43 -02:00
cx23885-input.c [media] media: cx23885: fix type of allowed_protos 2015-11-19 11:54:21 -02:00
cx23885-input.h
cx23885-ioctl.c
cx23885-ioctl.h
cx23885-ir.c
cx23885-ir.h
cx23885-reg.h
cx23885-vbi.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
cx23885-video.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
cx23885-video.h
cx23885.h [media] cx23885: add support for ViewCast 260e and 460e 2015-12-18 13:36:43 -02:00
cx23888-ir.c
cx23888-ir.h
Kconfig [media] cx23885: add support for ViewCast 260e and 460e 2015-12-18 13:36:43 -02:00
Makefile
netup-eeprom.c
netup-eeprom.h
netup-init.c
netup-init.h