From: Alan Cox <alan@redhat.com>
To: torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: PATCH: Fix careless warning in io_apic for x86-64
Date: Mon, 10 May 2004 17:53:45 -0400 [thread overview]
Message-ID: <20040510215345.GA3719@devserv.devel.redhat.com> (raw)
Fixes the warning
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.6/arch/x86_64/kernel/io_apic.c linux-2.6.6/arch/x86_64/kernel/io_apic.c
--- linux.vanilla-2.6.6/arch/x86_64/kernel/io_apic.c 2004-05-10 03:32:37.000000000 +0100
+++ linux-2.6.6/arch/x86_64/kernel/io_apic.c 2004-05-10 19:06:06.000000000 +0100
@@ -228,6 +228,8 @@
void __init check_ioapic(void)
{
int num,slot,func;
+ u8 type;
+
if (ioapic_force)
return;
@@ -270,7 +272,7 @@
}
/* No multi-function device? */
- u8 type = read_pci_config_byte(num,slot,func,
+ type = read_pci_config_byte(num,slot,func,
PCI_HEADER_TYPE);
if (!(type & 0x80))
break;
reply other threads:[~2004-05-10 21:53 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=20040510215345.GA3719@devserv.devel.redhat.com \
--to=alan@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox