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>master
parent
3416431ed2
commit
59b026da00
|
|
@ -892,7 +892,7 @@ static void cs_hsi_data_enable(struct cs_hsi_iface *hi,
|
|||
|
||||
data_start = L1_CACHE_ALIGN(sizeof(*hi->mmap_cfg));
|
||||
dev_dbg(&hi->cl->device,
|
||||
"setting data start at %u, cfg block %u, align %u\n",
|
||||
"setting data start at %u, cfg block %zu, align %u\n",
|
||||
data_start, sizeof(*hi->mmap_cfg), L1_CACHE_BYTES);
|
||||
|
||||
for (i = 0; i < hi->mmap_cfg->rx_bufs; i++) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue