DORMANTno replies

[patch] sisfb: fix 1280x720 resolution support

From: Dan Carpenter <hidden>
Date: 2013-01-11 06:52:02
Also in: kernel-janitors
Subsystem: framebuffer layer, the rest · Maintainers: Helge Deller, Linus Torvalds

It uses the wrong mode index because there is no break statement.

Signed-off-by: Dan Carpenter <redacted>
---
Static checker fix.  Untested.
diff --git a/drivers/video/sis/init.c b/drivers/video/sis/init.c
index f082ae5..0b71c53 100644
--- a/drivers/video/sis/init.c
+++ b/drivers/video/sis/init.c
@@ -651,6 +651,7 @@ SiS_GetModeID_LCD(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDispla
 	     switch(VDisplay) {
 	     case 720:
 		ModeIndex = ModeIndex_1280x720[Depth];
+		break;
 	     case 768:
 		if(VGAEngine = SIS_300_VGA) {
 		   ModeIndex = ModeIndex_300_1280x768[Depth];
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help