* [patch] video: semicolon bug in atyfb_base.c
@ 2004-11-25 21:36 Domen Puncer
0 siblings, 0 replies; only message in thread
From: Domen Puncer @ 2004-11-25 21:36 UTC (permalink / raw)
To: Alex Kern; +Cc: lkml
Indentiation and logic suggest this was wrong.
Signed-off-by: Domen Puncer <domen@coderock.org>
--- c/drivers/video/aty/atyfb_base.c 2004-11-15 13:42:18.000000000 +0100
+++ str2/drivers/video/aty/atyfb_base.c 2004-11-25 21:14:52.000000000 +0100
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-26 23:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-25 21:36 [patch] video: semicolon bug in atyfb_base.c Domen Puncer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox