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

Commit 1e954f34 authored by Sumukh Hallymysore Ravindra's avatar Sumukh Hallymysore Ravindra Committed by Gerrit - the friendly Code Review server
Browse files

msm: synx: Fix accessing uninitialized variable



Change fixes accessing possible uninitialized
variable in an error log.

Change-Id: Ibc72faddb7073c0408c2c822991b9835992dffaf
Signed-off-by: default avatarSumukh Hallymysore Ravindra <shallymy@codeaurora.org>
parent 0d384b92
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2019-2021, The Linux Foundation. All rights reserved.
 */
#define pr_fmt(fmt) "synx: " fmt

@@ -158,8 +158,8 @@ void synx_util_object_destroy(struct synx_coredata *synx_obj)
		data = bind_desc->external_data;
		bind_ops = synx_util_get_bind_ops(type);
		if (!bind_ops) {
			pr_err("bind ops fail id: %d, type: %u, err: %d\n",
				sync_id, type, rc);
			pr_err("bind ops fail id: %d, type: %u\n",
				sync_id, type);
			continue;
		}