Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
hwrng: amd - report partial reads in non-blocking mode
amd_rng_read() returns 0 if no more data is available, even if some data was already copied to the output buffer. Return the number of copied bytes instead. Fixes: 85962d2248fa ("hwrng: amd - Convert to new hwrng read() API") Cc: stable@vger.kernel.org Signed-off-by: Thorsten Blum <blum@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Author Thorsten Blum Committer Herbert Xu Date (Oct 2, 2026, 8:12 AM UTC) Commit
Copy SHA
Parent 10016246 10016246d5e572ed77c3eec2311c34b6d6b789a6