From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Takashi Iwai <tiwai@suse.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build warning after merge of the sound tree
Date: Mon, 2 Sep 2024 13:29:04 +1000 [thread overview]
Message-ID: <20240902132904.5ee173f3@canb.auug.org.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 1621 bytes --]
Hi all,
After merging the sound tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
In file included from include/asm-generic/bug.h:22,
from arch/arm/include/asm/bug.h:60,
from include/linux/bug.h:5,
from include/linux/io.h:12,
from sound/core/pcm_memory.c:7:
sound/core/pcm_memory.c: In function 'snd_pcm_lib_preallocate_proc_write':
include/linux/kern_levels.h:5:25: warning: format '%zu' expects argument of type 'size_t', but argument 7 has type 'long unsigned int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
include/linux/printk.h:135:25: note: in definition of macro 'no_printk'
135 | _printk(fmt, ##__VA_ARGS__); \
| ^~~
include/linux/kern_levels.h:15:25: note: in expansion of macro 'KERN_SOH'
15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
| ^~~~~~~~
include/linux/printk.h:620:19: note: in expansion of macro 'KERN_DEBUG'
620 | no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~
sound/core/pcm_memory.c:215:33: note: in expansion of macro 'pr_debug'
215 | pr_debug("ALSA pcmC%dD%d%c,%d:%s: cannot preallocate for size %zu\n",
| ^~~~~~~~
Introduced by commit
43b42ed438bf ("ALSA: pcm: Fix the previous conversion to kstrtoul()")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2024-09-02 3:29 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-02 3:29 Stephen Rothwell [this message]
2024-09-02 6:22 ` linux-next: build warning after merge of the sound tree Takashi Iwai
2024-09-02 6:49 ` Stephen Rothwell
2024-09-02 6:54 ` Stephen Rothwell
-- strict thread matches above, loose matches on Subject: below --
2025-07-15 7:04 Stephen Rothwell
2023-08-25 5:29 Stephen Rothwell
2023-08-25 9:24 ` Takashi Iwai
2023-02-08 23:48 Stephen Rothwell
2023-02-09 3:14 ` Stephen Rothwell
2021-08-23 10:00 Stephen Rothwell
2021-08-23 14:27 ` Takashi Iwai
2020-05-01 4:03 Stephen Rothwell
2020-05-01 7:33 ` Takashi Iwai
2019-12-12 0:28 Stephen Rothwell
2019-01-21 0:21 Stephen Rothwell
2019-01-21 8:13 ` Takashi Iwai
2010-03-30 3:48 Stephen Rothwell
2010-03-30 6:07 ` Takashi Iwai
2010-02-23 5:07 Stephen Rothwell
2010-02-23 5:20 ` Luke Yelavich
2010-02-23 7:11 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240902132904.5ee173f3@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox