summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-09-06 16:53:44 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-09-26 15:45:15 +0200
commita11b2ef7bb69136dfac2d6367574151223ee7712 (patch)
tree807dc47af91035ee6b4b224a96d4de0f6a702b6a /arch/s390
parentd978386e79412e45d1aea81eee345dac23d20865 (diff)
downloadlinux-3.10-a11b2ef7bb69136dfac2d6367574151223ee7712.tar.gz
linux-3.10-a11b2ef7bb69136dfac2d6367574151223ee7712.tar.bz2
linux-3.10-a11b2ef7bb69136dfac2d6367574151223ee7712.zip
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')
-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 f328294faea..32a70598715 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);