Messages in this thread Patch in this message | | | Date | Mon, 2 Feb 2004 21:01:56 +0100 | From | Kronos <> | Subject | [Compile Regression in 2.4.25-pre8][PATCH 33/42] |
| |
pci-pc.c:180:1: warning: "PCI_CONF1_ADDRESS" redefined pci-pc.c:58:1: warning: this is the location of the previous definition
PCI_CONF1_ADDRESS is defined on line 58 #if CONFIG_MULTIQUAD. It's redefined on line 180 (outside #if CONFIG_MULTIQUAD). I added an #undef right before the end of the CONFIG_MULTIQUAD block.
diff -Nru -X dontdiff linux-2.4-vanilla/arch/i386/kernel/pci-pc.c linux-2.4/arch/i386/kernel/pci-pc.c --- linux-2.4-vanilla/arch/i386/kernel/pci-pc.c Tue Nov 11 17:51:38 2003 +++ linux-2.4/arch/i386/kernel/pci-pc.c Sat Jan 31 18:51:22 2004 @@ -175,6 +175,7 @@ pci_conf1_write_mq_config_word, pci_conf1_write_mq_config_dword }; +#undef PCI_CONF1_ADDRESS #endif /* !CONFIG_MULTIQUAD */ #define PCI_CONF1_ADDRESS(bus, dev, fn, reg) \ -- Reply-To: kronos@kronoz.cjb.net Home: http://kronoz.cjb.net "Fare l'amore con dieci donne e` fantastico, soprattutto perche` ti presentano un sacco di amiche." -- Fabio Di Iorio - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |