[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250822055349.6brvcxtljkz2k6p7@vireshk-i7>
Date: Fri, 22 Aug 2025 11:23:49 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Onur Özkan <work@...rozkan.dev>
Cc: rust-for-linux@...r.kernel.org, vireshk@...nel.org, nm@...com,
sboyd@...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, dakr@...nel.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rust: opp: use to_result for error handling
On 21-08-25, 12:16, Onur Özkan wrote:
> Simplifies error handling by replacing the manual check
> of the return value with the `to_result` helper.
>
> Signed-off-by: Onur Özkan <work@...rozkan.dev>
> ---
> rust/kernel/opp.rs | 16 +++++-----------
> 1 file changed, 5 insertions(+), 11 deletions(-)
Applied. Thanks.
--
viresh
Powered by blists - more mailing lists