Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH v2 1/1] certs: Explain the rationale to call panic() | Date | Wed, 30 Mar 2022 13:53:26 +0100 |
| |
Mickaël Salaün <mic@digikod.net> wrote:
> The blacklist_init() function calls panic() for memory allocation > errors. This change documents the reason why we don't return -ENODEV.
Why, though?
This is only called whilst the kernel is booting. If you hit ENOMEM, you aren't likely to get much further with the boot process.
David
| |