[PATCH v2 1/2] riscv/purgatory: return bool from verify_sha256_digest
Paul Walmsley
pjw at kernel.org
Wed May 13 15:57:46 PDT 2026
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 at linux.dev>
Thanks, queued for v7.2.
- Paul
More information about the linux-riscv
mailing list