Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'rust-fixes-6.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux

Pull rust fixes from Miguel Ojeda:

- Fix objtool warning due to future Rust 1.85.0 (to be released in a
few days)

- Clean future Rust 1.86.0 (to be released 2025-04-03) Clippy warning

* tag 'rust-fixes-6.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux:
rust: rbtree: fix overindented list item
objtool/rust: add one more `noreturn` Rust function

+2 -1
+1 -1
rust/kernel/rbtree.rs
··· 1149 1149 /// # Invariants 1150 1150 /// - `parent` may be null if the new node becomes the root. 1151 1151 /// - `child_field_of_parent` is a valid pointer to the left-child or right-child of `parent`. If `parent` is 1152 - /// null, it is a pointer to the root of the [`RBTree`]. 1152 + /// null, it is a pointer to the root of the [`RBTree`]. 1153 1153 struct RawVacantEntry<'a, K, V> { 1154 1154 rbtree: *mut RBTree<K, V>, 1155 1155 /// The node that will become the parent of the new node if we insert one.
+1
tools/objtool/check.c
··· 227 227 str_ends_with(func->name, "_4core9panicking18panic_bounds_check") || 228 228 str_ends_with(func->name, "_4core9panicking19assert_failed_inner") || 229 229 str_ends_with(func->name, "_4core9panicking36panic_misaligned_pointer_dereference") || 230 + strstr(func->name, "_4core9panicking13assert_failed") || 230 231 strstr(func->name, "_4core9panicking11panic_const24panic_const_") || 231 232 (strstr(func->name, "_4core5slice5index24slice_") && 232 233 str_ends_with(func->name, "_fail"));