s390/crypto: ghash: Use -ENODEV instead of -EOPNOTSUPP
authorDavid Hildenbrand <david@redhat.com>
Wed, 12 Jun 2019 13:33:04 +0000 (15:33 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 15 Jun 2019 10:24:40 +0000 (12:24 +0200)
commit1c0908fcdaeb35ff200241280518fbe356f11e57
tree2d583b460767e9b541b4b2c0fdc66c8cc624e2a2
parent58443b676b9eef9f79ea1fe85ccfdffd4dc3bc6f
s390/crypto: ghash: 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/ghash_s390.c