projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
soc: qcom: pdr: Avoid uninitialized use of found in pdr_indication_cb
[linux-2.6-microblaze.git]
/
drivers
/
soc
/
qcom
/
pdr_interface.c
diff --git
a/drivers/soc/qcom/pdr_interface.c
b/drivers/soc/qcom/pdr_interface.c
index
7ee088b
..
17ad3b8
100644
(file)
--- a/
drivers/soc/qcom/pdr_interface.c
+++ b/
drivers/soc/qcom/pdr_interface.c
@@
-306,7
+306,7
@@
static void pdr_indication_cb(struct qmi_handle *qmi,
const struct servreg_state_updated_ind *ind_msg = data;
struct pdr_list_node *ind;
struct pdr_service *pds;
- bool found;
+ bool found
= false
;
if (!ind_msg || !ind_msg->service_path[0] ||
strlen(ind_msg->service_path) > SERVREG_NAME_LENGTH)