Messages in this thread | | | Subject | Re: [PATCH] C99 designated initializers for arch/i386 | From | Falk Hueffner <> | Date | 12 Oct 2002 22:59:03 +0200 |
| |
Art Haas <ahaas@neosoft.com> writes:
> Here's a set of patches that switch arch/i386 to use C99 named > initiailzers. The patches are all against 2.5.42. > > > --- linux-2.5.42/arch/i386/kernel/cpu/intel.c.old 2002-10-12 09:46:27.000000000 -0500 > +++ linux-2.5.42/arch/i386/kernel/cpu/intel.c 2002-10-12 09:53:20.000000000 -0500 > @@ -366,7 +366,7 @@ > static struct cpu_dev intel_cpu_dev __initdata = { > .c_vendor = "Intel", > .c_ident = { "GenuineIntel" }, > - c_models: { > + .c_models = { > { X86_VENDOR_INTEL, 4, > { > [0] "486 DX-25/33", ^
C99 doesn't allow not having a '=' there.
-- Falk - 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/
| |