summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_legacy.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-12-18 14:22:21 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-12-18 15:20:44 -0200
commitf0b0faff78c2c2e8efe843de55405a1f0470b8c4 (patch)
tree8a4c6e4e26a5c38f63f813cf2e82b223f7254955 /include/drm/drm_legacy.h
parentaee5f29e5afa094e07cc5dabbef460d747b528d4 (diff)
downloadtalos-op-linux-f0b0faff78c2c2e8efe843de55405a1f0470b8c4.tar.gz
talos-op-linux-f0b0faff78c2c2e8efe843de55405a1f0470b8c4.zip
[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>
Diffstat (limited to 'include/drm/drm_legacy.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud