Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../rust/helpers/helpers.c: note: in included file: ../rust/helpers/atomic.c:20:1: warning: symbol 'rust_helper_atomic_read' was not declared. Should it be static? ../rust/helpers/atomic.c:26:1: warning: symbol 'rust_helper_atomic_read_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:32:1: warning: symbol 'rust_helper_atomic_set' was not declared. Should it be static? ../rust/helpers/atomic.c:38:1: warning: symbol 'rust_helper_atomic_set_release' was not declared. Should it be static? ../rust/helpers/atomic.c:44:1: warning: symbol 'rust_helper_atomic_add' was not declared. Should it be static? ../rust/helpers/atomic.c:50:1: warning: symbol 'rust_helper_atomic_add_return' was not declared. Should it be static? ../rust/helpers/atomic.c:56:1: warning: symbol 'rust_helper_atomic_add_return_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:62:1: warning: symbol 'rust_helper_atomic_add_return_release' was not declared. Should it be static? ../rust/helpers/atomic.c:68:1: warning: symbol 'rust_helper_atomic_add_return_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:74:1: warning: symbol 'rust_helper_atomic_fetch_add' was not declared. Should it be static? ../rust/helpers/atomic.c:80:1: warning: symbol 'rust_helper_atomic_fetch_add_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:86:1: warning: symbol 'rust_helper_atomic_fetch_add_release' was not declared. Should it be static? ../rust/helpers/atomic.c:92:1: warning: symbol 'rust_helper_atomic_fetch_add_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:98:1: warning: symbol 'rust_helper_atomic_sub' was not declared. Should it be static? ../rust/helpers/atomic.c:104:1: warning: symbol 'rust_helper_atomic_sub_return' was not declared. Should it be static? ../rust/helpers/atomic.c:110:1: warning: symbol 'rust_helper_atomic_sub_return_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:116:1: warning: symbol 'rust_helper_atomic_sub_return_release' was not declared. Should it be static? ../rust/helpers/atomic.c:122:1: warning: symbol 'rust_helper_atomic_sub_return_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:128:1: warning: symbol 'rust_helper_atomic_fetch_sub' was not declared. Should it be static? ../rust/helpers/atomic.c:134:1: warning: symbol 'rust_helper_atomic_fetch_sub_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:140:1: warning: symbol 'rust_helper_atomic_fetch_sub_release' was not declared. Should it be static? ../rust/helpers/atomic.c:146:1: warning: symbol 'rust_helper_atomic_fetch_sub_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:152:1: warning: symbol 'rust_helper_atomic_inc' was not declared. Should it be static? ../rust/helpers/atomic.c:158:1: warning: symbol 'rust_helper_atomic_inc_return' was not declared. Should it be static? ../rust/helpers/atomic.c:164:1: warning: symbol 'rust_helper_atomic_inc_return_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:170:1: warning: symbol 'rust_helper_atomic_inc_return_release' was not declared. Should it be static? ../rust/helpers/atomic.c:176:1: warning: symbol 'rust_helper_atomic_inc_return_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:182:1: warning: symbol 'rust_helper_atomic_fetch_inc' was not declared. Should it be static? ../rust/helpers/atomic.c:188:1: warning: symbol 'rust_helper_atomic_fetch_inc_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:194:1: warning: symbol 'rust_helper_atomic_fetch_inc_release' was not declared. Should it be static? ../rust/helpers/atomic.c:200:1: warning: symbol 'rust_helper_atomic_fetch_inc_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:206:1: warning: symbol 'rust_helper_atomic_dec' was not declared. Should it be static? ../rust/helpers/atomic.c:212:1: warning: symbol 'rust_helper_atomic_dec_return' was not declared. Should it be static? ../rust/helpers/atomic.c:218:1: warning: symbol 'rust_helper_atomic_dec_return_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:224:1: warning: symbol 'rust_helper_atomic_dec_return_release' was not declared. Should it be static? ../rust/helpers/atomic.c:230:1: warning: symbol 'rust_helper_atomic_dec_return_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:236:1: warning: symbol 'rust_helper_atomic_fetch_dec' was not declared. Should it be static? ../rust/helpers/atomic.c:242:1: warning: symbol 'rust_helper_atomic_fetch_dec_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:248:1: warning: symbol 'rust_helper_atomic_fetch_dec_release' was not declared. Should it be static? ../rust/helpers/atomic.c:254:1: warning: symbol 'rust_helper_atomic_fetch_dec_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:260:1: warning: symbol 'rust_helper_atomic_and' was not declared. Should it be static? ../rust/helpers/atomic.c:266:1: warning: symbol 'rust_helper_atomic_fetch_and' was not declared. Should it be static? ../rust/helpers/atomic.c:272:1: warning: symbol 'rust_helper_atomic_fetch_and_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:278:1: warning: symbol 'rust_helper_atomic_fetch_and_release' was not declared. Should it be static? ../rust/helpers/atomic.c:284:1: warning: symbol 'rust_helper_atomic_fetch_and_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:290:1: warning: symbol 'rust_helper_atomic_andnot' was not declared. Should it be static? ../rust/helpers/atomic.c:296:1: warning: symbol 'rust_helper_atomic_fetch_andnot' was not declared. Should it be static? ../rust/helpers/atomic.c:302:1: warning: symbol 'rust_helper_atomic_fetch_andnot_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:308:1: warning: symbol 'rust_helper_atomic_fetch_andnot_release' was not declared. Should it be static? ../rust/helpers/atomic.c:314:1: warning: symbol 'rust_helper_atomic_fetch_andnot_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:320:1: warning: symbol 'rust_helper_atomic_or' was not declared. Should it be static? ../rust/helpers/atomic.c:326:1: warning: symbol 'rust_helper_atomic_fetch_or' was not declared. Should it be static? ../rust/helpers/atomic.c:332:1: warning: symbol 'rust_helper_atomic_fetch_or_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:338:1: warning: symbol 'rust_helper_atomic_fetch_or_release' was not declared. Should it be static? ../rust/helpers/atomic.c:344:1: warning: symbol 'rust_helper_atomic_fetch_or_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:350:1: warning: symbol 'rust_helper_atomic_xor' was not declared. Should it be static? ../rust/helpers/atomic.c:356:1: warning: symbol 'rust_helper_atomic_fetch_xor' was not declared. Should it be static? ../rust/helpers/atomic.c:362:1: warning: symbol 'rust_helper_atomic_fetch_xor_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:368:1: warning: symbol 'rust_helper_atomic_fetch_xor_release' was not declared. Should it be static? ../rust/helpers/atomic.c:374:1: warning: symbol 'rust_helper_atomic_fetch_xor_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:380:1: warning: symbol 'rust_helper_atomic_xchg' was not declared. Should it be static? ../rust/helpers/atomic.c:386:1: warning: symbol 'rust_helper_atomic_xchg_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:392:1: warning: symbol 'rust_helper_atomic_xchg_release' was not declared. Should it be static? ../rust/helpers/atomic.c:398:1: warning: symbol 'rust_helper_atomic_xchg_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:404:1: warning: symbol 'rust_helper_atomic_cmpxchg' was not declared. Should it be static? ../rust/helpers/atomic.c:410:1: warning: symbol 'rust_helper_atomic_cmpxchg_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:416:1: warning: symbol 'rust_helper_atomic_cmpxchg_release' was not declared. Should it be static? ../rust/helpers/atomic.c:422:1: warning: symbol 'rust_helper_atomic_cmpxchg_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:428:1: warning: symbol 'rust_helper_atomic_try_cmpxchg' was not declared. Should it be static? ../rust/helpers/atomic.c:434:1: warning: symbol 'rust_helper_atomic_try_cmpxchg_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:440:1: warning: symbol 'rust_helper_atomic_try_cmpxchg_release' was not declared. Should it be static? ../rust/helpers/atomic.c:446:1: warning: symbol 'rust_helper_atomic_try_cmpxchg_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:452:1: warning: symbol 'rust_helper_atomic_sub_and_test' was not declared. Should it be static? ../rust/helpers/atomic.c:458:1: warning: symbol 'rust_helper_atomic_dec_and_test' was not declared. Should it be static? ../rust/helpers/atomic.c:464:1: warning: symbol 'rust_helper_atomic_inc_and_test' was not declared. Should it be static? ../rust/helpers/atomic.c:470:1: warning: symbol 'rust_helper_atomic_add_negative' was not declared. Should it be static? ../rust/helpers/atomic.c:476:1: warning: symbol 'rust_helper_atomic_add_negative_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:482:1: warning: symbol 'rust_helper_atomic_add_negative_release' was not declared. Should it be static? ../rust/helpers/atomic.c:488:1: warning: symbol 'rust_helper_atomic_add_negative_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:494:1: warning: symbol 'rust_helper_atomic_fetch_add_unless' was not declared. Should it be static? ../rust/helpers/atomic.c:500:1: warning: symbol 'rust_helper_atomic_add_unless' was not declared. Should it be static? ../rust/helpers/atomic.c:506:1: warning: symbol 'rust_helper_atomic_inc_not_zero' was not declared. Should it be static? ../rust/helpers/atomic.c:512:1: warning: symbol 'rust_helper_atomic_inc_unless_negative' was not declared. Should it be static? ../rust/helpers/atomic.c:518:1: warning: symbol 'rust_helper_atomic_dec_unless_positive' was not declared. Should it be static? ../rust/helpers/atomic.c:524:1: warning: symbol 'rust_helper_atomic_dec_if_positive' was not declared. Should it be static? ../rust/helpers/atomic.c:530:1: warning: symbol 'rust_helper_atomic64_read' was not declared. Should it be static? ../rust/helpers/atomic.c:536:1: warning: symbol 'rust_helper_atomic64_read_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:542:1: warning: symbol 'rust_helper_atomic64_set' was not declared. Should it be static? ../rust/helpers/atomic.c:548:1: warning: symbol 'rust_helper_atomic64_set_release' was not declared. Should it be static? ../rust/helpers/atomic.c:554:1: warning: symbol 'rust_helper_atomic64_add' was not declared. Should it be static? ../rust/helpers/atomic.c:560:1: warning: symbol 'rust_helper_atomic64_add_return' was not declared. Should it be static? ../rust/helpers/atomic.c:566:1: warning: symbol 'rust_helper_atomic64_add_return_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:572:1: warning: symbol 'rust_helper_atomic64_add_return_release' was not declared. Should it be static? ../rust/helpers/atomic.c:578:1: warning: symbol 'rust_helper_atomic64_add_return_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:584:1: warning: symbol 'rust_helper_atomic64_fetch_add' was not declared. Should it be static? ../rust/helpers/atomic.c:590:1: warning: symbol 'rust_helper_atomic64_fetch_add_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:596:1: warning: symbol 'rust_helper_atomic64_fetch_add_release' was not declared. Should it be static? ../rust/helpers/atomic.c:602:1: warning: symbol 'rust_helper_atomic64_fetch_add_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:608:1: warning: symbol 'rust_helper_atomic64_sub' was not declared. Should it be static? ../rust/helpers/atomic.c:614:1: warning: too many warnings 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: aborting due to 3 previous errors For more information about this error, try `rustc --explain E0425`. make[3]: *** [../rust/Makefile:566: rust/kernel.o] Error 1 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1286: prepare] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../rust/helpers/helpers.c: note: in included file: ../rust/helpers/atomic.c:20:1: warning: symbol 'rust_helper_atomic_read' was not declared. Should it be static? ../rust/helpers/atomic.c:26:1: warning: symbol 'rust_helper_atomic_read_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:32:1: warning: symbol 'rust_helper_atomic_set' was not declared. Should it be static? ../rust/helpers/atomic.c:38:1: warning: symbol 'rust_helper_atomic_set_release' was not declared. Should it be static? ../rust/helpers/atomic.c:44:1: warning: symbol 'rust_helper_atomic_add' was not declared. Should it be static? ../rust/helpers/atomic.c:50:1: warning: symbol 'rust_helper_atomic_add_return' was not declared. Should it be static? ../rust/helpers/atomic.c:56:1: warning: symbol 'rust_helper_atomic_add_return_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:62:1: warning: symbol 'rust_helper_atomic_add_return_release' was not declared. Should it be static? ../rust/helpers/atomic.c:68:1: warning: symbol 'rust_helper_atomic_add_return_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:74:1: warning: symbol 'rust_helper_atomic_fetch_add' was not declared. Should it be static? ../rust/helpers/atomic.c:80:1: warning: symbol 'rust_helper_atomic_fetch_add_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:86:1: warning: symbol 'rust_helper_atomic_fetch_add_release' was not declared. Should it be static? ../rust/helpers/atomic.c:92:1: warning: symbol 'rust_helper_atomic_fetch_add_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:98:1: warning: symbol 'rust_helper_atomic_sub' was not declared. Should it be static? ../rust/helpers/atomic.c:104:1: warning: symbol 'rust_helper_atomic_sub_return' was not declared. Should it be static? ../rust/helpers/atomic.c:110:1: warning: symbol 'rust_helper_atomic_sub_return_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:116:1: warning: symbol 'rust_helper_atomic_sub_return_release' was not declared. Should it be static? ../rust/helpers/atomic.c:122:1: warning: symbol 'rust_helper_atomic_sub_return_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:128:1: warning: symbol 'rust_helper_atomic_fetch_sub' was not declared. Should it be static? ../rust/helpers/atomic.c:134:1: warning: symbol 'rust_helper_atomic_fetch_sub_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:140:1: warning: symbol 'rust_helper_atomic_fetch_sub_release' was not declared. Should it be static? ../rust/helpers/atomic.c:146:1: warning: symbol 'rust_helper_atomic_fetch_sub_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:152:1: warning: symbol 'rust_helper_atomic_inc' was not declared. Should it be static? ../rust/helpers/atomic.c:158:1: warning: symbol 'rust_helper_atomic_inc_return' was not declared. Should it be static? ../rust/helpers/atomic.c:164:1: warning: symbol 'rust_helper_atomic_inc_return_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:170:1: warning: symbol 'rust_helper_atomic_inc_return_release' was not declared. Should it be static? ../rust/helpers/atomic.c:176:1: warning: symbol 'rust_helper_atomic_inc_return_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:182:1: warning: symbol 'rust_helper_atomic_fetch_inc' was not declared. Should it be static? ../rust/helpers/atomic.c:188:1: warning: symbol 'rust_helper_atomic_fetch_inc_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:194:1: warning: symbol 'rust_helper_atomic_fetch_inc_release' was not declared. Should it be static? ../rust/helpers/atomic.c:200:1: warning: symbol 'rust_helper_atomic_fetch_inc_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:206:1: warning: symbol 'rust_helper_atomic_dec' was not declared. Should it be static? ../rust/helpers/atomic.c:212:1: warning: symbol 'rust_helper_atomic_dec_return' was not declared. Should it be static? ../rust/helpers/atomic.c:218:1: warning: symbol 'rust_helper_atomic_dec_return_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:224:1: warning: symbol 'rust_helper_atomic_dec_return_release' was not declared. Should it be static? ../rust/helpers/atomic.c:230:1: warning: symbol 'rust_helper_atomic_dec_return_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:236:1: warning: symbol 'rust_helper_atomic_fetch_dec' was not declared. Should it be static? ../rust/helpers/atomic.c:242:1: warning: symbol 'rust_helper_atomic_fetch_dec_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:248:1: warning: symbol 'rust_helper_atomic_fetch_dec_release' was not declared. Should it be static? ../rust/helpers/atomic.c:254:1: warning: symbol 'rust_helper_atomic_fetch_dec_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:260:1: warning: symbol 'rust_helper_atomic_and' was not declared. Should it be static? ../rust/helpers/atomic.c:266:1: warning: symbol 'rust_helper_atomic_fetch_and' was not declared. Should it be static? ../rust/helpers/atomic.c:272:1: warning: symbol 'rust_helper_atomic_fetch_and_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:278:1: warning: symbol 'rust_helper_atomic_fetch_and_release' was not declared. Should it be static? ../rust/helpers/atomic.c:284:1: warning: symbol 'rust_helper_atomic_fetch_and_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:290:1: warning: symbol 'rust_helper_atomic_andnot' was not declared. Should it be static? ../rust/helpers/atomic.c:296:1: warning: symbol 'rust_helper_atomic_fetch_andnot' was not declared. Should it be static? ../rust/helpers/atomic.c:302:1: warning: symbol 'rust_helper_atomic_fetch_andnot_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:308:1: warning: symbol 'rust_helper_atomic_fetch_andnot_release' was not declared. Should it be static? ../rust/helpers/atomic.c:314:1: warning: symbol 'rust_helper_atomic_fetch_andnot_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:320:1: warning: symbol 'rust_helper_atomic_or' was not declared. Should it be static? ../rust/helpers/atomic.c:326:1: warning: symbol 'rust_helper_atomic_fetch_or' was not declared. Should it be static? ../rust/helpers/atomic.c:332:1: warning: symbol 'rust_helper_atomic_fetch_or_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:338:1: warning: symbol 'rust_helper_atomic_fetch_or_release' was not declared. Should it be static? ../rust/helpers/atomic.c:344:1: warning: symbol 'rust_helper_atomic_fetch_or_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:350:1: warning: symbol 'rust_helper_atomic_xor' was not declared. Should it be static? ../rust/helpers/atomic.c:356:1: warning: symbol 'rust_helper_atomic_fetch_xor' was not declared. Should it be static? ../rust/helpers/atomic.c:362:1: warning: symbol 'rust_helper_atomic_fetch_xor_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:368:1: warning: symbol 'rust_helper_atomic_fetch_xor_release' was not declared. Should it be static? ../rust/helpers/atomic.c:374:1: warning: symbol 'rust_helper_atomic_fetch_xor_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:380:1: warning: symbol 'rust_helper_atomic_xchg' was not declared. Should it be static? ../rust/helpers/atomic.c:386:1: warning: symbol 'rust_helper_atomic_xchg_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:392:1: warning: symbol 'rust_helper_atomic_xchg_release' was not declared. Should it be static? ../rust/helpers/atomic.c:398:1: warning: symbol 'rust_helper_atomic_xchg_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:404:1: warning: symbol 'rust_helper_atomic_cmpxchg' was not declared. Should it be static? ../rust/helpers/atomic.c:410:1: warning: symbol 'rust_helper_atomic_cmpxchg_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:416:1: warning: symbol 'rust_helper_atomic_cmpxchg_release' was not declared. Should it be static? ../rust/helpers/atomic.c:422:1: warning: symbol 'rust_helper_atomic_cmpxchg_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:428:1: warning: symbol 'rust_helper_atomic_try_cmpxchg' was not declared. Should it be static? ../rust/helpers/atomic.c:434:1: warning: symbol 'rust_helper_atomic_try_cmpxchg_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:440:1: warning: symbol 'rust_helper_atomic_try_cmpxchg_release' was not declared. Should it be static? ../rust/helpers/atomic.c:446:1: warning: symbol 'rust_helper_atomic_try_cmpxchg_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:452:1: warning: symbol 'rust_helper_atomic_sub_and_test' was not declared. Should it be static? ../rust/helpers/atomic.c:458:1: warning: symbol 'rust_helper_atomic_dec_and_test' was not declared. Should it be static? ../rust/helpers/atomic.c:464:1: warning: symbol 'rust_helper_atomic_inc_and_test' was not declared. Should it be static? ../rust/helpers/atomic.c:470:1: warning: symbol 'rust_helper_atomic_add_negative' was not declared. Should it be static? ../rust/helpers/atomic.c:476:1: warning: symbol 'rust_helper_atomic_add_negative_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:482:1: warning: symbol 'rust_helper_atomic_add_negative_release' was not declared. Should it be static? ../rust/helpers/atomic.c:488:1: warning: symbol 'rust_helper_atomic_add_negative_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:494:1: warning: symbol 'rust_helper_atomic_fetch_add_unless' was not declared. Should it be static? ../rust/helpers/atomic.c:500:1: warning: symbol 'rust_helper_atomic_add_unless' was not declared. Should it be static? ../rust/helpers/atomic.c:506:1: warning: symbol 'rust_helper_atomic_inc_not_zero' was not declared. Should it be static? ../rust/helpers/atomic.c:512:1: warning: symbol 'rust_helper_atomic_inc_unless_negative' was not declared. Should it be static? ../rust/helpers/atomic.c:518:1: warning: symbol 'rust_helper_atomic_dec_unless_positive' was not declared. Should it be static? ../rust/helpers/atomic.c:524:1: warning: symbol 'rust_helper_atomic_dec_if_positive' was not declared. Should it be static? ../rust/helpers/atomic.c:530:1: warning: symbol 'rust_helper_atomic64_read' was not declared. Should it be static? ../rust/helpers/atomic.c:536:1: warning: symbol 'rust_helper_atomic64_read_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:542:1: warning: symbol 'rust_helper_atomic64_set' was not declared. Should it be static? ../rust/helpers/atomic.c:548:1: warning: symbol 'rust_helper_atomic64_set_release' was not declared. Should it be static? ../rust/helpers/atomic.c:554:1: warning: symbol 'rust_helper_atomic64_add' was not declared. Should it be static? ../rust/helpers/atomic.c:560:1: warning: symbol 'rust_helper_atomic64_add_return' was not declared. Should it be static? ../rust/helpers/atomic.c:566:1: warning: symbol 'rust_helper_atomic64_add_return_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:572:1: warning: symbol 'rust_helper_atomic64_add_return_release' was not declared. Should it be static? ../rust/helpers/atomic.c:578:1: warning: symbol 'rust_helper_atomic64_add_return_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:584:1: warning: symbol 'rust_helper_atomic64_fetch_add' was not declared. Should it be static? ../rust/helpers/atomic.c:590:1: warning: symbol 'rust_helper_atomic64_fetch_add_acquire' was not declared. Should it be static? ../rust/helpers/atomic.c:596:1: warning: symbol 'rust_helper_atomic64_fetch_add_release' was not declared. Should it be static? ../rust/helpers/atomic.c:602:1: warning: symbol 'rust_helper_atomic64_fetch_add_relaxed' was not declared. Should it be static? ../rust/helpers/atomic.c:608:1: warning: symbol 'rust_helper_atomic64_sub' was not declared. Should it be static? ../rust/helpers/atomic.c:614:1: warning: too many warnings 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` | ::: /home/nipa/net-next/wt-0/build_allmodconfig_warn/rust/bindings/bindings_generated.rs:90031:5 | 90031 | 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`. make[3]: *** [../rust/Makefile:566: rust/kernel.o] Error 1 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1286: prepare] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.zz4yyiLDkV 2025-11-14 09:11:04.223777674 -0800 +++ /tmp/tmp.LSBOrgBLJo 2025-11-14 09:11:32.718786855 -0800 @@ -121 +121,12 @@ -error: aborting due to 3 previous errors +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` + | + ::: /home/nipa/net-next/wt-0/build_allmodconfig_warn/rust/bindings/bindings_generated.rs:90031:5 + | +90031 | 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 Per-file breakdown