mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
s390/dasd: fix return value for non-existent ioctls
For non-existent ioctls -ENOTTY should be returned. Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
caf757c609
commit
2267a0c85c
1 changed files with 2 additions and 2 deletions
|
|
@ -292,12 +292,12 @@ out:
|
|||
#else
|
||||
static int dasd_ioctl_reset_profile(struct dasd_block *block)
|
||||
{
|
||||
return -ENOSYS;
|
||||
return -ENOTTY;
|
||||
}
|
||||
|
||||
static int dasd_ioctl_read_profile(struct dasd_block *block, void __user *argp)
|
||||
{
|
||||
return -ENOSYS;
|
||||
return -ENOTTY;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue