2002-07-18 22:40:26

by Alex Riesen

[permalink] [raw]
Subject: [PATCH] 2.4.19-rc2-ac2: init_task.c: missing braces around initializer

~/compile/steel/linux-2.4.19-rc2-ac2$ 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]')


--- linux-2.4.19-rc2-ac4/include/asm-i386/processor.h Fri Jul 19 00:37:45 2002
+++ linux-2.4.19-rc2-ac4/include/asm-i386/processor.h~ Fri Jul 19 00:38:48 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 */ \
}