gcc warnings from 105, ext2 & quota

Meelis Roos (mroos@tartu.cyber.ee)
Mon, 8 Jun 1998 19:21:42 +0300 (EEST)


Just for information: there are some warnings during compilation of
2.1.105+Alan Cox's ac1 patch in fs/ext2:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o balloc.o balloc.c
balloc.c: In function `ext2_free_blocks':
balloc.c:325: warning: passing arg 2 of `DQUOT_FREE_BLOCK' discards `const' from pointer target type
balloc.c: In function `ext2_new_block':
balloc.c:527: warning: passing arg 2 of `DQUOT_ALLOC_BLOCK' discards `const' from pointer target type
balloc.c:546: warning: passing arg 2 of `DQUOT_FREE_BLOCK' discards `const' from pointer target type
balloc.c:567: warning: passing arg 2 of `DQUOT_PREALLOC_BLOCK' discards `const' from pointer target type
balloc.c:570: warning: passing arg 2 of `DQUOT_FREE_BLOCK' discards `const' from pointer target type

---
Meelis Roos (mroos@tartu.cyber.ee)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu