linux-mips
[Top] [All Lists]

mips/kernel/traps.c build error

To: Chris Dearman <chris@mips.com>, Atsushi Nemoto <anemo@mba.ocn.ne.jp>, Ralf Baechle <ralf@linux-mips.org>, Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: mips/kernel/traps.c build error
From: Adrian Bunk <bunk@kernel.org>
Date: Sun, 25 May 2008 19:43:11 +0300
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
Commit 39b8d5254246ac56342b72f812255c8f7a74dca9
([MIPS] Add support for MIPS CMP platform.)
causes the following build error:

<--  snip  -->

...
  CC      arch/mips/kernel/traps.o
cc1: warnings being treated as errors
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/kernel/traps.c: In function 
'show_raw_backtrace':
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/kernel/traps.c:92: error: 
cast from pointer to integer of different size
make[2]: *** [arch/mips/kernel/traps.o] Error 1

<--  snip  -->

"[MIPS] Fix check for valid stack pointer during backtrace" in the mips 
tree fixes it, and should therefore also go into 2.6.26.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


<Prev in Thread] Current Thread [Next in Thread>
  • mips/kernel/traps.c build error, Adrian Bunk <=