hwrng: Return errors to upper levels in pseries-rng.c
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 25 Sep 2013 09:24:17 +0000 (19:24 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:50:18 +0000 (16:50 +1100)
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>

No differences found