From: Heiko Carstens Date: Thu, 6 Sep 2012 14:53:44 +0000 (+0200) Subject: s390/appldata: change return value of appldata_asm X-Git-Tag: next-20120911~108^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3da61cde43fe10bc94b6e5088442890873343aff;p=karo-tx-linux.git 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 Signed-off-by: Martin Schwidefsky --- 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);