linux 2.2.16pre6 warnings during depend,bzImage and modules

From: M Sweger (mikesw@whiterose.net)
Date: Wed May 31 2000 - 07:15:51 EST


Hi,
      I've built linux 2.2.16pre6 with egcs v1.1.2 and libc v2.0.7pre6.
Here are some old and new warnings for the depend, bzImage, and modules.
Please clean up....

A) Depend - these don't cause any problem, but are generated when
            these menuconfig options aren't selected.

newport.c:11: asm/gfx.h: No such file or directory
newport.c:12: asm/ng1.h: No such file or directory
newport.c:14: asm/newport.h: No such file or directory
config.c:455: #error "HiSax: No cards configured"
adb.c:28: asm/prom.h: No such file or directory
adb.c:29: asm/adb.h: No such file or directory
adb.c:30: asm/cuda.h: No such file or directory
adb.c:31: asm/pmu.h: No such file or directory
adb.c:33: asm/hydra.h: No such file or directory
     
B) bzImage - here are some old and new warnings

/usr/src/linux/include/linux/blk.h:429: warning: `do_sd' defined but not used
/usr/src/linux/include/linux/blk.h:453: warning: `do_sd_request' declared `static' but never defined
scsi.h:641: warning: `end_scsi_request' defined but not used
dir.c: In function `uni16_to_x8':
dir.c:72: warning: unused variable `uni_page'
dir.c:71: warning: unused variable `cl'
dir.c:71: warning: unused variable `ch'
namei.c: In function `xlate_to_uni':
namei.c:679: warning: passing arg 1 discards `const' from pointer target type
joliet.c: In function `uni16_to_x8':
joliet.c:23: warning: unused variable `uni_page'
joliet.c:22: warning: unused variable `cl'
joliet.c:22: warning: unused variable `ch'
apm.c:648: warning: `apm_enable_power_management' defined but not used
bios32.c: In function `pci_fixup_serverworks':
bios32.c:1058: warning: unused variable `bus'
bios32.c: In function `pci_fixup_compaq':
bios32.c:1073: warning: unused variable `bus'
Root device is (8, 6)
Boot sector 512 bytes.
Setup is 1424 bytes.
System is 958 kB

C). modules - here are some old and new warnings.

raid0.c: In function `raid0_map':
raid0.c:187: warning: unsigned int format, long unsigned int arg (arg 2)
8390.c: In function `NS8390_trigger_send':
8390.c:1092: warning: unused variable `ei_local'
soundmodule.h:23: warning: `sound_notifier' defined but not used
soundmodule.h:23: warning: `sound_notifier' defined but not used
ip_masq_user.c:36: warning: `debug' defined but not used

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



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:27 EST