cx23885-dvb.c: In function 'cx23885_sp2_ci_ctrl':
cx23885-dvb.c:675:13: warning: 'tmp' may be used uninitialized in this function 
[-Wmaybe-uninitialized]
  *mem = tmp & 0xff;
             ^

diff --git a/drivers/media/pci/cx23885/cx23885-dvb.c 
b/drivers/media/pci/cx23885/cx23885-dvb.c
index 7578549..577d2e9 100644
--- a/drivers/media/pci/cx23885/cx23885-dvb.c
+++ b/drivers/media/pci/cx23885/cx23885-dvb.c
@@ -635,7 +635,7 @@ static int cx23885_sp2_ci_ctrl(void *priv, u8 read, int 
addr,
        struct cx23885_tsport *port = priv;
        struct cx23885_dev *dev = port->dev;
        int ret;
-       int tmp;
+       int tmp = 0;
        unsigned long timeout;
 
        mutex_lock(&dev->gpio_lock);
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to