linux-next: build failure after merge of the kspp tree

From: Stephen Rothwell
Date: Wed Nov 30 2022 - 22:08:06 EST


Hi all,

After merging the kspp tree, today's linux-next build (x86_64
allmodconfig) failed like this:

kernel/panic.c: In function 'check_panic_on_warn':
kernel/panic.c:238:25: error: format '%s' expects argument of type 'char *', but argument 2 has type 'unsigned int' [-Werror=format=]
238 | panic("%s: system warned too often (kernel.warn_limit is %d)",
| ~^
| |
| char *
| %d
239 | warn_limit);
| ~~~~~~~~~~
| |
| unsigned int
kernel/panic.c:238:75: error: format '%d' expects a matching 'int' argument [-Werror=format=]
238 | panic("%s: system warned too often (kernel.warn_limit is %d)",
| ~^
| |
| int

Caused by commit

480e0e1d4817 ("panic: Introduce warn_limit")

I have used the kspp tree from next-20221130 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpuEKKh42voV.pgp
Description: OpenPGP digital signature