Re: [PATCH v2 1/2] riscv/purgatory: return bool from verify_sha256_digest
From: Paul Walmsley
Date: Wed May 13 2026 - 18:57:56 EST
On Sat, 9 May 2026, Thorsten Blum wrote:
> Change the function's return type from int to bool and return the result
> of memcmp() directly to simplify the code. While at it, cast ->start to
> 'const u8 *' to better match the expected type.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
Thanks, queued for v7.2.
- Paul