Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90f96869 authored by Dhoat Harpal's avatar Dhoat Harpal
Browse files

soc: qcom: glink_ssr: Fix uninitialized variable



Initialize ss_info_leaf variable in glink_ssr_probe.

CRs-Fixed: 1067981
Change-Id: I82b08ff548a9abb0538a0ba24f699a99547ec7b7
Signed-off-by: default avatarDhoat Harpal <hdhoat@codeaurora.org>
parent d3e41c96
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -769,7 +769,7 @@ static int glink_ssr_probe(struct platform_device *pdev)
	struct device_node *phandle_node;
	struct restart_notifier_block *nb;
	struct subsys_info *ss_info;
	struct subsys_info_leaf *ss_info_leaf;
	struct subsys_info_leaf *ss_info_leaf = NULL;
	struct glink_link_info *link_info;
	char *key;
	const char *edge;