summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/appldata.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-09-06 18:53:44 +0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-09-26 17:45:15 +0400
commita11b2ef7bb69136dfac2d6367574151223ee7712 (patch)
tree807dc47af91035ee6b4b224a96d4de0f6a702b6a /arch/s390/include/asm/appldata.h
parentd978386e79412e45d1aea81eee345dac23d20865 (diff)
downloadlinux-a11b2ef7bb69136dfac2d6367574151223ee7712.tar.xz
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>
Diffstat (limited to 'arch/s390/include/asm/appldata.h')
-rw-r--r--arch/s390/include/asm/appldata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/appldata.h b/arch/s390/include/asm/appldata.h
index f328294faeae..32a705987156 100644
--- a/arch/s390/include/asm/appldata.h
+++ b/arch/s390/include/asm/appldata.h
@@ -70,7 +70,7 @@ static inline int appldata_asm(struct appldata_product_id *id,
int ry;
if (!MACHINE_IS_VM)
- return -ENOSYS;
+ return -EOPNOTSUPP;
parm_list.diag = 0xdc;
parm_list.function = fn;
parm_list.parlist_length = sizeof(parm_list);