Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Dec 1, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 9 lines · Stephen Rothwell

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)",
| ~^

Ugh. Thank you. It looks like my unfixed tree got pushed; apologies. This has been corrected now.

Signature · 1 line
Kees Cook