lkml.org 
[lkml]   [2002]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectWARNING in arch/i386/kernel/init_task.c
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/

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