[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024110409-speller-blasphemy-2539@gregkh>
Date: Mon, 4 Nov 2024 01:24:26 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Danilo Krummrich <dakr@...nel.org>
Cc: rafael@...nel.org, bhelgaas@...gle.com, ojeda@...nel.org,
alex.gaynor@...il.com, boqun.feng@...il.com, gary@...yguo.net,
bjorn3_gh@...tonmail.com, benno.lossin@...ton.me, tmgross@...ch.edu,
a.hindborg@...sung.com, aliceryhl@...gle.com, airlied@...il.com,
fujita.tomonori@...il.com, lina@...hilina.net, pstanner@...hat.com,
ajanulgu@...hat.com, lyude@...hat.com, robh@...nel.org,
daniel.almeida@...labora.com, saravanak@...gle.com,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org, devicetree@...r.kernel.org,
Wedson Almeida Filho <wedsonaf@...gle.com>
Subject: Re: [PATCH v3 08/16] rust: add `dev_*` print macros.
On Tue, Oct 22, 2024 at 11:31:45PM +0200, Danilo Krummrich wrote:
> From: Wedson Almeida Filho <wedsonaf@...gle.com>
>
> 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@...gle.com>
> Signed-off-by: Danilo Krummrich <dakr@...nel.org>
> ---
> 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
Powered by blists - more mailing lists