mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
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:
parent
f64d2bf563
commit
6e9760c26f
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue