public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the mm-nonmm-unstable tree
@ 2025-11-16 23:23 Stephen Rothwell
  2025-11-19 23:14 ` Stephen Rothwell
  0 siblings, 1 reply; 23+ messages in thread
From: Stephen Rothwell @ 2025-11-16 23:23 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Eric Dumazet, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1801 bytes --]

Hi all,

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

error[E0425]: cannot find function `rb_first` in crate `bindings`
   --> rust/kernel/rbtree.rs:209:42
    |
209 |                 next: unsafe { bindings::rb_first(&self.root) },
    |                                          ^^^^^^^^ not found in `bindings`

error[E0425]: cannot find function `rb_first` in crate `bindings`
   --> rust/kernel/rbtree.rs:224:42
    |
224 |                 next: unsafe { bindings::rb_first(from_mut(&mut self.root)) },
    |                                          ^^^^^^^^ not found in `bindings`

error[E0425]: cannot find function `rb_first` in crate `bindings`
   --> rust/kernel/rbtree.rs:249:42
    |
249 |         let current = unsafe { bindings::rb_first(root) };
    |                                          ^^^^^^^^ not found in `bindings`

error[E0425]: cannot find function `rb_last` in crate `bindings`
     --> rust/kernel/rbtree.rs:264:42
      |
264   |         let current = unsafe { bindings::rb_last(root) };
      |                                          ^^^^^^^ help: a function with a similar name exists: `sg_last`
      |
     ::: rust/bindings/bindings_generated.rs:90155:5
      |
90155 |     pub fn sg_last(s: *mut scatterlist, arg1: ffi::c_uint) -> *mut scatterlist;
      |     --------------------------------------------------------------------------- similarly named function `sg_last` defined here

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0425`.

Caused by commit

  84aa8c5fc414 ("rbtree: inline rb_first()")

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

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the mm-nonmm-unstable tree
@ 2026-03-17 14:32 Mark Brown
  2026-03-17 15:06 ` Mathieu Desnoyers
  0 siblings, 1 reply; 23+ messages in thread
From: Mark Brown @ 2026-03-17 14:32 UTC (permalink / raw)
  To: Andrew Morton, David Carlier, Mathieu Desnoyers, Josh Law
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 2023 bytes --]

Hi all,

After merging the mm-unstable tree, today's linux-next build (arm64
kunit) failed like this:

[13:30:42] # hpcc_test_compare_value_boundaries: EXPECTATION FAILED at lib/tests/percpu_counter_tree_kunit.c:157
[13:30:42] Expected 1 == percpu_counter_tree_precise_compare_value(&pct, (long)under), but
[13:30:42]     percpu_counter_tree_precise_compare_value(&pct, (long)under) == 0 (0x0)
[13:30:42] # hpcc_test_compare_value_boundaries: EXPECTATION FAILED at lib/tests/percpu_counter_tree_kunit.c:160
[13:30:42] Expected -1 == percpu_counter_tree_precise_compare_value(&pct, -(long)over), but
[13:30:42]     percpu_counter_tree_precise_compare_value(&pct, -(long)over) == 0 (0x0)
[13:30:42] [FAILED] hpcc_test_compare_value_boundaries
[13:30:42] # hpcc_test_compare_counter_boundaries: EXPECTATION FAILED at lib/tests/percpu_counter_tree_kunit.c:246
[13:30:42] Expected 1 == percpu_counter_tree_precise_compare(&pct[0], &pct[1]), but
[13:30:42]     percpu_counter_tree_precise_compare(&pct[0], &pct[1]) == 0 (0x0)
[13:30:42] # hpcc_test_compare_counter_boundaries: EXPECTATION FAILED at lib/tests/percpu_counter_tree_kunit.c:251
[13:30:42] Expected -1 == percpu_counter_tree_precise_compare(&pct[0], &pct[1]), but
[13:30:42]     percpu_counter_tree_precise_compare(&pct[0], &pct[1]) == 0 (0x0)
[13:30:42] [FAILED] hpcc_test_compare_counter_boundaries
[13:30:42] [PASSED] hpcc_test_init_one
[13:30:42] [PASSED] hpcc_test_set
[13:30:42]     # module: percpu_counter_tree_kunit
[13:30:42] # percpu_counter_tree: pass:8 fail:2 skip:0 total:10

...

[13:30:47] Testing complete. Ran 9088 tests: passed: 9015, failed: 2, skipped: 71
[13:30:47] Failures: percpu_counter_tree.hpcc_test_compare_value_boundaries, percpu_counter_tree.hpcc_test_compare_counter_boundaries

Triggered by commit

  ebc1ff504f557 (lib: add kunit boundary tests for percpu_counter_tree comparisons)

though as it's a newly added test it's obviously entirely plausible that
it's flagging an existing bug.  I used the tree from next-20260316
instead.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the mm-nonmm-unstable tree
@ 2026-02-16 13:58 Mark Brown
  0 siblings, 0 replies; 23+ messages in thread
From: Mark Brown @ 2026-02-16 13:58 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

Hi all,

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

/tmp/next/build/drivers/input/misc/pf1550-onkey.c:179:8: error: extra tokens at end of #endif directive [-Werror=endif-labels]
  179 | #endif CONFIG_PM_SLEEP
      |        ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Caused by commit

  f88534a6e7afc (drivers/input/misc/pf1550-onkey.c: fix build with CONFIG_PM_SLEEP=n)

I have used the tree from 20260213 instead.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the mm-nonmm-unstable tree
@ 2025-12-18  4:30 Stephen Rothwell
  2025-12-21  2:58 ` Finn Thain
  0 siblings, 1 reply; 23+ messages in thread
From: Stephen Rothwell @ 2025-12-18  4:30 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Finn Thain, Peter Zijlstra, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 439 bytes --]

Hi all,

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

x86_64-linux-gnu-ld: error: unplaced orphan section `__bug_table' from `arch/x86/boot/compressed/sev-handle-vc.o'

Caused by commit

  e7980cd46155 ("atomic: add alignment check to instrumented atomic operations")

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

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the mm-nonmm-unstable tree
@ 2025-11-16 22:36 Stephen Rothwell
  0 siblings, 0 replies; 23+ messages in thread
From: Stephen Rothwell @ 2025-11-16 22:36 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Pasha Tatashin, Linux Kernel Mailing List,
	Linux Next Mailing List, Mike Rapoport (Microsoft),
	Pratyush Yadav

[-- Attachment #1: Type: text/plain, Size: 3360 bytes --]

Hi all,

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

In file included from drivers/of/fdt.c:28:
include/linux/kexec_handover.h:99:7: warning: no previous prototype for 'kho_alloc_preserve' [-Wmissing-prototypes]
   99 | void *kho_alloc_preserve(size_t size)
      |       ^~~~~~~~~~~~~~~~~~
include/linux/kexec_handover.h:104:6: warning: no previous prototype for 'kho_unpreserve_free' [-Wmissing-prototypes]
  104 | void kho_unpreserve_free(void *mem) { }
      |      ^~~~~~~~~~~~~~~~~~~
include/linux/kexec_handover.h:105:6: warning: no previous prototype for 'kho_restore_free' [-Wmissing-prototypes]
  105 | void kho_restore_free(void *mem) { }
      |      ^~~~~~~~~~~~~~~~
In file included from mm/mm_init.c:34:
include/linux/kexec_handover.h:99:7: warning: no previous prototype for 'kho_alloc_preserve' [-Wmissing-prototypes]
   99 | void *kho_alloc_preserve(size_t size)
      |       ^~~~~~~~~~~~~~~~~~
include/linux/kexec_handover.h:104:6: warning: no previous prototype for 'kho_unpreserve_free' [-Wmissing-prototypes]
  104 | void kho_unpreserve_free(void *mem) { }
      |      ^~~~~~~~~~~~~~~~~~~
include/linux/kexec_handover.h:105:6: warning: no previous prototype for 'kho_restore_free' [-Wmissing-prototypes]
  105 | void kho_restore_free(void *mem) { }
      |      ^~~~~~~~~~~~~~~~
ld: drivers/of/fdt.o: in function `kho_alloc_preserve':
fdt.c:(.text+0x9c0): multiple definition of `kho_alloc_preserve'; mm/mm_init.o:mm_init.c:(.text+0x230): first defined here
ld: drivers/of/fdt.o: in function `kho_unpreserve_free':
fdt.c:(.text+0x9d0): multiple definition of `kho_unpreserve_free'; mm/mm_init.o:mm_init.c:(.text+0x240): first defined here
ld: drivers/of/fdt.o: in function `kho_restore_free':
fdt.c:(.text+0x9e0): multiple definition of `kho_restore_free'; mm/mm_init.o:mm_init.c:(.text+0x250): first defined here

Caused by commit

  722b2ce4a04f ("kho: introduce high-level memory allocation API")

I have applied the following fix patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 17 Nov 2025 09:29:44 +1100
Subject: [PATCH] fix up for "kho: introduce high-level memory allocation API"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 include/linux/kexec_handover.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/kexec_handover.h b/include/linux/kexec_handover.h
index 6dd0dcdf0ec1..5f7b9de97e8d 100644
--- a/include/linux/kexec_handover.h
+++ b/include/linux/kexec_handover.h
@@ -96,13 +96,13 @@ static inline int kho_preserve_vmalloc(void *ptr,
 
 static inline void kho_unpreserve_vmalloc(struct kho_vmalloc *preservation) { }
 
-void *kho_alloc_preserve(size_t size)
+static inline void *kho_alloc_preserve(size_t size)
 {
 	return ERR_PTR(-EOPNOTSUPP);
 }
 
-void kho_unpreserve_free(void *mem) { }
-void kho_restore_free(void *mem) { }
+static inline void kho_unpreserve_free(void *mem) { }
+static inline void kho_restore_free(void *mem) { }
 
 static inline struct folio *kho_restore_folio(phys_addr_t phys)
 {
-- 
2.51.1

As a review nitpicks on that commit:  please do not do unrelated
formatting changes.  Also, there was not real reason for moving the
types.h include.
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the mm-nonmm-unstable tree
@ 2025-10-17 13:25 Mark Brown
  2025-10-17 21:34 ` Andrew Morton
  0 siblings, 1 reply; 23+ messages in thread
From: Mark Brown @ 2025-10-17 13:25 UTC (permalink / raw)
  To: Andrew Morton, Bala-Vignesh-Reddy, Wei Yang, David Hildenbrand,
	David S. Miller
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]

Hi all,

After merging the mm-nonmm-unstable tree, today's linux-next build
(x86 allmodconfig) failed like this:

In file included from /tmp/next/build/samples/vfs/test-list-all-mounts.c:11:
/tmp/next/build/samples/vfs/../../tools/testing/selftests/pidfd/pidfd.h:28:10: fatal error: kselftest.h: No such file or directory
   28 | #include "kselftest.h"
      |          ^~~~~~~~~~~~~
compilation terminated.
make[5]: *** [/tmp/next/build/scripts/Makefile.userprogs:29: samples/vfs/test-list-all-mounts] Error 1
make[4]: *** [/tmp/next/build/scripts/Makefile.build:556: samples/vfs] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/tmp/next/build/scripts/Makefile.build:556: samples] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/tmp/next/build/Makefile:2010: .] Error 2
make[1]: *** [/tmp/next/build/Makefile:248: __sub-make] Error 2
make: *** [Makefile:248: __sub-make] Error 2

Caused by commit

  f46a41a153634 (selftests: complete kselftest include centralization)

I have reverted that commit for today.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the mm-nonmm-unstable tree
@ 2025-09-01  1:17 Stephen Rothwell
  0 siblings, 0 replies; 23+ messages in thread
From: Stephen Rothwell @ 2025-09-01  1:17 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Bala-Vignesh-Reddy, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 577 bytes --]

Hi all,

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

In file included from samples/vfs/test-list-all-mounts.c:11:
samples/vfs/../../tools/testing/selftests/pidfd/pidfd.h:28:10: fatal error: kselftest.h: No such file or directory
   28 | #include "kselftest.h"
      |          ^~~~~~~~~~~~~

Caused by commit

  df420f0a4946 ("selftests: replace relative includes with non-relative for kselftest.h and kselftest_harness.h")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the mm-nonmm-unstable tree
@ 2025-07-11  0:58 Stephen Rothwell
  0 siblings, 0 replies; 23+ messages in thread
From: Stephen Rothwell @ 2025-07-11  0:58 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Rafael J. Wysocki, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1228 bytes --]

Hi all,

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

kernel/kexec_core.c: In function 'kernel_kexec':
kernel/kexec_core.c:1138:2: error: label 'Resume_console' defined but not used [-Werror=unused-label]
 1138 |  Resume_console:
      |  ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Caused by commit

  fbb5aa47e7b0 ("kexec_core: fix error code path in the KEXEC_JUMP flow")

I have applied the following fix patch.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 11 Jul 2025 10:35:39 +1000
Subject: [PATCH] fix up for "kexec_core: fix error code path in the KEXEC_JUMP flow"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 kernel/kexec_core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/kexec_core.c b/kernel/kexec_core.c
index 842611c0b51a..351cd7d76dfa 100644
--- a/kernel/kexec_core.c
+++ b/kernel/kexec_core.c
@@ -1135,7 +1135,6 @@ int kernel_kexec(void)
 		dpm_resume_start(PMSG_RESTORE);
  Resume_devices:
 		dpm_resume_end(PMSG_RESTORE);
- Resume_console:
 		console_resume_all();
 		thaw_processes();
  Restore_console:
-- 
2.50.0

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2026-03-17 15:07 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-16 23:23 linux-next: build failure after merge of the mm-nonmm-unstable tree Stephen Rothwell
2025-11-19 23:14 ` Stephen Rothwell
2025-11-19 23:48   ` Andrew Morton
2025-11-20  8:55     ` Miguel Ojeda
2025-11-20 10:01     ` Alice Ryhl
  -- strict thread matches above, loose matches on Subject: below --
2026-03-17 14:32 Mark Brown
2026-03-17 15:06 ` Mathieu Desnoyers
2026-03-17 15:07   ` David CARLIER
2026-02-16 13:58 Mark Brown
2025-12-18  4:30 Stephen Rothwell
2025-12-21  2:58 ` Finn Thain
2025-12-26 16:45   ` Sasha Levin
2025-12-29  8:56     ` Finn Thain
2026-01-01  9:21       ` Finn Thain
2026-01-01 17:01         ` Randy Dunlap
2026-01-01 23:15           ` Finn Thain
2026-01-02  7:29     ` Ard Biesheuvel
2026-01-02 22:09       ` Finn Thain
2025-11-16 22:36 Stephen Rothwell
2025-10-17 13:25 Mark Brown
2025-10-17 21:34 ` Andrew Morton
2025-09-01  1:17 Stephen Rothwell
2025-07-11  0:58 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox