mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 05:06:44 +07:00
dac960: return success instead of -ENOTTY
There is a missing break statement here. This used to return directly but we re-worked it in 2008 to add locking as part of the BKL push down. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
152834694d
commit
3d6a87430e
@ -7054,6 +7054,7 @@ static long DAC960_gam_ioctl(struct file *file, unsigned int Request,
|
||||
else
|
||||
ErrorCode = 0;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
ErrorCode = -ENOTTY;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user