diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-09-06 16:53:44 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-09-26 15:45:15 +0200 |
commit | a11b2ef7bb69136dfac2d6367574151223ee7712 (patch) | |
tree | 807dc47af91035ee6b4b224a96d4de0f6a702b6a | |
parent | d978386e79412e45d1aea81eee345dac23d20865 (diff) | |
download | blackbird-op-linux-a11b2ef7bb69136dfac2d6367574151223ee7712.tar.gz blackbird-op-linux-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>
-rw-r--r-- | arch/s390/include/asm/appldata.h | 2 |
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); |