]> git.baikalelectronics.ru Git - kernel.git/commit
s390/uv: use EOPNOTSUPP instead of ENOTSUPP
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 6 Dec 2019 07:27:51 +0000 (08:27 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 11 Dec 2019 18:53:24 +0000 (19:53 +0100)
commitda550e177bbc7a163c152948f546c6fe86ea99f1
tree2e04f90a8e2822c8c91fb98fff4df5bb9b700e9d
parent61b9790eaa3772137de0e53db6ff027acfbafb5b
s390/uv: use EOPNOTSUPP instead of ENOTSUPP

ENOTSUP is just an internal kernel error and should never reach
userspace. The return value of the share function is not exported to
userspace, but to avoid giving bad examples let us use EOPNOTSUPP:

Suggested-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/uv.h