[ag-automation] [patch 1/2] fix sign compare warnings

Robert Schwebel r.schwebel at pengutronix.de
Sat May 12 01:19:15 CEST 2007


On Sat, May 12, 2007 at 01:02:51AM +0200, Thomas Gleixner wrote:
> On Sat, 2007-05-12 at 00:48 +0200, Robert Schwebel wrote:
> > On Sat, May 12, 2007 at 12:11:15AM +0200, Robert Schwebel wrote:
> > > This patch adds -Wsign-compare and fixes the resulting warnings.
> > 
> > Uhm, ... something went wrong with this one. There are no warnings any
> > more, but cyclictes also doesn't run any more :-)
> 
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
> 
> :)

Uuuh, right, I forgot to run sparse :-)

Unfortunately, I have no idea how to fix these ones:

rsc at thebe:~/git/rt-tests/cyclictest$ sparse cyclictest.c 
/usr/include/asm/sigcontext.h:9:4: warning: This machine appears to be neither x86_64 nor i386.
/usr/include/asm/unistd.h:9:4: warning: This machine appears to be neither x86_64 nor i386.
cyclictest.c:229:14: error: undefined identifier '__NR_gettid'

I thought this was just a normal Core 2 Duo box, running Debian.

Robert 
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9



More information about the ag-automation mailing list