Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/appldata: change return value of appldata_asm

Change return value of appldata_asm() to -EOPNOTSUPP in case of an
error. The return value was only used internally and not passed to
user space.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
a11b2ef7 d978386e

+1 -1
+1 -1
arch/s390/include/asm/appldata.h
··· 70 70 int ry; 71 71 72 72 if (!MACHINE_IS_VM) 73 - return -ENOSYS; 73 + return -EOPNOTSUPP; 74 74 parm_list.diag = 0xdc; 75 75 parm_list.function = fn; 76 76 parm_list.parlist_length = sizeof(parm_list);