Commit d06cbda69ffc89bdfcf4cb9d78b0e64c5c28e549
Committed by
Martin Schwidefsky
1 parent
2267a0c85c
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
drivers/s390/char/sclp.c
drivers/s390/char/sclp_rw.c
... | ... | @@ -463,7 +463,7 @@ |
463 | 463 | /* Use write priority message */ |
464 | 464 | sccb->msg_buf.header.type = EVTYP_PMSGCMD; |
465 | 465 | else |
466 | - return -ENOSYS; | |
466 | + return -EOPNOTSUPP; | |
467 | 467 | buffer->request.command = SCLP_CMDW_WRITE_EVENT_DATA; |
468 | 468 | buffer->request.status = SCLP_REQ_FILLED; |
469 | 469 | buffer->request.callback = sclp_writedata_callback; |