From: Alice Ryhl <aliceryhl@google.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: "Daniel Almeida" <daniel.almeida@collabora.com>,
"Filipe Xavier" <felipeaggger@gmail.com>,
"Miguel Ojeda" <ojeda@kernel.org>,
"Alex Gaynor" <alex.gaynor@gmail.com>,
"Boqun Feng" <boqun.feng@gmail.com>,
"Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <benno.lossin@proton.me>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Trevor Gross" <tmgross@umich.edu>,
"Danilo Krummrich" <dakr@kernel.org>,
rust-for-linux@vger.kernel.org, felipe_life@live.com
Subject: Re: [PATCH] rust: add new macro for common bitwise operations
Date: Mon, 17 Mar 2025 15:00:31 +0000 [thread overview]
Message-ID: <Z9g5D6X5k1fpUwuY@google.com> (raw)
In-Reply-To: <2025031444-acre-boxlike-8af1@gregkh>
On Fri, Mar 14, 2025 at 04:02:35PM +0100, Greg KH wrote:
> On Fri, Mar 14, 2025 at 11:18:56AM -0300, Daniel Almeida wrote:
> > Hi Greg,
> >
> > > On 4 Mar 2025, at 11:09, Greg KH <gregkh@linuxfoundation.org> wrote:
> > >
> > > Nice, but why not use the same api/names that are already in the kernel
> > > for this type of functionality in the C .h files? That way we have
> > > consistent names everywhere?
> > >
> > > thanks,
> > >
> > > greg k-h
> >
> > IIUC, there is already someone working on that [0].
>
> Great!
>
> > Can we just leave this macro somewhat as-is as a mere convenience for driver authors?
>
> Why have multiple apis for the same thing? That just makes reviewers
> confused as well as developers. We don't do that for C code :)
I'm confused - the Bitmap type seems quite different from what this
patch adds. I don't think it's the same thing.
Alice
next prev parent reply other threads:[~2025-03-17 15:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-04 12:55 [PATCH] rust: add new macro for common bitwise operations Filipe Xavier
2025-03-04 12:57 ` Alice Ryhl
2025-03-10 13:31 ` Miguel Ojeda
2025-03-17 21:36 ` Lyude Paul
2025-03-04 14:09 ` Greg KH
2025-03-05 12:46 ` Filipe Xavier
2025-03-05 14:18 ` Greg KH
2025-03-14 14:18 ` Daniel Almeida
2025-03-14 15:02 ` Greg KH
2025-03-17 15:00 ` Alice Ryhl [this message]
2025-03-10 13:33 ` Miguel Ojeda
2025-03-13 0:40 ` kernel test robot
2025-03-14 14:09 ` Daniel Almeida
2025-03-17 21:40 ` Lyude Paul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z9g5D6X5k1fpUwuY@google.com \
--to=aliceryhl@google.com \
--cc=a.hindborg@kernel.org \
--cc=alex.gaynor@gmail.com \
--cc=benno.lossin@proton.me \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun.feng@gmail.com \
--cc=dakr@kernel.org \
--cc=daniel.almeida@collabora.com \
--cc=felipe_life@live.com \
--cc=felipeaggger@gmail.com \
--cc=gary@garyguo.net \
--cc=gregkh@linuxfoundation.org \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=tmgross@umich.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).