]> git.baikalelectronics.ru Git - kernel.git/commit
s390/crypto: prng: Use -ENODEV instead of -EOPNOTSUPP
authorDavid Hildenbrand <david@redhat.com>
Wed, 12 Jun 2019 13:33:05 +0000 (15:33 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 15 Jun 2019 10:24:44 +0000 (12:24 +0200)
commit8ae1e36c9aa74a2c43ad68fc98232aae306a9f7e
treec501b8a177dafdf817faced9d04c0bf87b6c1067
parent0ea037a3210b1d0ea31463ff45afa8c90a811b0d
s390/crypto: prng: Use -ENODEV instead of -EOPNOTSUPP

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.

Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/crypto/prng.c