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

Commit 1c65a376 authored by Anant Goel's avatar Anant Goel
Browse files

msm: vidc: Fix formatting error for dprintk



This patch changes '%d' to '%lld' and '%ld' to match
the data type.

Change-Id: I0313c9ced691932924a793b5d2edc3adb5d6b615
Signed-off-by: default avatarAnant Goel <anantg@codeaurora.org>
parent 7aeef01a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -179,7 +179,7 @@ static ssize_t debug_level_write(struct file *filp, const char __user *buf,

	/* filter partial writes and invalid commands */
	if (*ppos != 0 || count >= sizeof(kbuf) || count == 0) {
		dprintk(VIDC_ERR, "returning error - pos %d, count %d\n",
		dprintk(VIDC_ERR, "returning error - pos %lld, count %ld\n",
			*ppos, count);
		rc = -EINVAL;
	}