[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9f45c967-4bb0-4b42-9d5f-6bd338eba0db@samsung.com>
Date: Mon, 5 Jan 2026 12:12:37 +0100
From: Michal Wilczynski <m.wilczynski@...sung.com>
To: Kari Argillander <kari.argillander@...il.com>,
Uwe Kleine-König <ukleinek@...nel.org>, Miguel Ojeda
<ojeda@...nel.org>, Boqun Feng <boqun.feng@...il.com>, Gary Guo
<gary@...yguo.net>, Björn Roy Baron
<bjorn3_gh@...tonmail.com>, Benno Lossin <lossin@...nel.org>, Andreas
Hindborg <a.hindborg@...nel.org>, Alice Ryhl <aliceryhl@...gle.com>, Trevor
Gross <tmgross@...ch.edu>, Danilo Krummrich <dakr@...nel.org>
Cc: linux-pwm@...r.kernel.org, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] rust: pwm: Simplify to_result call sites and
unsafe blocks
On 1/2/26 08:51, Kari Argillander wrote:
> Remove unnecessary temporary variables around to_result() calls and move
> trailing semicolons outside unsafe blocks to improve readability and
> produce cleaner rustfmt output.
>
> No functional change intended.
>
> Signed-off-by: Kari Argillander <kari.argillander@...il.com>
> ---
> rust/kernel/pwm.rs | 47 ++++++++++++++---------------------------------
> 1 file changed, 14 insertions(+), 33 deletions(-)
>
Hi, the changes look fine to me, they are more idiomatic to Rust.
Acked-by: Michal Wilczynski <m.wilczynski@...sung.com>
Powered by blists - more mailing lists