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

Commit acd07ba2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "thermal: lmh_debug: Add braces around suspicious indented code"

parents 2f68ff0f b95e3add
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -315,11 +315,12 @@ static int lmh_get_recurssive_data(struct scm_desc *desc_arg, uint32_t cmd_idx,
			pr_err("No LMH device supported.\n");
			return -ENODEV;
		}
		if (!dest_buf)
		if (!dest_buf) {
			dest_buf = devm_kcalloc(lmh_data->dev, *size,
				sizeof(*dest_buf), GFP_KERNEL);
			if (!dest_buf)
				return -ENOMEM;
		}

		for (idx = next;
			idx < min((next + LMH_SCM_PAYLOAD_SIZE), *size);