summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-02-16 03:05:17 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-16 03:05:16 -0800
commit007f16c6873d66466059c4487461d473ecb8fdf6 (patch)
treef947fa252a51263b8ae8ac5439f1da4ef4c03f85
parentf7050a38c1e23790eaee50523052ff14f18626a3 (diff)
parent888ddad8b13f9f64dbee233c98fa5cf7f8662dc3 (diff)
Merge "diag: dci: Initialize the stat variable before using it"
-rw-r--r--drivers/char/diag/diag_dci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/diag/diag_dci.c b/drivers/char/diag/diag_dci.c
index d908e0a5885e..4748012a37cd 100644
--- a/drivers/char/diag/diag_dci.c
+++ b/drivers/char/diag/diag_dci.c
@@ -1462,7 +1462,7 @@ void diag_dci_channel_open_work(struct work_struct *work)
void diag_dci_notify_client(int peripheral_mask, int data, int proc)
{
- int stat;
+ int stat = 0;
struct siginfo info;
struct list_head *start, *temp;
struct diag_dci_client_tbl *entry = NULL;