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

Commit 190d9a6a authored by Prasad Sodagudi's avatar Prasad Sodagudi
Browse files

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: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent 937b09de
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
// 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 <linux/clk.h>
@@ -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) {