Skip to content

Commit

Permalink
s390/appldata: change return value of appldata_asm
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Sep 26, 2012
1 parent d978386 commit a11b2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/s390/include/asm/appldata.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a11b2ef

Please sign in to comment.