Re: [PATCH] rust: opp: use to_result for error handling
From: Viresh Kumar
Date: Fri Aug 22 2025 - 01:54:18 EST
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@xxxxxxxxxxxxx>
> ---
> rust/kernel/opp.rs | 16 +++++-----------
> 1 file changed, 5 insertions(+), 11 deletions(-)
Applied. Thanks.
--
viresh