diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2013-09-25 19:24:17 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-10-11 16:50:18 +1100 |
commit | f95dabef4c70e27e5114f4802fe6234ff82ce406 (patch) | |
tree | fcdceb2c6f6159c93b8c238e46c880b79bb47b22 /arch/powerpc/platforms/powernv/rng.c | |
parent | 41b93b238ab394c8cf0935ec3ba31c700a2b3b25 (diff) |
hwrng: Return errors to upper levels in pseries-rng.c
We don't expect to get errors from the hypervisor when reading the rng,
but if we do we should pass the error up to the hwrng driver. Otherwise
the hwrng driver will continue calling us forever.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/powernv/rng.c')
0 files changed, 0 insertions, 0 deletions