[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7f707d8e-f2e4-49cc-8d7e-e8c4c4193cec@suse.com>
Date: Tue, 22 Apr 2025 15:22:13 +0200
From: Petr Pavlu <petr.pavlu@...e.com>
To: Andreas Hindborg <a.hindborg@...nel.org>
Cc: Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>, Alice Ryhl <aliceryhl@...gle.com>,
Masahiro Yamada <masahiroy@...nel.org>, Nathan Chancellor
<nathan@...nel.org>, Nicolas Schier <nicolas@...sle.eu>,
Luis Chamberlain <mcgrof@...nel.org>, Danilo Krummrich <dakr@...nel.org>,
Trevor Gross <tmgross@...ch.edu>, Adam Bratschi-Kaye <ark.email@...il.com>,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-kbuild@...r.kernel.org, Petr Pavlu <petr.pavlu@...e.com>,
Sami Tolvanen <samitolvanen@...gle.com>, Daniel Gomez
<da.gomez@...sung.com>, Simona Vetter <simona.vetter@...ll.ch>,
Greg KH <gregkh@...uxfoundation.org>, Fiona Behrens <me@...enk.dev>,
Daniel Almeida <daniel.almeida@...labora.com>, linux-modules@...r.kernel.org
Subject: Re: [PATCH v9 0/3] rust: extend `module!` macro with integer
parameter support
On 3/21/25 10:17, Andreas Hindborg wrote:
> Extend the `module!` macro with support module parameters. Also add some string
> to integer parsing functions and updates `BStr` with a method to strip a string
> prefix.
>
> Based on code by Adam Bratschi-Kaye lifted from the original `rust` branch [1].
>
> Link: https://github.com/Rust-for-Linux/linux/tree/bc22545f38d74473cfef3e9fd65432733435b79f [1]
> Signed-off-by: Andreas Hindborg <a.hindborg@...nel.org>
[...]
> ---
> Andreas Hindborg (3):
> rust: str: add radix prefixed integer parsing functions
> rust: add parameter support to the `module!` macro
> modules: add rust modules files to MAINTAINERS
>
> MAINTAINERS | 2 +
> rust/kernel/lib.rs | 1 +
> rust/kernel/module_param.rs | 221 +++++++++++++++++++++++++++++++++++++++++++
> rust/kernel/str.rs | 170 +++++++++++++++++++++++++++++++++
> rust/macros/helpers.rs | 25 +++++
> rust/macros/lib.rs | 31 ++++++
> rust/macros/module.rs | 195 ++++++++++++++++++++++++++++++++++----
> samples/rust/rust_minimal.rs | 10 ++
> 8 files changed, 635 insertions(+), 20 deletions(-)
I'd like to pick these remaining patches on modules-next around rc5/6,
so they can sit on linux-next for a bit before going into 6.16-rc1. It
is a new code with no users so I don't expect much fallout, but still.
Could you please post an updated series that includes the cleanup from
Miguel?
--
Thanks,
Petr
Powered by blists - more mailing lists