linux/rust/kernel
Finn Behrens 4b0c68bd0d rust: error: declare errors using macro
Add a macro to declare errors, which simplifies the work needed to
add each one, avoids repetition of the code and makes it easier to
change the way they are declared.

Signed-off-by: Finn Behrens <me@kloenk.dev>
Reviewed-by: Gary Guo <gary@garyguo.net>
[Reworded, adapted for upstream and applied latest changes]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2022-12-04 01:59:15 +01:00
..
allocator.rs
error.rs rust: error: declare errors using macro 2022-12-04 01:59:15 +01:00
lib.rs
prelude.rs rust: macros: add #[vtable] proc macro 2022-12-04 01:59:15 +01:00
print.rs rust: print: add pr_cont! macro 2022-12-01 20:12:44 +01:00
str.rs