diff options
author | Mickaël Salaün <mic@linux.microsoft.com> | 2022-03-22 12:13:23 +0100 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2022-05-23 18:47:49 +0300 |
commit | 4d99750106adbaecee587232f2589f65170d5ce4 (patch) | |
tree | 9284e44c14cdfc59563710ff95247237a6f3f7e5 /drivers | |
parent | 6364d106e0417e00eb5f223d8a90287d1c421ce0 (diff) |
certs: Explain the rationale to call panic()
The blacklist_init() function calls panic() for memory allocation
errors. This change documents the reason why we don't return -ENODEV.
Link: https://lore.kernel.org/r/20220322111323.542184-2-mic@digikod.net
Link: https://lore.kernel.org/r/YjeW2r6Wv55Du0bJ@iki.fi
Suggested-by: Paul Moore <paul@paul-moore.com>
Reviewed-by: Paul Moore <paul@paul-moore.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions