Staging: sb105x: info leak in mp_get_count()
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / staging / sb105x / sb_pci_mp.c
index 23db32f..a10cdb1 100644 (file)
@@ -1063,7 +1063,7 @@ static int mp_wait_modem_status(struct sb_uart_state *state, unsigned long arg)
 
 static int mp_get_count(struct sb_uart_state *state, struct serial_icounter_struct *icnt)
 {
-       struct serial_icounter_struct icount;
+       struct serial_icounter_struct icount = {};
        struct sb_uart_icount cnow;
        struct sb_uart_port *port = state->port;