diff options
author | Takashi Iwai <[email protected]> | 2024-09-02 08:22:16 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2024-09-02 10:17:42 +0200 |
commit | 3606f92de365c0189c13e25a94654257751732ef (patch) | |
tree | d279f8cad49a2d55d863b9fb14b27092baadb8f2 | |
parent | 2657539a27149b22aec6766831fc69ad36548cb1 (diff) |
ALSA: pcm: Fix yet more compile warning at replacement with kstrtoul()
The previous fix brought yet another compile warning at pr_debug()
call with the changed size.
Reported-by: Stephen Rothwell <[email protected]>
Closes: https://lore.kernel.org/[email protected]
Fixes: 43b42ed438bf ("ALSA: pcm: Fix the previous conversion to kstrtoul()")
Tested-by: Stephen Rothwell <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
-rw-r--r-- | sound/core/pcm_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm_memory.c b/sound/core/pcm_memory.c index 5001181208df..ea3941f8666b 100644 --- a/sound/core/pcm_memory.c +++ b/sound/core/pcm_memory.c @@ -212,7 +212,7 @@ static void snd_pcm_lib_preallocate_proc_write(struct snd_info_entry *entry, substream->stream, size, &new_dmab) < 0) { buffer->error = -ENOMEM; - pr_debug("ALSA pcmC%dD%d%c,%d:%s: cannot preallocate for size %zu\n", + pr_debug("ALSA pcmC%dD%d%c,%d:%s: cannot preallocate for size %lu\n", substream->pcm->card->number, substream->pcm->device, substream->stream ? 'c' : 'p', substream->number, substream->pcm->name, size); |