[PATCH] video/fbdev/stifb: Fix spelling mistake in fall-through annotation

Subsystems: framebuffer layer, parisc architecture, the rest

STALE2945d

2 messages, 2 authors, 2018-09-26 · open the first message on its own page

[PATCH] video/fbdev/stifb: Fix spelling mistake in fall-through annotation

From: Gustavo A. R. Silva <hidden>
Date: 2018-09-03 20:08:06

Replace "fall though" with a proper "fall through" annotation.

This fix is part of the ongoing efforts to enabling
-Wimplicit-fallthrough

Addresses-Coverity-ID: 402013 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <redacted>
---
 drivers/video/fbdev/stifb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
index 045e8af..9e88e3f 100644
--- a/drivers/video/fbdev/stifb.c
+++ b/drivers/video/fbdev/stifb.c
@@ -1157,7 +1157,7 @@ static int __init stifb_init_fb(struct sti_struct *sti, int bpp_pref)
 			dev_name);
 		   goto out_err0;
 		}
-		/* fall though */
+		/* fall through */
 	case S9000_ID_ARTIST:
 	case S9000_ID_HCRX:
 	case S9000_ID_TIMBER:
-- 
2.7.4

Re: [PATCH] video/fbdev/stifb: Fix spelling mistake in fall-through annotation

From: Bartlomiej Zolnierkiewicz <hidden>
Date: 2018-09-26 16:53:04

On 09/03/2018 10:07 PM, Gustavo A. R. Silva wrote:
Replace "fall though" with a proper "fall through" annotation.

This fix is part of the ongoing efforts to enabling
-Wimplicit-fallthrough

Addresses-Coverity-ID: 402013 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <redacted>
Patch queued for 4.19, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help