Re: [PATCH 2/3] rust: dma: convert the read/write macros to return Result
From: Andreas Hindborg
Date: Tue Apr 08 2025 - 08:52:20 EST
"Abdiel Janulgue" <abdiel.janulgue@xxxxxxxxx> writes:
> As suggested by Andreas Hindborg, we could do better here by
> having the macros return `Result`, so that we don't have to wrap
> these calls in a closure for validation which is confusing.
>
> Signed-off-by: Abdiel Janulgue <abdiel.janulgue@xxxxxxxxx>
Reviewed-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
Best regards,
Andreas Hindborg