diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-06-07 05:17:51 +0300 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2026-06-07 05:17:51 +0300 |
| commit | 1e01a786a904274d308a99b00a0f20e0d288eeff (patch) | |
| tree | 4098e718384cea868a998eb897045ca1fe18a944 /include/linux/platform_data | |
| parent | 15b4155138505669d3d43d7692459ee8ea2a86e7 (diff) | |
| download | linux-1e01a786a904274d308a99b00a0f20e0d288eeff.tar.xz | |
riscv/purgatory: return bool from verify_sha256_digest
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@linux.dev>
Link: https://patch.msgid.link/20260509073850.44595-3-thorsten.blum@linux.dev
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
