summaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/sclp_rw.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-09-06 15:00:07 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-09-26 15:45:13 +0200
commitd06cbda69ffc89bdfcf4cb9d78b0e64c5c28e549 (patch)
tree2b8eddbcc02c49c95d4b723f891b1bc01d9c2bb4 /drivers/s390/char/sclp_rw.c
parents390/dasd: fix return value for non-existent ioctls (diff)
downloadlinux-d06cbda69ffc89bdfcf4cb9d78b0e64c5c28e549.tar.xz
linux-d06cbda69ffc89bdfcf4cb9d78b0e64c5c28e549.zip
s390/sclp: use -EOPNOTSUPP instead of -ENOSYS
The return value was only internally used, so it's ok to change. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/sclp_rw.c')
-rw-r--r--drivers/s390/char/sclp_rw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/sclp_rw.c b/drivers/s390/char/sclp_rw.c
index 4be63be73445..3b13d58fe87b 100644
--- a/drivers/s390/char/sclp_rw.c
+++ b/drivers/s390/char/sclp_rw.c
@@ -463,7 +463,7 @@ sclp_emit_buffer(struct sclp_buffer *buffer,
/* Use write priority message */
sccb->msg_buf.header.type = EVTYP_PMSGCMD;
else
- return -ENOSYS;
+ return -EOPNOTSUPP;
buffer->request.command = SCLP_CMDW_WRITE_EVENT_DATA;
buffer->request.status = SCLP_REQ_FILLED;
buffer->request.callback = sclp_writedata_callback;