From: Domen Puncer <domen@coderock.org>
To: Alex Kern <alex.kern@gmx.de>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [patch] video: semicolon bug in atyfb_base.c
Date: Thu, 25 Nov 2004 22:36:22 +0100 [thread overview]
Message-ID: <20041125213622.GA7889@nd47.coderock.org> (raw)
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
reply other threads:[~2004-11-26 23:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041125213622.GA7889@nd47.coderock.org \
--to=domen@coderock.org \
--cc=alex.kern@gmx.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.