s390/sclp: use -EOPNOTSUPP instead of -ENOSYS
[deliverable/linux.git] / drivers / s390 / char / sclp_rw.c
index 4be63be7344564a113e29a0051c79ac430b372a6..3b13d58fe87bb7cf431a912052862c3be0d6ce7f 100644 (file)
@@ -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;
This page took 0.026454 seconds and 5 git commands to generate.