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: Hemant Kumar <hemantk@codeaurora.org>
This commit is contained in:
Hemant Kumar 2021-01-20 18:58:34 -08:00
commit 6e9760c26f

View file

@ -1,5 +1,5 @@
// 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);
}