Re: [PATCH v3 08/16] rust: add `dev_*` print macros.
From: Greg KH
Date: Mon Nov 04 2024 - 00:48:44 EST
On Tue, Oct 22, 2024 at 11:31:45PM +0200, Danilo Krummrich wrote:
> From: Wedson Almeida Filho <wedsonaf@xxxxxxxxxx>
>
> Implement `dev_*` print macros for `device::Device`.
>
> They behave like the macros with the same names in C, i.e., they print
> messages to the kernel ring buffer with the given level, prefixing the
> messages with corresponding device information.
>
> Signed-off-by: Wedson Almeida Filho <wedsonaf@xxxxxxxxxx>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>
> ---
> rust/kernel/device.rs | 319 ++++++++++++++++++++++++++++++++++++++++-
> rust/kernel/prelude.rs | 2 +
> 2 files changed, 320 insertions(+), 1 deletion(-)
This is good to grab now, I've added it to my char-misc tree, thanks!
greg k-h