diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-09-06 15:00:07 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-09-26 15:45:13 +0200 |
commit | d06cbda69ffc89bdfcf4cb9d78b0e64c5c28e549 (patch) | |
tree | 2b8eddbcc02c49c95d4b723f891b1bc01d9c2bb4 /drivers/s390/char/sclp.c | |
parent | s390/dasd: fix return value for non-existent ioctls (diff) | |
download | linux-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.c')
-rw-r--r-- | drivers/s390/char/sclp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/sclp.c b/drivers/s390/char/sclp.c index 3fcc000efc53..4fa21f7e2308 100644 --- a/drivers/s390/char/sclp.c +++ b/drivers/s390/char/sclp.c @@ -334,7 +334,7 @@ sclp_dispatch_evbufs(struct sccb_header *sccb) reg->receiver_fn(evbuf); spin_lock_irqsave(&sclp_lock, flags); } else if (reg == NULL) - rc = -ENOSYS; + rc = -EOPNOTSUPP; } spin_unlock_irqrestore(&sclp_lock, flags); return rc; |