Re: [PATCH v2 3/4] s390/crypto: prng: Use -ENODEV instead of -EOPNOTSUPP

From: Cornelia Huck
Date: Wed Jun 12 2019 - 06:39:57 EST


On Wed, 12 Jun 2019 12:22:47 +0200
David Hildenbrand <david@xxxxxxxxxx> wrote:

> Let's use the error value that is typically used if HW support is not
> available when trying to load a module - this is also what systemd's
> systemd-modules-load.service expects.
>
> Signed-off-by: David Hildenbrand <david@xxxxxxxxxx>
> ---
> arch/s390/crypto/prng.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>