summaryrefslogtreecommitdiffstats
path: root/drivers/block/DAC960.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-01-11 09:52:44 +0300
committerJens Axboe <axboe@kernel.dk>2013-01-11 14:42:36 +0100
commit3d6a87430e764cf4132710538139c10970929189 (patch)
tree9d470824874135f9945a0dbb3f5f68721b87d5f8 /drivers/block/DAC960.c
parent152834694dcb90d3088bc77fa436755c66553929 (diff)
downloadop-kernel-dev-3d6a87430e764cf4132710538139c10970929189.zip
op-kernel-dev-3d6a87430e764cf4132710538139c10970929189.tar.gz
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>
Diffstat (limited to 'drivers/block/DAC960.c')
-rw-r--r--drivers/block/DAC960.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c
index 9a13e88..0d3ffc5 100644
--- a/drivers/block/DAC960.c
+++ b/drivers/block/DAC960.c
@@ -7054,6 +7054,7 @@ static long DAC960_gam_ioctl(struct file *file, unsigned int Request,
else
ErrorCode = 0;
}
+ break;
default:
ErrorCode = -ENOTTY;
}
OpenPOWER on IntegriCloud