2.4.15-pre6 warnings compiling reiserfs

Luigi Genoni (kernel@Expansa.sns.it)
Mon, 19 Nov 2001 10:57:12 +0100 (CET)


HI,

I am just compiling 2.4.15-pre6 with aa1 patch, to make some
etsts on a ultrasparc64 system used as proxy server.
compiling reiserfs support i get those warnings:

ct-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow
-ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare
-Wa,--undeclared-regs -c -o item_ops.o item_ops.c
/usr/src/linux-2.4.15-pre6/include/linux/reiserfs_fs.h: In function
`le_key_k_offset':
In file included from item_ops.c:6:
/usr/src/linux-2.4.15-pre6/include/linux/reiserfs_fs.h:526: warning:
passing arg 1 of `offset_v2_k_offset' discards `const' from pointer target
type
/usr/src/linux-2.4.15-pre6/include/linux/reiserfs_fs.h: In function
`le_key_k_type':
/usr/src/linux-2.4.15-pre6/include/linux/reiserfs_fs.h:538: warning:
passing arg 1 of `offset_v2_k_type' discards `const' from pointer target
type
/usr/src/linux-2.4.15-pre6/include/linux/reiserfs_fs.h: In function
`make_empty_dir_item_v1':
/usr/src/linux-2.4.15-pre6/include/linux/reiserfs_fs.h:971: warning: value
computed is not used
/usr/src/linux-2.4.15-pre6/include/linux/reiserfs_fs.h:981: warning: value
computed is not used
/usr/src/linux-2.4.15-pre6/include/linux/reiserfs_fs.h: In function
`make_empty_dir_item':
/usr/src/linux-2.4.15-pre6/include/linux/reiserfs_fs.h:1005: warning:
value computed is not used
/usr/src/linux-2.4.15-pre6/include/linux/reiserfs_fs.h:1015: warning:
value computed is not used
/usr/src/linux-2.4.15-pre6/include/linux/reiserfs_fs.h: In function
`le_key_version':
/usr/src/linux-2.4.15-pre6/include/linux/reiserfs_fs.h:1763: warning:
passing arg 1 of `offset_v2_k_type' discards `const' from pointer target
type

In my configuration I enabled /proc/fs/reiserfs report. (still to try a
compilation with this option turned off)

Hope this helps

Luigi

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