lkml.org 
[lkml]   [1998]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject2.1.103 minor problems and warnings
Date
2.1.103 compiles (except soundconfig), installs and runs fine so far.
I compiled with pgcc 1.02, default options, and make option --jobs=20.

On thing that I don't like is that some tools seem to depend on the
existence of /usr/src/linux. In other words: The kernel expects to
live in /usr/src/linux. If this is not the case, 'make xconfig' and
'conmakehash' (and probably others) don't compile. It would be nice
to remove any assumption about the kernel location from the sources,
because I tend to keep several source trees in non-standard locations.
Sometimes I would like to build several trees in parallel which is
currently nearly impossible (I export the /usr directory to all boxes in
my network). Now that I think about it I believe I could work around
this by using some more symbolic links, but it wouldn't look nice ;-)

Compiler warnings in 2.1.103, using a nearly maximum configuration:

make[3]: Entering directory `/app/linux-2.1.103/drivers/char'
apm_bios.c:520: warning: `apm_get_battery_status' defined but not used
make[3]: Entering directory `/app/linux-2.1.103/drivers/net'
atp.c: In function `atp_probe1':
atp.c:187: warning: statement with no effect
atp.c: In function `eeprom_op':
atp.c:302: warning: statement with no effect
atp.c:307: warning: statement with no effect
make[3]: Entering directory `/app/linux-2.1.103/fs/ext2'
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
make[2]: Entering directory `/app/linux-2.1.103/drivers/char'
In file included from bttv.c:36:
/app/linux-2.1.103/include/linux/bios32.h:11: warning: #warning This driver uses the old PCI interface, please fix it (see Documentation/pci.txt)
/app/linux-2.1.103/include/linux/bios32.h:32: warning: `pcibios_read_config_byte' redefined
/app/linux-2.1.103/include/linux/modules/pcisyms.ver:4: warning: this is the location of the previous definition
bttv.c: In function `bttv_ioctl':
bttv.c:1595: warning: assignment makes integer from pointer without a cast
pms.c:259: warning: `pms_hstart' defined but not used
pms.c:311: warning: `pms_bandpass' defined but not used
pms.c:319: warning: `pms_antisnow' defined but not used
pms.c:327: warning: `pms_sharpness' defined but not used
pms.c:335: warning: `pms_chromaagc' defined but not used
pms.c:343: warning: `pms_vertnoise' defined but not used
pms.c:359: warning: `pms_forcecolour' defined but not used
pms.c:367: warning: `pms_antigamma' defined but not used
pms.c:375: warning: `pms_prefilter' defined but not used
pms.c:383: warning: `pms_hfilter' defined but not used
pms.c:391: warning: `pms_vfilter' defined but not used
pms.c:399: warning: `pms_killcolour' defined but not used
pms.c:427: warning: `pms_chromagain' defined but not used
pms.c:440: warning: `pms_spacialcompl' defined but not used
pms.c:445: warning: `pms_spacialcomph' defined but not used
pms.c:590: warning: `pms_vstart' defined but not used
cyclades.c: In function `cy_detect_pci':
cyclades.c:4603: warning: `cy_pci_irq' might be used uninitialized in this function
make[2]: Entering directory `/app/linux-2.1.103/drivers/net'
lne390.c:59: warning: type defaults to `int' in declaration of `start_page'
smc-ultra32.c:72: warning: type defaults to `int' in declaration of `start_page'
yellowfin.c:40: warning: type defaults to `int' in declaration of `rx_copybreak'
tulip.c:47: warning: type defaults to `int' in declaration of `rx_copybreak'
tulip.c: In function `tulip_probe1':
tulip.c:581: warning: type defaults to `int' in declaration of `type name'
tulip.c: In function `parse_eeprom':
tulip.c:807: warning: type defaults to `int' in declaration of `controller_index'
sdla.c: In function `sdla_cmd':
sdla.c:454: warning: type defaults to `int' in declaration of `type name'
8390.c: In function `NS8390_trigger_send':
8390.c:942: warning: unused variable `ei_local'
ipddp.c:69: warning: `cardname' defined but not used
sdla_ppp.c:1218: warning: `tx_intr' defined but not used
make[2]: Entering directory `/app/linux-2.1.103/drivers/scsi'
In file included from eata_dma.c:73:
/app/linux-2.1.103/include/linux/bios32.h:11: warning: #warning This driver uses the old PCI interface, please fix it (see Documentation/pci.txt)
/app/linux-2.1.103/include/linux/bios32.h:32: warning: `pcibios_read_config_byte' redefined
/app/linux-2.1.103/include/linux/modules/pcisyms.ver:4: warning: this is the location of the previous definition
In file included from eata_pio.c:48:
/app/linux-2.1.103/include/linux/bios32.h:11: warning: #warning This driver uses the old PCI interface, please fix it (see Documentation/pci.txt)
/app/linux-2.1.103/include/linux/bios32.h:32: warning: `pcibios_read_config_byte' redefined
/app/linux-2.1.103/include/linux/modules/pcisyms.ver:4: warning: this is the location of the previous definition
aha152x.c: In function `aha152x_detect':
aha152x.c:1005: warning: unsigned int format, long unsigned int arg (arg 3)
scsi_debug.c: In function `scsi_debug_intr_handle':
scsi_debug.c:524: warning: unused variable `to'
scsi_debug.c:523: warning: unused variable `flags'
scsi_debug.c:521: warning: unused variable `pending'
scsi_debug.c: In function `scsi_debug_abort':
scsi_debug.c:570: warning: unused variable `flags'
scsi_debug.c:569: warning: unused variable `my_done'
scsi_debug.c:568: warning: unused variable `j'
scsiiom.c: In function `DC390_ScsiRstDetect':
In file included from tmscsim.c:949:
scsiiom.c:1422: warning: unused variable `wlval'
NCR5380.c: In function `NCR5380_main':
NCR5380.c:1298: warning: comparison of distinct pointer types lacks a cast
NCR5380.c: In function `NCR5380_main':
NCR5380.c:1298: warning: comparison of distinct pointer types lacks a cast
NCR5380.c: In function `NCR5380_reselect':
NCR5380.c:3046: warning: comparison of distinct pointer types lacks a cast
NCR5380.c: In function `NCR5380_transfer_dma':
NCR5380.c:2112: warning: unused variable `flags'
NCR5380.c: In function `NCR5380_main':
NCR5380.c:1298: warning: comparison of distinct pointer types lacks a cast
NCR5380.c: In function `NCR5380_main':
NCR5380.c:1298: warning: comparison of distinct pointer types lacks a cast
NCR5380.c: In function `NCR5380_reselect':
NCR5380.c:3046: warning: comparison of distinct pointer types lacks a cast
gdth.c: In function `gdth_async_event':
gdth.c:2671: warning: subscript has type `char'
NCR5380.c: In function `NCR5380_transfer_dma':
NCR5380.c:2112: warning: unused variable `flags'
NCR5380.c: In function `NCR5380_reselect':
NCR5380.c:3046: warning: comparison of distinct pointer types lacks a cast
NCR5380.c: In function `NCR5380_reselect':
NCR5380.c:3046: warning: comparison of distinct pointer types lacks a cast
advansys.c:11237: warning: `_asc_mcode_size' defined but not used
advansys.c:11238: warning: `_asc_mcode_chksum' defined but not used
aic7xxx.c:1085: warning: `dummy_buffer' defined but not used
make[2]: Entering directory `/app/linux-2.1.103/drivers/cdrom'
In file included from mcd.c:96:
mcd.h:126: warning: #warning You have not edited mcd.h
mcd.h:127: warning: #warning Perhaps irq and i/o settings are wrong.
make[3]: Entering directory `/app/linux-2.1.103/drivers/isdn/hisax'
In file included from diva.c:36:
/app/linux-2.1.103/include/linux/bios32.h:11: warning: #warning This driver uses the old PCI interface, please fix it (see Documentation/pci.txt)
/app/linux-2.1.103/include/linux/bios32.h:32: warning: `pcibios_read_config_byte' redefined
/app/linux-2.1.103/include/linux/modules/pcisyms.ver:4: warning: this is the location of the previous definition
In file included from elsa.c:54:
/app/linux-2.1.103/include/linux/bios32.h:11: warning: #warning This driver uses the old PCI interface, please fix it (see Documentation/pci.txt)
/app/linux-2.1.103/include/linux/bios32.h:32: warning: `pcibios_read_config_byte' redefined
/app/linux-2.1.103/include/linux/modules/pcisyms.ver:4: warning: this is the location of the previous definition
l3dss1.c: In function `l3dss1_parse_facility':
l3dss1.c:182: warning: unused variable `nlen'
l3dss1.c:205: warning: unused variable `nlen'
In file included from netjet.c:28:
/app/linux-2.1.103/include/linux/bios32.h:11: warning: #warning This driver uses the old PCI interface, please fix it (see Documentation/pci.txt)
/app/linux-2.1.103/include/linux/bios32.h:32: warning: `pcibios_read_config_byte' redefined
/app/linux-2.1.103/include/linux/modules/pcisyms.ver:4: warning: this is the location of the previous definition
In file included from niccy.c:25:
/app/linux-2.1.103/include/linux/bios32.h:11: warning: #warning This driver uses the old PCI interface, please fix it (see Documentation/pci.txt)
/app/linux-2.1.103/include/linux/bios32.h:32: warning: `pcibios_read_config_byte' redefined
/app/linux-2.1.103/include/linux/modules/pcisyms.ver:4: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/app/linux-2.1.103/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -D__SMP__ -DMODULE -DMODVERSIONS -include /app/linux-2.1.103/include/linux/modversions.h -c -o isac.o isac.c
l3_1tr6.c:63: warning: `l31tr6_check_messagetype_validity' defined but not used
gcc -D__KERNEL__ -I/app/linux-2.1.103/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -D__SMP__ -DMODULE -DMODVERSIONS -include /app/linux-2.1.103/include/linux/modversions.h -c -o hscx.o hscx.c
gcc -D__KERNEL__ -I/app/linux-2.1.103/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -D__SMP__ -DMODULE -DMODVERSIONS -include /app/linux-2.1.103/include/linux/modversions.h -c -o hfc_2bs0.o hfc_2bs0.c
In file included from amd7930.c:102:
../../sbus/audio/amd7930.h:22: warning: function declaration isn't a prototype
gcc -D__KERNEL__ -I/app/linux-2.1.103/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -D__SMP__ -DMODULE -DMODVERSIONS -include /app/linux-2.1.103/include/linux/modversions.h -c -o arcofi.o arcofi.c
gcc -D__KERNEL__ -I/app/linux-2.1.103/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -D__SMP__ -DMODULE -DMODVERSIONS -include /app/linux-2.1.103/include/linux/modversions.h -c -o hfc_2bds0.o hfc_2bds0.c
gcc -D__KERNEL__ -I/app/linux-2.1.103/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -D__SMP__ -DMODULE -DMODVERSIONS -include /app/linux-2.1.103/include/linux/modversions.h -c -o rawhdlc.o rawhdlc.c
rawhdlc.c: In function `read_raw_hdlc_data':
rawhdlc.c:308: warning: `val' might be used uninitialized in this function
amd7930.c: In function `amd7930_l1cmd':
amd7930.c:679: warning: unused variable `val'
make[3]: Entering directory `/app/linux-2.1.103/drivers/isdn/act2000'
module.c:574: warning: `act2000_logstat' defined but not used
make[2]: Entering directory `/app/linux-2.1.103/fs/vfat'
namei.c: In function `vfat_fill_long_slots':
namei.c:935: warning: `offset' might be used uninitialized in this function
make[2]: Entering directory `/app/linux-2.1.103/fs/umsdos'
namei.c: In function `UMSDOS_rmdir':
namei.c:974: warning: passing arg 1 of `umsdos_isempty' discards `volatile' from pointer target type
namei.c:987: warning: passing arg 1 of `msdos_unlink_Rsmp_1d747af7' discards `volatile' from pointer target type
make[2]: Entering directory `/app/linux-2.1.103/net/ipv6'
af_inet6.c: In function `init_module':
af_inet6.c:456: warning: implicit declaration of function `ipv6_sysctl_register'
af_inet6.c:500: warning: implicit declaration of function `ipv6_sysctl_unregister'
make[2]: Entering directory `/app/linux-2.1.103/net/sched'
cls_rsvp.h: In function `rsvp_dump':
In file included from cls_rsvp.c:41:
cls_rsvp.h:592: warning: unused variable `head'
cls_rsvp.h: In function `rsvp_dump':
In file included from cls_rsvp6.c:42:
cls_rsvp.h:592: warning: unused variable `head'
make[2]: Entering directory `/app/linux-2.1.103/net/ipx'
af_spx.c: In function `spx_destroy_socket':
af_spx.c:132: warning: implicit declaration of function `ipx_remove_socket_Rsmp_f8d729b2'

hjb
--
Veni, Vidi, VISA:
I came, I saw, I did a little shopping.

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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.177 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site