[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72=4YKUoUjbs3484mdjsDCXX1V6qf8MrzhW0FN3ZbbDaAg@mail.gmail.com>
Date: Wed, 18 May 2022 15:39:42 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Miguel Ojeda <ojeda@...nel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.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`
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
Powered by blists - more mailing lists