lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 26 Mar 2007 15:05:23 -0700 From: Andrew Morton <akpm@...ux-foundation.org> To: David Brownell <david-b@...bell.net> Cc: Linux Kernel list <linux-kernel@...r.kernel.org> Subject: Re: [patch 2.6.21-rc5] arch/x86_64/kernel/early-quirks.c compiler warning On Mon, 26 Mar 2007 09:17:44 -0700 David Brownell <david-b@...bell.net> wrote: > Fix "unused variable" compiler warning on non-SMP x86_64 configs. > > Signed-off-by: David Brownell <dbrownell@...rs.sourceforge.net> > > --- a/arch/x86_64/kernel/early-quirks.c > +++ b/arch/x86_64/kernel/early-quirks.c > @@ -73,9 +73,9 @@ static void __init ati_bugs(void) > > static void intel_bugs(void) > { > +#ifdef CONFIG_SMP > u16 device = read_pci_config_16(0, 0, 0, PCI_DEVICE_ID); > > -#ifdef CONFIG_SMP > if (device == PCI_DEVICE_ID_INTEL_E7320_MCH || > device == PCI_DEVICE_ID_INTEL_E7520_MCH || > device == PCI_DEVICE_ID_INTEL_E7525_MCH) This whole function gets removed by ftp://ftp.firstfloor.org/pub/ak/x86_64/quilt-current/patches/revert-x86_64-mm-fix-the-irqbalance-quirk-for-e7320-e7520-e7525 so I think I'll duck the patch. Which is very bad of me, because it means 2.6.21 goes out with this warning. But I don't think many people build non-SMP x86_64. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists