lkml.org 
[lkml]   [1999]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.3.1-pre3 warnings....
I got the following warning whilst compiling 2.3.1-pre3 on ix86.
Below is a patch that should fix it.(let me know if I'm wrong).



Aaron



/usr/src/linux/include/asm/semaphore.h: In function `down':
In file included from /usr/src/linux/include/linux/fs.h:165,
from /usr/src/linux/include/linux/capability.h:13,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:8,
from /usr/src/linux/include/linux/mm.h:4,
from sched.c:27:
/usr/src/linux/include/asm/semaphore.h:107: warning: long unsigned int
format, unsigned int arg (arg 2)
/usr/src/linux/include/asm/semaphore.h: In function `down_interruptible':
/usr/src/linux/include/asm/semaphore.h:132: warning: long unsigned int
format, unsigned int arg (arg 2)
/usr/src/linux/include/asm/semaphore.h: In function `down_trylock':
/usr/src/linux/include/asm/semaphore.h:159: warning: long unsigned int
format, unsigned int arg (arg 2)
/usr/src/linux/include/asm/semaphore.h: In function `up':
/usr/src/linux/include/asm/semaphore.h:190: warning: long unsigned int
format, unsigned int arg (arg 2)

--- linux/include/asm-i386/semaphore.h~ Wed May 12 15:48:16 1999
+++ linux/include/asm-i386/semaphore.h Wed May 12 15:52:58 1999
@@ -34,7 +34,7 @@
int waking;
wait_queue_head_t wait;
#if WAITQUEUE_DEBUG
- int __magic;
+ long __magic;
#endif
};


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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