[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANiq72=JPKb1D-SXaSkRTCQ=xcNuVZv=dsfBO8ND=ATq9it57g@mail.gmail.com>
Date: Sat, 29 Mar 2025 13:28:17 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Igor Korotin <igor.korotin@...oo.com>
Cc: benno.lossin@...ton.me, linux-kernel@...r.kernel.org,
rust-for-linux@...r.kernel.org
Subject: Re: [PATCH v2 1/1] rust: macros: Fix macro referencing core and
kernel crates v2
On Fri, Mar 28, 2025 at 7:05 PM Igor Korotin <igor.korotin@...oo.com> wrote:
>
> Update macros to always use absolute paths for crates `core` and `kernel`.
> This guarantees that macros will not pick up user-defined crates `core`
> or `kernel` by accident.
>
> Changes since v1:
> - Fixed paths in auto-generated code.
>
> Suggested-by: Benno Lossin <benno.lossin@...ton.me>
> Closes: https://github.com/Rust-for-Linux/linux/issues/1150
> Signed-off-by: Igor Korotin <igor.korotin@...oo.com>
Thanks for the patch!
A few procedural notes:
- The title has a v2 at the end -- please do not add versions in the
title of the commit, the "[PATCH v2...] is enough for that :)
- The "Changes since v1" should be part of the non-commit-log part,
i.e. after the `---` line below.
- If you send a single patch, then you don't need to add a cover
letter necessarily (typically you just use the place after `---` in
the patch).
- Speaking of the cover letter, it seems like the 0/1 patch looks
like a reply to Benno rather than an actual cover letter, and does not
follow the usual cover letter format. That is quite confusing.
- You should send the patch to the relevant maintainers and
reviewers -- you can use `scripts/get_maintainer.pl` or something like
https://rust-for-linux.com/contributing#submitting-patches.
Please take a look at another v2 to see how people normally do it. For
instance, this recent one looks fairly standard:
https://lore.kernel.org/rust-for-linux/20250325133352.441425-1-andrewjballance@gmail.com/
Thanks!
Cheers,
Miguel
Powered by blists - more mailing lists