s390/hypfs: stop using ENOSYS error code
authorSven Schnelle <svens@linux.ibm.com>
Fri, 14 Jul 2023 08:42:56 +0000 (10:42 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 24 Jul 2023 10:12:24 +0000 (12:12 +0200)
commit5216d853cb154a4866c9984fd41f71583e8bdd39
treec2d66434751d0746b1474e601517fa8a8ed26764
parente7e828ebeb5d80d42c9ac514db5fb3d33367cf10
s390/hypfs: stop using ENOSYS error code

ENOSYS should only be returned to userspace when a syscall
is not implemented. The only known user, 'hyptop' is not explicitely
checking for -ENOSYS, therefore use EOPNOTSUPP instead. It is very
unlikely that there are other users, so this change should have no
impact on userspace.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/hypfs/hypfs_diag.c