From 190d9a6a98028f48440ba1b0dec144ae3e32e0e1 Mon Sep 17 00:00:00 2001 From: Prasad Sodagudi Date: Mon, 13 Jan 2020 06:19:13 -0800 Subject: [PATCH] msm:ipa: Address the -Wmisleading-indentation warning There is braces missing for the if condition and leads to warning of drivers/platform/msm/ipa/ipa_v3/ipa.c:3337:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]. Fixed warning with proper braces for the if loop. Change-Id: I8849450d88711fd19d43f3598ebd2497cf9ecae5 Signed-off-by: Prasad Sodagudi --- drivers/platform/msm/ipa/ipa_v3/ipa.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa.c b/drivers/platform/msm/ipa/ipa_v3/ipa.c index 66b304309670..09141778a4af 100644 --- a/drivers/platform/msm/ipa/ipa_v3/ipa.c +++ b/drivers/platform/msm/ipa/ipa_v3/ipa.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. */ #include @@ -3332,9 +3332,10 @@ static int ipa3_q6_clean_q6_rt_tbls(enum ipa_ip_type ip, } desc = kcalloc(2, sizeof(struct ipa3_desc), GFP_KERNEL); - if (!desc) + if (!desc) { retval = -ENOMEM; goto free_empty_img; + } cmd_pyld = kcalloc(2, sizeof(struct ipahal_imm_cmd_pyld *), GFP_KERNEL); if (!cmd_pyld) {