2.3.9 compilation warnings

David Forrest (drf5n@mug.sys.virginia.edu)
Thu, 1 Jul 1999 14:06:53 -0400 (EDT)


Are these proper for this list?

With

(make dep ; make zImage ; make modules ; make modules_install ) &>log

I get these warnings:

gcc -D__KERNEL__ -I/usr/src/linux-2.3.9/include -Wall -Wstrict-prototypes
-O2 -f
omit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -DCPU=586 -c -o
binfmt
_aout.o binfmt_aout.c
binfmt_aout.c: In function `do_load_aout_binary':
binfmt_aout.c:464: warning: passing arg 1 of `create_aout_tables' makes
pointer
from integer without a cast
binfmt_aout.c:464: warning: assignment makes integer from pointer without
a cast

gcc -D__KERNEL__ -I/usr/src/linux-2.3.9/include -Wall -Wstrict-prototypes
-O2 -f
omit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -DCPU=586 -DMODULE
-DMOD
VERSIONS -include /usr/src/linux-2.3.9/include/linux/modversions.h
-DEXPORT_SY
MTAB -c 8390.c
8390.c: In function `NS8390_trigger_send':
8390.c:1092: warning: unused variable `ei_local'

gcc -D__KERNEL__ -I/usr/src/linux-2.3.9/include -Wall -Wstrict-prototypes
-O2 -f
omit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -DCPU=586 -DMODULE
-DMOD
VERSIONS -include /usr/src/linux-2.3.9/include/linux/modversions.h -c -o
sound
card.o soundcard.c
soundmodule.h:23: warning: `sound_notifier' defined but not used

gcc -D__KERNEL__ -I/usr/src/linux-2.3.9/include -Wall -Wstrict-prototypes
-O2 -f
omit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -DCPU=586 -DMODULE
-DMOD
VERSIONS -include /usr/src/linux-2.3.9/include/linux/modversions.h
-DEXPORT_SY
MTAB -c sound_syms.c
soundmodule.h:23: warning: `sound_notifier' defined but not used

gcc -D__KERNEL__ -I/usr/src/linux-2.3.9/include -Wall -Wstrict-prototypes
-O2 -f
omit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -DCPU=586 -DMODULE
-DMOD
VERSIONS -include /usr/src/linux-2.3.9/include/linux/modversions.h -c -o
sd_io
ctl.o sd_ioctl.c
/usr/src/linux-2.3.9/include/linux/blk.h:378: warning: `do_sd' defined but
not u
sed
/usr/src/linux-2.3.9/include/linux/blk.h:402: warning: `do_sd_request'
declared
`static' but never defined
scsi.h:637: warning: `end_scsi_request' defined but not used

gcc -D__KERNEL__ -I/usr/src/linux-2.3.9/include -Wall -Wstrict-prototypes
-O2 -f
omit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -DCPU=586 -DMODULE
-DMOD
VERSIONS -include /usr/src/linux-2.3.9/include/linux/modversions.h -c -o
file.
o file.c
file.c:60: warning: initialization from incompatible pointer type

gcc -D__KERNEL__ -I/usr/src/linux-2.3.9/include -Wall -Wstrict-prototypes
-O2 -f
omit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -DCPU=586 -DMODULE
-DMOD
VERSIONS -include /usr/src/linux-2.3.9/include/linux/modversions.h -c -o
dir.o
dir.c
dir.c:835: warning: initialization from incompatible pointer type
gcc -D__KERNEL__ -I/usr/src/linux-2.3.9/include -Wall -Wstrict-prototypes
-O2 -f
omit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -DCPU=586 -DMODULE
-DMOD
VERSIONS -include /usr/src/linux-2.3.9/include/linux/modversions.h -c -o
file.
o file.c
file.c:102: warning: initialization from incompatible pointer type

gcc -D__KERNEL__ -I/usr/src/linux-2.3.9/include -Wall -Wstrict-prototypes
-O2 -f
omit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -DCPU=586 -DMODULE
-DMOD
VERSIONS -include /usr/src/linux-2.3.9/include/linux/modversions.h -c -o
inode
.o inode.c
inode.c: In function `umsdos_patch_dentry_inode':
inode.c:156: structure has no member named `bmap_Rsmp_7a052166'
make[2]: *** [inode.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.3.9/fs/umsdos'
make[1]: *** [_modsubdir_umsdos] Error 2
make[1]: Leaving directory `/usr/src/linux-2.3.9/fs'
make: *** [_mod_fs] Error 2

-- 
 Dave Forrest                                dforrest@virginia.edu
 (804)-979-8634             http://www.people.virginia.edu/~drf5n/

- 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/