mirror of
https://github.com/torvalds/linux.git
synced 2026-10-15 20:30:02 +02:00
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. Also inline the verify_sha256_digest() check and remove the redundant local 'ret' variable in purgatory(). No change in functionality expected. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: "H. Peter Anvin" <hpa@zytor.com> Link: https://patch.msgid.link/20260723133634.161598-3-thorsten.blum@linux.dev |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| entry64.S | ||
| kexec-purgatory.S | ||
| Makefile | ||
| purgatory.c | ||
| setup-x86_64.S | ||
| stack.S | ||