Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 3 messages Dec 16, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the mm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

In file included from fs/btrfs/tree-checker.c:20:
include/linux/error-injection.h: In function 'get_injectable_error_type':
include/linux/error-injection.h:22:17: error: 'EOPNOTSUPP' undeclared (first use in this function)

   22 |         return -EOPNOTSUPP;
      |                 ^~~~~~~~~~

include/linux/error-injection.h:22:17: note: each undeclared identifier is reported only once for each function it appears in

Caused by commit

fcb9954aa1dc ("error-injection: remove EI_ETYPE_NONE")

I have reverted that commit for today (and the following one).

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 10 lines · On Fri, 16 Dec 2022 11:21:21 +1100 Stephen Rothwell <[email protected]>…

Hi all,

After merging the mm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

In file included from fs/btrfs/tree-checker.c:20:
include/linux/error-injection.h: In function 'get_injectable_error_type':
include/linux/error-injection.h:22:17: error: 'EOPNOTSUPP' undeclared (first use in this function)

   22 |         return -EOPNOTSUPP;
      |                 ^~~~~~~~~~
Quoted 7 lines

include/linux/error-injection.h:22:17: note: each undeclared identifier is reported only once for each function it appears in

Caused by commit

fcb9954aa1dc ("error-injection: remove EI_ETYPE_NONE")

I have reverted that commit for today (and the following one).

Thanks. I'll try the obvious:

include/linux/error-injection.h renamed from include/linux/error-injection.h~error-injection-remove-ei_etype_none-fix +1 -0
@@ -4,6 +4,7 @@
 
 #include <linux/compiler.h>
 #include <asm-generic/error-injection.h>
+#include <linux/errno.h>
 
 #ifdef CONFIG_FUNCTION_ERROR_INJECTION
 

_

#2 lore raw
Quoted 14 lines · On Thu, 15 Dec 2022 16:35:48 -0800 Andrew Morton <[email protected]>…
Quoted 12 lines · On Fri, 16 Dec 2022 11:21:21 +1100 Stephen Rothwell <[email protected]>…

Hi all,

After merging the mm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

In file included from fs/btrfs/tree-checker.c:20:
include/linux/error-injection.h: In function 'get_injectable_error_type':
include/linux/error-injection.h:22:17: error: 'EOPNOTSUPP' undeclared (first use in this function)

   22 |         return -EOPNOTSUPP;
      |                 ^~~~~~~~~~

include/linux/error-injection.h:22:17: note: each undeclared identifier is reported only once for each function it appears in

Quoted 7 lines
Quoted 5 lines

Caused by commit

fcb9954aa1dc ("error-injection: remove EI_ETYPE_NONE")

I have reverted that commit for today (and the following one).

Thanks. I'll try the obvious:

I sent v2 but it seems to be missed.

https://lore.kernel.org/all/167094068123.608798.9238149148720683524.stgit@devnote3/T/#u

Either your patch or v2 are OK for me. (doing the same thing)

Thank you,

Quoted 13 lines
include/linux/error-injection.h renamed from include/linux/error-injection.h~error-injection-remove-ei_etype_none-fix +1 -0
@@ -4,6 +4,7 @@
 
 #include <linux/compiler.h>
 #include <asm-generic/error-injection.h>
+#include <linux/errno.h>
 
 #ifdef CONFIG_FUNCTION_ERROR_INJECTION
 

_

Signature · 1 line
Masami Hiramatsu (Google) <[email protected]>