Re: [PATCH] C99 designated initializers for arch/i386

From: Falk Hueffner (falk.hueffner@student.uni-tuebingen.de)
Date: Sat Oct 12 2002 - 15:59:03 EST


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/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:44 EST