lkml.org 
[lkml]   [2002]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: 2.4.19-rc3-ac3: init_task.c: missing braces around initializer (trivial)
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 */ \
}



-
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/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.057 / U:0.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site