public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PATCH: 2.4.19-rc3-ac3: init_task.c: missing braces around initializer (trivial)
@ 2002-07-23 20:51 Alex Riesen
  0 siblings, 0 replies; only message in thread
From: Alex Riesen @ 2002-07-23 20:51 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

The patch fixes the INIT_THREAD initializer.

~/compile/steel/linux-2.4.19-rc3-ac3$ make bzImage modules -s
init_task.c:23: warning: missing braces around initializer
init_task.c:23: warning: (near initialization for `init_task_union.task.thread.io_bitmap')
init_task.c:23: warning: braces around scalar initializer
init_task.c:23: warning: (near initialization for `init_task_union.task.thread.io_bitmap[1]')

It's a resend, previous was for rc2-ac2, rediffed again rc3-ac3.
What about named initializers there, btw?


--- a/include/asm-i386/processor.h	Tue Jul 23 22:41:37 2002
+++ b/include/asm-i386/processor.h	Tue Jul 23 22:45:34 2002
@@ -393,7 +393,7 @@
 	{ [0 ... 7] = 0 },	/* debugging registers */	\
 	0, 0, 0,						\
 	{ { 0, }, },		/* 387 state */			\
-	0,0,0,0,0,0,						\
+	0,0,0,0,0,						\
 	0,{~0,}			/* io permissions */		\
 }
 




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-23 20:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-23 20:51 PATCH: 2.4.19-rc3-ac3: init_task.c: missing braces around initializer (trivial) Alex Riesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox