Commit 3d6a8743 authored by Dan Carpenter's avatar Dan Carpenter Committed by Jens Axboe

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 15283469
...@@ -7054,6 +7054,7 @@ static long DAC960_gam_ioctl(struct file *file, unsigned int Request, ...@@ -7054,6 +7054,7 @@ static long DAC960_gam_ioctl(struct file *file, unsigned int Request,
else else
ErrorCode = 0; ErrorCode = 0;
} }
break;
default: default:
ErrorCode = -ENOTTY; ErrorCode = -ENOTTY;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment