[media] cx23885-dvb: initialize a8293_pdata
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 18 Dec 2015 16:15:56 +0000 (14:15 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 18 Dec 2015 16:15:56 +0000 (14:15 -0200)
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>
drivers/media/pci/cx23885/cx23885-dvb.c

index 5378d9380c05fb3df7728fb73cfb0198a4452285..adabb0bc21adfdf8126b43c0fd620749e99dbc59 100644 (file)
@@ -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: