projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0aac68
)
pktcdvd: fix fall-through annotation
author
Gustavo A. R. Silva
<gustavo@embeddedor.com>
Tue, 2 Oct 2018 10:24:40 +0000
(12:24 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 2 Oct 2018 14:36:58 +0000
(08:36 -0600)
Replace "fallthru" with a proper "fall through" annotation.
This fix is part of the ongoing efforts to enabling
-Wimplicit-fallthrough
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/pktcdvd.c
patch
|
blob
|
history
diff --git
a/drivers/block/pktcdvd.c
b/drivers/block/pktcdvd.c
index 6f1d25c1eb640b8a0cffe94c3bd7e0cfa0ea691b..9381f4e3b2219f7c455281a88c79faa93a4402a4 100644
(file)
--- a/
drivers/block/pktcdvd.c
+++ b/
drivers/block/pktcdvd.c
@@
-2645,7
+2645,7
@@
static int pkt_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd,
*/
if (pd->refcnt == 1)
pkt_lock_door(pd, 0);
- /* fall
thru
*/
+ /* fall
through
*/
/*
* forward selected CDROM ioctls to CD-ROM, for UDF
*/