mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
msm: synx: Fix accessing uninitialized variable
Change fixes accessing possible uninitialized variable in an error log. Change-Id: Ibc72faddb7073c0408c2c822991b9835992dffaf Signed-off-by: Sumukh Hallymysore Ravindra <shallymy@codeaurora.org>
This commit is contained in:
parent
0d384b92bf
commit
1e954f343d
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// 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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue