Messages in this thread Patch in this message | | | Date | Wed, 12 May 1999 15:55:00 -0400 (EDT) | From | <> | Subject | 2.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/
| |