[PATCH] s390: fix invalid return code in sclp_cpi
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>
Fri, 6 Jan 2006 08:19:27 +0000 (00:19 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:53 +0000 (08:33 -0800)
commit9bbc8346fb21fad3f678220b067450e436e45dbf
tree80934102daf1e9a6b2c0a387ec619c367cf6a271
parent3b793060e768197d525e892fd1f84dbc8767cada
[PATCH] s390: fix invalid return code in sclp_cpi

When the sclp_cpi module is loaded on a system which does not support the
required SCLP call (e.g.  on z/VM), ENOSUPP is returned to user space.  The
correct return value is EOPNOTSUPP.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/char/sclp_cpi.c