projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2657539
)
ALSA: pcm: Fix yet more compile warning at replacement with kstrtoul()
author
Takashi Iwai
<tiwai@suse.de>
Mon, 2 Sep 2024 06:22:16 +0000
(08:22 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 2 Sep 2024 08:17:42 +0000
(10:17 +0200)
The previous fix brought yet another compile warning at pr_debug()
call with the changed size.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/
20240902132904
.
5ee173f3
@canb.auug.org.au
Fixes:
43b42ed438bf
("ALSA: pcm: Fix the previous conversion to kstrtoul()")
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link:
https://patch.msgid.link/20240902062217.9777-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_memory.c
patch
|
blob
|
history
diff --git
a/sound/core/pcm_memory.c
b/sound/core/pcm_memory.c
index 5001181208df4b6f2131040b3780c6a9c3273574..ea3941f8666b2dbc8c555955cb9e6f6f4cae32b7 100644
(file)
--- 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 %
z
u\n",
+ pr_debug("ALSA pcmC%dD%d%c,%d:%s: cannot preallocate for size %
l
u\n",
substream->pcm->card->number, substream->pcm->device,
substream->stream ? 'c' : 'p', substream->number,
substream->pcm->name, size);