From: Mauro Carvalho Chehab Date: Fri, 18 Dec 2015 16:15:56 +0000 (-0200) Subject: [media] cx23885-dvb: initialize a8293_pdata X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aee5f29e5afa094e07cc5dabbef460d747b528d4;p=linux-beck.git [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 --- 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: