diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-12-18 17:15:56 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-12-18 17:15:56 +0100 |
commit | aee5f29e5afa094e07cc5dabbef460d747b528d4 (patch) | |
tree | 773340d6c37ff78c03ef0c509043547b1082ca2d /drivers/media/pci | |
parent | [media] videobuf2: avoid memory leak on errors (diff) | |
download | linux-aee5f29e5afa094e07cc5dabbef460d747b528d4.tar.xz linux-aee5f29e5afa094e07cc5dabbef460d747b528d4.zip |
[media] cx23885-dvb: initialize a8293_pdata
As reported by smatch:
drivers/media/pci/cx23885/cx23885-dvb.c:2174 dvb_register() info: 'a8293_pdata' is not actually initialized (unreached code).
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r-- | drivers/media/pci/cx23885/cx23885-dvb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/cx23885/cx23885-dvb.c b/drivers/media/pci/cx23885/cx23885-dvb.c index 5378d9380c05..adabb0bc21ad 100644 --- a/drivers/media/pci/cx23885/cx23885-dvb.c +++ b/drivers/media/pci/cx23885/cx23885-dvb.c @@ -2171,7 +2171,7 @@ static int dvb_register(struct cx23885_tsport *port) case CX23885_BOARD_HAUPPAUGE_HVR5525: switch (port->nr) { struct m88rs6000t_config m88rs6000t_config; - struct a8293_platform_data a8293_pdata = {}; + struct a8293_platform_data a8293_pdata = { 0 }; /* port b - satellite */ case 1: |