projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e947bc
)
rust: remove spurious `use core::fmt::Debug`
author
Tamir Duberstein
<tamird@gmail.com>
Sat, 18 Oct 2025 19:16:30 +0000
(15:16 -0400)
committer
Miguel Ojeda
<ojeda@kernel.org>
Mon, 20 Oct 2025 02:04:24 +0000
(
04:04
+0200)
We want folks to use `kernel::fmt` but this is only used for `derive` so
can be removed entirely.
This backslid in commit
ea60cea07d8c
("rust: add `Alignment` type").
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Link:
https://patch.msgid.link/20251018-cstr-core-v18-9-9378a54385f8@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/ptr.rs
patch
|
blob
|
history
diff --git
a/rust/kernel/ptr.rs
b/rust/kernel/ptr.rs
index
2e5e2a0
..
e3893ed
100644
(file)
--- a/
rust/kernel/ptr.rs
+++ b/
rust/kernel/ptr.rs
@@
-2,7
+2,6
@@
//! Types and functions to work with pointers and addresses.
-use core::fmt::Debug;
use core::mem::align_of;
use core::num::NonZero;