[2.2.6] some compilation warnings

Christophe Broult (christophe.broult@info.unicaen.fr)
20 Apr 1999 14:24:10 +0200


--Multipart_Tue_Apr_20_14:24:10_1999-1
Content-Type: text/plain; charset=US-ASCII

Here are the compilation warnings I obtained while compiling 2.2.6.
Let me know if you are not interested in receiving that kind of
information. At the end of this message you will find the
configuration file used to compile the kernel.

Thank you for the great work you are doing,

Chris

/mnt/debian/src/Incoming/src/linux/include/linux/blk.h:375: warning: `do_sd' defin
ed but not used
/mnt/debian/src/Incoming/src/linux/include/linux/blk.h:399: warning: `do_sd_reques
t' declared `static' but never defined
scsi.h:636: warning: `end_scsi_request' defined but not used
mtrr.c:222: warning: `main_lock' defined but not used
Root device is (8, 2)
Boot sector 512 bytes.
Setup is 3420 bytes.
System is 506 kB
drivers/block/paride/
drivers/block/
softdog.c: In function `softdog_ioctl':
softdog.c:135: warning: unused variable `i'
drivers/char/joystick/
drivers/char/
8390.c: In function `ei_close':
8390.c:179: warning: unused variable `ei_local'
8390.c: In function `set_multicast_list':
8390.c:980: warning: unused variable `ei_local'
8390.c: In function `NS8390_trigger_send':
8390.c:1094: warning: unused variable `ei_local'
ne.c: In function `ne_probe_pci':
ne.c:218: warning: `pci_ioaddr' might be used uninitialized in this function
drivers/net/
drivers/misc/
sonicvibes.c: In function `setpll':
sonicvibes.c:504: warning: `m' might be used uninitialized in this function
sonicvibes.c:504: warning: `n' might be used uninitialized in this function
sonicvibes.c:528: warning: `value' might be used uninitialized in this function
soundmodule.h:23: warning: `sound_notifier' defined but not used
soundmodule.h:23: warning: `sound_notifier' defined but not used
sound_core.c:135: warning: `sound_loader_lock' defined but not used
wavfront.c:2977: warning: `attach_wffx' defined but not used
soundmodule.h:23: warning: `sound_notifier' defined but not used
wf_midi.c:808: warning: `detect_wf_mpu' defined but not used
drivers/sound/
drivers/scsi/
drivers/pnp/
drivers/cdrom/
fs/lockd/
fs/coda/
fs/minix/
fs/fat/
fs/msdos/
fs/vfat/
fs/isofs/
fs/hfs/
fs/nfs/
vfs.c: In function `nfsd_write':
vfs.c:557: warning: `saved_cap' might be used uninitialized in this function
vfs.c: In function `nfsd_truncate':
vfs.c:762: warning: `saved_cap' might be used uninitialized in this function
vfs.c: In function `nfsd_permission':
vfs.c:1317: warning: `saved_cap' might be used uninitialized in this function
fs/nfsd/
fs/umsdos/
fs/sysv/
fs/smbfs/
fs/ncpfs/
fs/hpfs/
fs/ntfs/
fs/ufs/
fs/affs/
fs/romfs/
fsync.c:127: warning: `sync_dindirect' defined but not used
fs/qnx4/
fs/autofs/
fs/adfs/
fs/nls/
fs/
net/unix/
net/packet/
net/sunrpc/

-- 
Looking for a cutting edge           | Christophe Broult                
software validation technology?      | <mailto:broult@info.unicaen.fr>
Check http://www.info.unicaen.fr/lpv | ``Smile, chuckle, giggle''

--Multipart_Tue_Apr_20_14:24:10_1999-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="config-2.2.6" Content-Transfer-Encoding: 7bit

# # Automatically generated make config: don't edit #

# # Code maturity level options # CONFIG_EXPERIMENTAL=y

# # Processor type and features # # CONFIG_M386 is not set # CONFIG_M486 is not set CONFIG_M586=y # CONFIG_M586TSC is not set # CONFIG_M686 is not set CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y # CONFIG_MATH_EMULATION is not set CONFIG_MTRR=y # CONFIG_SMP is not set

# # Loadable module support # CONFIG_MODULES=y CONFIG_MODVERSIONS=y CONFIG_KMOD=y

# # General setup # CONFIG_NET=y CONFIG_PCI=y # CONFIG_PCI_GOBIOS is not set # CONFIG_PCI_GODIRECT is not set CONFIG_PCI_GOANY=y CONFIG_PCI_BIOS=y CONFIG_PCI_DIRECT=y CONFIG_PCI_QUIRKS=y CONFIG_PCI_OPTIMIZE=y CONFIG_PCI_OLD_PROC=y # CONFIG_MCA is not set # CONFIG_VISWS is not set CONFIG_SYSVIPC=y # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_SYSCTL=y CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_ELF=y CONFIG_BINFMT_MISC=m # CONFIG_BINFMT_JAVA is not set CONFIG_PARPORT=m CONFIG_PARPORT_PC=m CONFIG_PARPORT_OTHER=y # CONFIG_APM is not set

# # Plug and Play support # CONFIG_PNP=y CONFIG_PNP_PARPORT=m

# # Block devices # CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_IDE=y

# # Please see Documentation/ide.txt for help/info on IDE drives # # CONFIG_BLK_DEV_HD_IDE is not set CONFIG_BLK_DEV_IDEDISK=y CONFIG_BLK_DEV_IDECD=m CONFIG_BLK_DEV_IDETAPE=m CONFIG_BLK_DEV_IDEFLOPPY=m CONFIG_BLK_DEV_IDESCSI=m CONFIG_BLK_DEV_CMD640=y # CONFIG_BLK_DEV_CMD640_ENHANCED is not set CONFIG_BLK_DEV_RZ1000=y CONFIG_BLK_DEV_IDEPCI=y CONFIG_BLK_DEV_IDEDMA=y # CONFIG_BLK_DEV_OFFBOARD is not set CONFIG_IDEDMA_AUTO=y # CONFIG_BLK_DEV_OPTI621 is not set # CONFIG_BLK_DEV_TRM290 is not set # CONFIG_BLK_DEV_NS87415 is not set # CONFIG_BLK_DEV_VIA82C586 is not set # CONFIG_BLK_DEV_CMD646 is not set # CONFIG_IDE_CHIPSETS is not set

# # Additional Block Devices # CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m # CONFIG_BLK_DEV_MD is not set CONFIG_BLK_DEV_RAM=m # CONFIG_BLK_DEV_XD is not set CONFIG_PARIDE_PARPORT=m CONFIG_PARIDE=m

# # Parallel IDE high-level drivers # CONFIG_PARIDE_PD=m # CONFIG_PARIDE_PCD is not set # CONFIG_PARIDE_PF is not set # CONFIG_PARIDE_PT is not set CONFIG_PARIDE_PG=m

# # Parallel IDE protocol modules # # CONFIG_PARIDE_ATEN is not set # CONFIG_PARIDE_BPCK is not set # CONFIG_PARIDE_COMM is not set # CONFIG_PARIDE_DSTR is not set # CONFIG_PARIDE_FIT2 is not set # CONFIG_PARIDE_FIT3 is not set # CONFIG_PARIDE_EPAT is not set # CONFIG_PARIDE_EPIA is not set # CONFIG_PARIDE_FRIQ is not set # CONFIG_PARIDE_FRPW is not set # CONFIG_PARIDE_KBIC is not set # CONFIG_PARIDE_KTTI is not set # CONFIG_PARIDE_ON20 is not set # CONFIG_PARIDE_ON26 is not set # CONFIG_BLK_DEV_HD is not set

# # Networking options # CONFIG_PACKET=m # CONFIG_NETLINK is not set # CONFIG_FIREWALL is not set # CONFIG_FILTER is not set CONFIG_UNIX=m CONFIG_INET=y # CONFIG_IP_MULTICAST is not set # CONFIG_IP_ADVANCED_ROUTER is not set # CONFIG_IP_PNP is not set # CONFIG_IP_ROUTER is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_IP_ALIAS is not set # CONFIG_SYN_COOKIES is not set

# # (it is safe to leave these untouched) # # CONFIG_INET_RARP is not set CONFIG_SKB_LARGE=y # CONFIG_IPV6 is not set

# # # # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set # CONFIG_BRIDGE is not set # CONFIG_LLC is not set # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set # CONFIG_NET_FASTROUTE is not set # CONFIG_NET_HW_FLOWCONTROL is not set # CONFIG_CPU_IS_SLOW is not set

# # QoS and/or fair queueing # # CONFIG_NET_SCHED is not set

# # SCSI support # CONFIG_SCSI=y

# # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_ST=m CONFIG_BLK_DEV_SR=m CONFIG_BLK_DEV_SR_VENDOR=y CONFIG_CHR_DEV_SG=m

# # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # CONFIG_SCSI_MULTI_LUN=y CONFIG_SCSI_CONSTANTS=y CONFIG_SCSI_LOGGING=y

# # SCSI low-level drivers # # CONFIG_SCSI_7000FASST is not set # CONFIG_SCSI_ACARD is not set CONFIG_SCSI_AHA152X=m CONFIG_SCSI_AHA1542=m CONFIG_SCSI_AHA1740=m CONFIG_SCSI_AIC7XXX=y CONFIG_OVERRIDE_CMDS=y CONFIG_AIC7XXX_CMDS_PER_LUN=24 # CONFIG_AIC7XXX_PROC_STATS is not set CONFIG_AIC7XXX_RESET_DELAY=5 # CONFIG_SCSI_ADVANSYS is not set # CONFIG_SCSI_IN2000 is not set # CONFIG_SCSI_AM53C974 is not set # CONFIG_SCSI_MEGARAID is not set CONFIG_SCSI_BUSLOGIC=m # CONFIG_SCSI_OMIT_FLASHPOINT is not set # CONFIG_SCSI_DTC3280 is not set # CONFIG_SCSI_EATA is not set # CONFIG_SCSI_EATA_DMA is not set # CONFIG_SCSI_EATA_PIO is not set CONFIG_SCSI_FUTURE_DOMAIN=m # CONFIG_SCSI_GDTH is not set CONFIG_SCSI_GENERIC_NCR5380=m CONFIG_SCSI_GENERIC_NCR53C400=y CONFIG_SCSI_G_NCR5380_PORT=y # CONFIG_SCSI_G_NCR5380_MEM is not set # CONFIG_SCSI_INITIO is not set # CONFIG_SCSI_INIA100 is not set CONFIG_SCSI_PPA=m CONFIG_SCSI_IMM=m CONFIG_SCSI_IZIP_EPP16=y CONFIG_SCSI_IZIP_SLOW_CTR=y # CONFIG_SCSI_NCR53C406A is not set # CONFIG_SCSI_SYM53C416 is not set # CONFIG_SCSI_NCR53C7xx is not set CONFIG_SCSI_NCR53C8XX=y CONFIG_SCSI_SYM53C8XX=y CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=4 CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32 CONFIG_SCSI_NCR53C8XX_SYNC=20 # CONFIG_SCSI_NCR53C8XX_PROFILE is not set # CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set # CONFIG_SCSI_NCR53C8XX_PQS_PDS is not set # CONFIG_SCSI_NCR53C8XX_SYMBIOS_COMPAT is not set # CONFIG_SCSI_PAS16 is not set # CONFIG_SCSI_PCI2000 is not set # CONFIG_SCSI_PCI2220I is not set # CONFIG_SCSI_PSI240I is not set # CONFIG_SCSI_QLOGIC_FAS is not set # CONFIG_SCSI_QLOGIC_ISP is not set # CONFIG_SCSI_QLOGIC_FC is not set # CONFIG_SCSI_SEAGATE is not set # CONFIG_SCSI_DC390T is not set # CONFIG_SCSI_T128 is not set # CONFIG_SCSI_U14_34F is not set # CONFIG_SCSI_ULTRASTOR is not set # CONFIG_SCSI_DEBUG is not set

# # Network device support # CONFIG_NETDEVICES=y # CONFIG_ARCNET is not set CONFIG_DUMMY=m # CONFIG_EQUALIZER is not set CONFIG_NET_ETHERNET=y CONFIG_NET_VENDOR_3COM=y # CONFIG_EL1 is not set # CONFIG_EL2 is not set # CONFIG_ELPLUS is not set # CONFIG_EL16 is not set # CONFIG_EL3 is not set # CONFIG_3C515 is not set CONFIG_VORTEX=m CONFIG_LANCE=y # CONFIG_NET_VENDOR_SMC is not set # CONFIG_NET_VENDOR_RACAL is not set # CONFIG_RTL8139 is not set # CONFIG_YELLOWFIN is not set # CONFIG_ACENIC is not set CONFIG_NET_ISA=y # CONFIG_AT1700 is not set # CONFIG_E2100 is not set # CONFIG_DEPCA is not set # CONFIG_EWRK3 is not set # CONFIG_EEXPRESS is not set # CONFIG_EEXPRESS_PRO is not set # CONFIG_FMV18X is not set # CONFIG_HPLAN_PLUS is not set # CONFIG_HPLAN is not set # CONFIG_HP100 is not set # CONFIG_ETH16I is not set CONFIG_NE2000=m # CONFIG_SEEQ8005 is not set # CONFIG_SK_G16 is not set CONFIG_NET_EISA=y CONFIG_PCNET32=m # CONFIG_AC3200 is not set # CONFIG_APRICOT is not set # CONFIG_CS89x0 is not set # CONFIG_DE4X5 is not set # CONFIG_DEC_ELCP is not set # CONFIG_DGRS is not set CONFIG_EEXPRESS_PRO100=m # CONFIG_LNE390 is not set # CONFIG_NE3210 is not set CONFIG_NE2K_PCI=m # CONFIG_TLAN is not set # CONFIG_VIA_RHINE is not set # CONFIG_ES3210 is not set # CONFIG_EPIC100 is not set # CONFIG_ZNET is not set # CONFIG_NET_POCKET is not set # CONFIG_FDDI is not set # CONFIG_HIPPI is not set # CONFIG_DLCI is not set # CONFIG_PLIP is not set CONFIG_PPP=m

# # CCP compressors for PPP are only built as modules. # # CONFIG_SLIP is not set # CONFIG_NET_RADIO is not set # CONFIG_TR is not set # CONFIG_SHAPER is not set # CONFIG_HOSTESS_SV11 is not set # CONFIG_COSA is not set # CONFIG_RCPCI is not set

# # Amateur Radio support # # CONFIG_HAMRADIO is not set

# # IrDA subsystem support # # CONFIG_IRDA is not set

# # ISDN subsystem # # CONFIG_ISDN is not set

# # Old CD-ROM drivers (not SCSI, not IDE) # # CONFIG_CD_NO_IDESCSI is not set

# # Character devices # CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_SERIAL=m # CONFIG_SERIAL_EXTENDED is not set # CONFIG_SERIAL_NONSTANDARD is not set CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTY_COUNT=256 CONFIG_PRINTER=m CONFIG_PRINTER_READBACK=y CONFIG_MOUSE=y

# # Mice # CONFIG_ATIXL_BUSMOUSE=m CONFIG_BUSMOUSE=m CONFIG_MS_BUSMOUSE=m CONFIG_PSMOUSE=y CONFIG_82C710_MOUSE=m CONFIG_PC110_PAD=m # CONFIG_QIC02_TAPE is not set CONFIG_WATCHDOG=y

# # Watchdog Cards # CONFIG_WATCHDOG_NOWAYOUT=y # CONFIG_WDT is not set CONFIG_SOFT_WATCHDOG=m # CONFIG_PCWATCHDOG is not set # CONFIG_ACQUIRE_WDT is not set CONFIG_NVRAM=m CONFIG_RTC=y

# # Video For Linux # # CONFIG_VIDEO_DEV is not set

# # Joystick support # CONFIG_JOYSTICK=m CONFIG_JOY_ANALOG=m # CONFIG_JOY_ASSASIN is not set # CONFIG_JOY_GRAVIS is not set # CONFIG_JOY_LOGITECH is not set # CONFIG_JOY_SIDEWINDER is not set # CONFIG_JOY_THRUSTMASTER is not set # CONFIG_JOY_LIGHTNING is not set # CONFIG_JOY_CONSOLE is not set # CONFIG_JOY_DB9 is not set # CONFIG_JOY_TURBOGRAFX is not set # CONFIG_DTLK is not set

# # Ftape, the floppy tape device driver # # CONFIG_FTAPE is not set

# # Filesystems # # CONFIG_QUOTA is not set CONFIG_AUTOFS_FS=m CONFIG_ADFS_FS=m CONFIG_AFFS_FS=m CONFIG_HFS_FS=m CONFIG_FAT_FS=m CONFIG_MSDOS_FS=m CONFIG_UMSDOS_FS=m CONFIG_VFAT_FS=m CONFIG_ISO9660_FS=m CONFIG_JOLIET=y CONFIG_MINIX_FS=m CONFIG_NTFS_FS=m # CONFIG_NTFS_RW is not set CONFIG_HPFS_FS=m CONFIG_PROC_FS=y CONFIG_DEVPTS_FS=y CONFIG_QNX4FS_FS=m CONFIG_QNX4FS_RW=y CONFIG_ROMFS_FS=m CONFIG_EXT2_FS=y CONFIG_SYSV_FS=m CONFIG_UFS_FS=m CONFIG_UFS_FS_WRITE=y

# # Network File Systems # CONFIG_CODA_FS=m CONFIG_NFS_FS=m CONFIG_NFSD=m CONFIG_NFSD_SUN=y CONFIG_SUNRPC=m CONFIG_LOCKD=m CONFIG_SMB_FS=m CONFIG_SMB_WIN95=y CONFIG_NCP_FS=m CONFIG_NCPFS_PACKET_SIGNING=y CONFIG_NCPFS_IOCTL_LOCKING=y CONFIG_NCPFS_STRONG=y CONFIG_NCPFS_NFS_NS=y CONFIG_NCPFS_OS2_NS=y CONFIG_NCPFS_MOUNT_SUBDIR=y

# # Partition Types # CONFIG_BSD_DISKLABEL=y CONFIG_MAC_PARTITION=y CONFIG_SMD_DISKLABEL=y CONFIG_SOLARIS_X86_PARTITION=y CONFIG_UNIXWARE_DISKLABEL=y CONFIG_AMIGA_PARTITION=y CONFIG_NLS=y

# # Native Language Support # CONFIG_NLS_CODEPAGE_437=m CONFIG_NLS_CODEPAGE_737=m CONFIG_NLS_CODEPAGE_775=m CONFIG_NLS_CODEPAGE_850=m CONFIG_NLS_CODEPAGE_852=m CONFIG_NLS_CODEPAGE_855=m CONFIG_NLS_CODEPAGE_857=m CONFIG_NLS_CODEPAGE_860=m CONFIG_NLS_CODEPAGE_861=m CONFIG_NLS_CODEPAGE_862=m CONFIG_NLS_CODEPAGE_863=m CONFIG_NLS_CODEPAGE_864=m CONFIG_NLS_CODEPAGE_865=m CONFIG_NLS_CODEPAGE_866=m CONFIG_NLS_CODEPAGE_869=m CONFIG_NLS_CODEPAGE_874=m CONFIG_NLS_ISO8859_1=m CONFIG_NLS_ISO8859_2=m CONFIG_NLS_ISO8859_3=m CONFIG_NLS_ISO8859_4=m CONFIG_NLS_ISO8859_5=m CONFIG_NLS_ISO8859_6=m CONFIG_NLS_ISO8859_7=m CONFIG_NLS_ISO8859_8=m CONFIG_NLS_ISO8859_9=m CONFIG_NLS_ISO8859_15=m CONFIG_NLS_KOI8_R=m

# # Console drivers # CONFIG_VGA_CONSOLE=y CONFIG_VIDEO_SELECT=y # CONFIG_MDA_CONSOLE is not set CONFIG_FB=y CONFIG_DUMMY_CONSOLE=y # CONFIG_FB_PM2 is not set CONFIG_FB_VESA=y CONFIG_VIDEO_SELECT=y # CONFIG_FB_MATROX is not set # CONFIG_FB_ATY is not set # CONFIG_FB_VIRTUAL is not set # CONFIG_FBCON_ADVANCED is not set CONFIG_FBCON_CFB8=y CONFIG_FBCON_CFB16=y CONFIG_FBCON_CFB24=y CONFIG_FBCON_CFB32=y # CONFIG_FBCON_FONTWIDTH8_ONLY is not set # CONFIG_FBCON_FONTS is not set CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y

# # Sound # CONFIG_SOUND=m # CONFIG_SOUND_ES1370 is not set # CONFIG_SOUND_ES1371 is not set CONFIG_SOUND_SONICVIBES=m # CONFIG_SOUND_MSNDCLAS is not set # CONFIG_SOUND_MSNDPIN is not set CONFIG_SOUND_OSS=m CONFIG_SOUND_PAS=m CONFIG_SOUND_SB=m CONFIG_SOUND_ADLIB=m CONFIG_SOUND_GUS=m # CONFIG_GUS16 is not set # CONFIG_GUSMAX is not set CONFIG_SOUND_MPU401=m CONFIG_SOUND_PSS=m # CONFIG_PSS_MIXER is not set # CONFIG_SOUND_MSS is not set # CONFIG_SOUND_SSCAPE is not set # CONFIG_SOUND_TRIX is not set CONFIG_SOUND_MAD16=m CONFIG_MAD16_OLDCARD=y CONFIG_SOUND_WAVEFRONT=m CONFIG_SOUND_CS4232=m CONFIG_SOUND_OPL3SA2=m CONFIG_SOUND_MAUI=m CONFIG_SOUND_SGALAXY=m # CONFIG_SOUND_AD1816 is not set CONFIG_SOUND_OPL3SA1=m CONFIG_SOUND_SOFTOSS=m CONFIG_SOUND_YM3812=m CONFIG_SOUND_VMIDI=m CONFIG_SOUND_UART6850=m

# # Additional low level sound drivers # # CONFIG_LOWLEVEL_SOUND is not set

# # Kernel hacking # # CONFIG_MAGIC_SYSRQ is not set

--Multipart_Tue_Apr_20_14:24:10_1999-1--

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