WARNING in arch/i386/kernel/init_task.c

Thunder from the hill (thunder@ngforever.de)
Tue, 9 Jul 2002 10:34:00 -0600 (MDT)


Hi,

Compiling 2.5 with the stack patch enabled, I get the following warning
about the union thread_union init_thread_union:

/home/thunder/tmp/thunder-2.5/arch/i386/kernel/init_task.c:39: warning:
initialization from incompatible pointer type

union thread_union init_thread_union
__attribute__((__section__(".data.init_task"))) =
{ {
task: &init_task,
exec_domain: &default_exec_domain,
flags: 0,
cpu: 0,
addr_limit: KERNEL_DS,
irq_stack: &init_irq_union,
} };

Would it be OK to replace irq_stack: &init_irq_union with
&init_irq_union.init_task?

.config used was configallmod

Regards,
Thunder

-- 
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o?  K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y- 
------END GEEK CODE BLOCK------

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