Skip to contentSkip to conversation

pktcdvd: fix fall-through annotation

PATCH Applied Gustavo A. R. Silva 2 participants 2 messages Oct 2, 2018 Block layer

lore
Share & tools
lore
#0 lore raw

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

---
 drivers/block/pktcdvd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/pktcdvd.c +1 -1
index 6f1d25c..9381f4e 100644
@@ -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
maintainer Applied
#1 lore raw
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