[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DDVTXZOL7O4O.SU2DN0FE9J48@kernel.org>
Date: Thu, 30 Oct 2025 18:24:04 +0100
From: "Danilo Krummrich" <dakr@...nel.org>
To: "Zhi Wang" <zhiw@...dia.com>
Cc: "Jason Gunthorpe" <jgg@...dia.com>, "rust-for-linux@...r.kernel.org"
<rust-for-linux@...r.kernel.org>, "bhelgaas@...gle.com"
<bhelgaas@...gle.com>, "kwilczynski@...nel.org" <kwilczynski@...nel.org>,
"ojeda@...nel.org" <ojeda@...nel.org>, "alex.gaynor@...il.com"
<alex.gaynor@...il.com>, "boqun.feng@...il.com" <boqun.feng@...il.com>,
"gary@...yguo.net" <gary@...yguo.net>, "bjorn3_gh@...tonmail.com"
<bjorn3_gh@...tonmail.com>, "lossin@...nel.org" <lossin@...nel.org>,
"a.hindborg@...nel.org" <a.hindborg@...nel.org>, "aliceryhl@...gle.com"
<aliceryhl@...gle.com>, "tmgross@...ch.edu" <tmgross@...ch.edu>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "Neo Jia"
<cjia@...dia.com>, "Surath Mitra" <smitra@...dia.com>, "Ankit Agrawal"
<ankita@...dia.com>, "Aniket Agashe" <aniketa@...dia.com>, "Kirti Wankhede"
<kwankhede@...dia.com>, "Tarun Gupta (SW-GPU)" <targupta@...dia.com>,
"zhiwang@...nel.org" <zhiwang@...nel.org>, "Alex Williamson"
<alwilliamson@...dia.com>, "Alexandre Courbot" <acourbot@...dia.com>, "Joel
Fernandes" <joelagnelf@...dia.com>, "John Hubbard" <jhubbard@...dia.com>
Subject: Re: [RFC 1/2] rust: introduce abstractions for fwctl
On Thu Oct 30, 2025 at 6:19 PM CET, Zhi Wang wrote:
> fwctl_put() is a inline function and it seem opened by the compiler when bindings are
> generated.
>
> $ grep -R fwctl_put *
> $ pwd
> /home/inno/drm-rust/rust/bindings
> $ grep -R put_device *
> bindings_generated.rs: pub fn put_device(dev: *mut device);
>
> Hehe. I am open to options.
You can add them to rust/helpers/.
Powered by blists - more mailing lists