[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e0697f46-20c6-440b-b278-0b4a36d1de2e@kernel.org>
Date: Thu, 6 Nov 2025 10:27:23 +0100
From: Danilo Krummrich <dakr@...nel.org>
To: bhelgaas@...gle.com
Cc: kwilczynski@...nel.org, gregkh@...uxfoundation.org, rafael@...nel.org,
ojeda@...nel.org, alex.gaynor@...il.com, boqun.feng@...il.com,
gary@...yguo.net, bjorn3_gh@...tonmail.com, lossin@...nel.org,
a.hindborg@...nel.org, aliceryhl@...gle.com, tmgross@...ch.edu,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
rust-for-linux@...r.kernel.org
Subject: Re: [PATCH 1/2] rust: pci: get rid of redundant Result in IRQ methods
On 11/3/25 9:30 PM, Danilo Krummrich wrote:
> Currently request_irq() returns
>
> Result<impl PinInit<irq::Registration<T>, Error> + 'a>
>
> which may carry an error in the Result or the initializer; the same is
> true for request_threaded_irq().
>
> Use pin_init::pin_init_scope() to get rid of this redundancy.
>
> Signed-off-by: Danilo Krummrich <dakr@...nel.org>
Applied to driver-core-testing, thanks!
Powered by blists - more mailing lists