Skip to content

Commit 59b026d

Browse files
nehebsre
authored andcommitted
HSI: cmt_speech: fix wrong printf format
sizeof returns size_t. Use the zu specifier for it. Fixes on x86-64: error: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘long unsigned int’ [-Werror=format=] Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://patch.msgid.link/20260321034227.3900-1-rosenp@gmail.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
1 parent 3416431 commit 59b026d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hsi/clients/cmt_speech.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ static void cs_hsi_data_enable(struct cs_hsi_iface *hi,
892892

893893
data_start = L1_CACHE_ALIGN(sizeof(*hi->mmap_cfg));
894894
dev_dbg(&hi->cl->device,
895-
"setting data start at %u, cfg block %u, align %u\n",
895+
"setting data start at %u, cfg block %zu, align %u\n",
896896
data_start, sizeof(*hi->mmap_cfg), L1_CACHE_BYTES);
897897

898898
for (i = 0; i < hi->mmap_cfg->rx_bufs; i++) {

0 commit comments

Comments
 (0)