WARNING in arch/i386/kernel/init_task.c

From: Thunder from the hill (thunder@ngforever.de)
Date: Tue Jul 09 2002 - 11:34:00 EST


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/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:15 EST