* PATCH: Fix careless warning in io_apic for x86-64
@ 2004-05-10 21:53 Alan Cox
0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2004-05-10 21:53 UTC (permalink / raw)
To: torvalds, linux-kernel
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-10 21:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-10 21:53 PATCH: Fix careless warning in io_apic for x86-64 Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox