pktcdvd: fix fall-through annotation
PATCH 1/1 pktcdvd: fix fall-through annotation
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 <[email protected]>
--- drivers/block/pktcdvd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/pktcdvd.c +1 -1
@@ -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 ); -/* fallthru */ +/* fall through */ /* * forward selected CDROM ioctls to CD-ROM, for UDF */
Signature · 1 line
2.7.4
Quoted 4 lines · Gustavo A. R. Silva
Replace "fallthru" with a proper "fall through" annotation.
This fix is part of the ongoing efforts to enabling -Wimplicit-fallthrough
Applied, thanks.
Signature · 1 line
Jens Axboe