[PW_SID:1091676] [RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest#1887
[PW_SID:1091676] [RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest#1887linux-riscv-bot wants to merge 2 commits into
Conversation
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> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add arch/riscv/include/asm/purgatory.h and provide the purgatory() prototype via the architecture header, mirroring the x86 layout. Remove the workaround from arch/riscv/purgatory/purgatory.c. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 2: "[RESEND,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[RESEND,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[RESEND,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[RESEND,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[RESEND,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[RESEND,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[RESEND,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[RESEND,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[RESEND,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[RESEND,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[RESEND,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[RESEND,2/2] riscv/purgatory: add asm/purgatory.h" |
PR for series 1091676 applied to workflow__riscv__fixes
Name: [RESEND,1/2] riscv/purgatory: return bool from verify_sha256_digest
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1091676
Version: 1