projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1528346
)
dac960: return success instead of -ENOTTY
author
Dan Carpenter
<dan.carpenter@oracle.com>
Fri, 11 Jan 2013 06:52:44 +0000
(09:52 +0300)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 11 Jan 2013 13:42:36 +0000
(14:42 +0100)
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>
drivers/block/DAC960.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/DAC960.c
b/drivers/block/DAC960.c
index 9a13e889837e96d06d96b61efcac4ae136ec2961..0d3ffc51a7bde209b063a53e194527435fb95afd 100644
(file)
--- 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;
}