diff options
| author | Charalampos Mitrodimas <[email protected]> | 2025-03-15 21:48:11 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2025-03-23 18:43:02 +0000 |
| commit | f6be7af44525a005f537ca04f24dc56b391f9a8b (patch) | |
| tree | 22e59d9661647e8ced8251fc9600c62ec1f95c69 /lib/netdev-notifier-error-inject.c | |
| parent | rust: str: implement `strip_prefix` for `BStr` (diff) | |
| download | kernel-f6be7af44525a005f537ca04f24dc56b391f9a8b.tar.gz kernel-f6be7af44525a005f537ca04f24dc56b391f9a8b.zip | |
rust: rbtree: fix comments referring to Box instead of KBox
Several safety comments in the RBTree implementation still refer to
"Box::from_raw" and "Box::into_raw", but the code actually uses KBox.
These comments were not updated when the implementation transitioned
from using Box to KBox.
Fixes: 8373147ce496 ("rust: treewide: switch to our kernel `Box` type")
Signed-off-by: Charalampos Mitrodimas <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
