[PW_SID:1091948] [v2,1/2] riscv/purgatory: return bool from verify_sha256_digest#1891
[PW_SID:1091948] [v2,1/2] riscv/purgatory: return bool from verify_sha256_digest#1891linux-riscv-bot wants to merge 3 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: "[v2,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[v2,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[v2,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[v2,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[v2,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[v2,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[v2,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[v2,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[v2,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[v2,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[v2,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 1: "[v2,1/2] riscv/purgatory: return bool from verify_sha256_digest" |
|
Patch 2: "[v2,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[v2,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[v2,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[v2,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[v2,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[v2,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[v2,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[v2,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[v2,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[v2,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[v2,2/2] riscv/purgatory: add asm/purgatory.h" |
|
Patch 2: "[v2,2/2] riscv/purgatory: add asm/purgatory.h" |
2c3b264 to
2d4fcdd
Compare
PR for series 1091948 applied to workflow__riscv__fixes
Name: [v2,1/2] riscv/purgatory: return bool from verify_sha256_digest
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1091948
Version: 2