From 638fb42215c57d5ac8d2cc0617c02998a21be8e6 Mon Sep 17 00:00:00 2001 From: Bard Liao <yung-chuan.liao@linux.intel.com> Date: Fri, 24 Jan 2025 10:01:12 +0800 Subject: [PATCH] fixup! soundwire: debugfs: add interface for BPT/BRA transfers fix the print type of size_t. Reported by build test / GCC build i386 (pull_request) Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> --- drivers/soundwire/debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soundwire/debugfs.c b/drivers/soundwire/debugfs.c index 2348e43e9e80ad..b3db8cd5afdf68 100644 --- a/drivers/soundwire/debugfs.c +++ b/drivers/soundwire/debugfs.c @@ -297,7 +297,7 @@ static int cmd_go(void *data, u64 value) pm_runtime_mark_last_busy(&slave->dev); pm_runtime_put(&slave->dev); - dev_dbg(&slave->dev, "command completed, num_byte %ld status %d, time %lld ms\n", + dev_dbg(&slave->dev, "command completed, num_byte %zu status %d, time %lld ms\n", num_bytes, ret, div_u64(finish_t - start_t, NSEC_PER_MSEC)); return ret;