diff options
| author | Thorsten Blum <blum@kernel.org> | 2026-09-22 20:11:02 +0200 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-10-02 18:12:43 +1000 |
| commit | a0590c556cdbf88373d38494a23f1503d39b0ab2 (patch) | |
| tree | b2dbec06e86d432f731e4c0a364ca94d16159f83 /include/linux | |
| parent | 3a31a4baad6726bf974bcc58a6398f6a36d10aa0 (diff) | |
hwrng: intel - return -ENOMEM when kmalloc_obj() fails
intel_rng_mod_init() incorrectly returns -ENODEV when kmalloc_obj()
fails. Return -ENOMEM instead.
Fixes: ee527cd3a20c ("Use stop_machine_run in the Intel RNG driver")
Signed-off-by: Thorsten Blum <blum@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
