Skip to contentSkip to conversation

video: semicolon bug in atyfb_base.c

PATCH New Domen Puncer 1 participant 1 message Nov 26, 2004 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 video: semicolon bug in atyfb_base.c

Indentiation and logic suggest this was wrong.

drivers/video/aty/atyfb_base.c +2 -2
@@ -440,11 +440,11 @@ static int __devinit correct_chipset(str
 	switch(par->pci_id) {
 #ifdef CONFIG_FB_ATY_GX
 	case PCI_CHIP_MACH64GX:
-		if(type != 0x00d7);
+		if(type != 0x00d7)
 			return -ENODEV;
 		break;
 	case PCI_CHIP_MACH64CX:
-		if(type != 0x0057);
+		if(type != 0x0057)
 			return -ENODEV;
 		break;
 #endif