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

Commit 6e9760c2 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

mhi: core: Fix format specifier in mhi_alloc_bhie_table



BHIe table size is printed incorrectly as unsigned long.
size is of type size_t hence use %zu instead of %lu.

Change-Id: Ic52bc6ea92e6dac8bd1e275f9a17986d08e2da79
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent f64d2bf5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. */
/* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. */

#include <linux/debugfs.h>
#include <linux/delay.h>
@@ -524,7 +524,7 @@ int mhi_alloc_bhie_table(struct mhi_controller *mhi_cntrl,
		if (!mhi_buf->buf)
			goto error_alloc_segment;

		MHI_CNTRL_LOG("Entry:%d Address:0x%llx size:%lu\n", i,
		MHI_CNTRL_LOG("Entry:%d Address:0x%llx size:%zu\n", i,
			mhi_buf->dma_addr, mhi_buf->len);
	}