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

Commit cf659abc authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "input: misc: Fix misleading indentation warning for qt-haptics.c"

parents bbfa63de 5f372174
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 */

#include <linux/slab.h>
@@ -253,7 +253,7 @@ int ion_hyp_assign_from_flags(u64 base, u64 size, unsigned long flags)

	if ((flags & ~ION_FLAGS_CP_MASK) ||
	    populate_vm_list(flags, vmids, nr)) {
		pr_err("%s: Failed to parse secure flags 0x%x\n", __func__,
		pr_err("%s: Failed to parse secure flags 0x%lx\n", __func__,
		       flags);
		goto out;
	}
@@ -266,7 +266,8 @@ int ion_hyp_assign_from_flags(u64 base, u64 size, unsigned long flags)

	ret = hyp_assign_phys(base, size, &src_vm, 1, vmids, modes, nr);
	if (ret)
		pr_err("%s: Assign call failed, flags 0x%x\n", __func__, flags);
		pr_err("%s: Assign call failed, flags 0x%lx\n", __func__,
		       flags);

out:
	kfree(modes);
+3 −3
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2014-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2014-2019, The Linux Foundation. All rights reserved.
 */

#include <linux/slab.h>
@@ -104,7 +104,7 @@ static void process_one_prefetch(struct ion_heap *sys_heap,
	ret = sys_heap->ops->allocate(sys_heap, &buffer, info->size,
					buffer.flags);
	if (ret) {
		pr_debug("%s: Failed to prefetch 0x%zx, ret = %d\n",
		pr_debug("%s: Failed to prefetch 0x%llx, ret = %d\n",
			 __func__, info->size, ret);
		return;
	}
@@ -165,7 +165,7 @@ static void process_one_shrink(struct ion_heap *sys_heap,
	size = min_t(size_t, pool_size, info->size);
	ret = sys_heap->ops->allocate(sys_heap, &buffer, size, buffer.flags);
	if (ret) {
		pr_debug("%s: Failed to shrink 0x%zx, ret = %d\n",
		pr_debug("%s: Failed to shrink 0x%llx, ret = %d\n",
			 __func__, info->size, ret);
		return;
	}
+3 −3

File changed.

Contains only whitespace changes.