projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caf757c
)
s390/dasd: fix return value for non-existent ioctls
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Thu, 6 Sep 2012 12:47:30 +0000
(14:47 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Wed, 26 Sep 2012 13:45:12 +0000
(15:45 +0200)
For non-existent ioctls -ENOTTY should be returned.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_ioctl.c
patch
|
blob
|
history
diff --git
a/drivers/s390/block/dasd_ioctl.c
b/drivers/s390/block/dasd_ioctl.c
index 654c6921a6d462f5d9fc0f0b82e9813480b96670..8252f37d04ed317b3f39764089187e0c91779c29 100644
(file)
--- a/
drivers/s390/block/dasd_ioctl.c
+++ b/
drivers/s390/block/dasd_ioctl.c
@@
-292,12
+292,12
@@
out:
#else
static int dasd_ioctl_reset_profile(struct dasd_block *block)
{
- return -ENO
SYS
;
+ return -ENO
TTY
;
}
static int dasd_ioctl_read_profile(struct dasd_block *block, void __user *argp)
{
- return -ENO
SYS
;
+ return -ENO
TTY
;
}
#endif