[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YoZnYkRjC+TfdB1i@kroah.com>
Date: Thu, 19 May 2022 17:50:58 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Cc: Miguel Ojeda <ojeda@...nel.org>,
rust-for-linux <rust-for-linux@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>,
Masahiro Yamada <masahiroy@...nel.org>,
Li Li <dualli@...gle.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
Wedson Almeida Filho <wedsonaf@...gle.com>
Subject: Re: [PATCH v2] binder: convert `BINDER_*` ioctl `#define`s into an
`enum`
On Wed, May 18, 2022 at 03:39:42PM +0200, Miguel Ojeda wrote:
> Hi Greg,
>
> On Tue, May 17, 2022 at 12:28 PM Miguel Ojeda <ojeda@...nel.org> wrote:
> >
> > bindgen (a tool which generates the "raw" C bindings for Rust) only
> > works (so far) with "simple" C `#define`s. In order to avoid having
> > to manually maintain these constants in the (potential) Rust side,
> > this patch converts them into an `enum`.
>
> Given the discussion in v1's thread [0], I think we should hold on
> applying the patch (just letting you know here in v2).
>
> [0] https://lore.kernel.org/lkml/CANiq72=_UAF5DRHCmW4qNt-Wi3yV6vPEjdLhBTijG_ZGgfpaTA@mail.gmail.com/
>
> Cheers,
> Miguel
Yeah, I'll drop this from my queue, sorry.
greg k-h
Powered by blists - more mailing lists