2006-02-26 16:21:06

by Jesper Juhl

[permalink] [raw]
Subject: Building 100 kernels; we suck at dependencies and drown in warnings


Hi everyone,

I just sat down and build 100 kernels (2.6.16-rc4-mm2 kernels to be exact)

95 kernels were build with 'make randconfig'.
1 kernel was build with the config I normally use for my own box.
1 kernel was build from 'make defconfig'.
1 kernel was build from 'make allmodconfig'.
1 kernel was build from 'make allnoconfig'.
1 kernel was build from 'make allyesconfig'.

That was an interresting experience.

First of all not very many of the kernels actually build correctly and
secondly, if I grep the build logs for warnings I'm swamped.

Out of 100 kernels 82 failed to build - that's an 18% success rate people,
not very impressive.

Some of the failed builds are due to things like CONFIG_STANDALONE that
will break the build if not set to Y (unless you have the firmware
available ofcourse), but looking at the config files I find that only 26
kernels have CONFIG_STANDALONE unset, so that only accounts for a quarter
of the kernels.

A lot of failed builds are due to invalid combinations of some stuff
being build-in and some stuff being build as modules.
This, as far as I'm concerned, is something that the dependencies in
Kconfig should make impossible - hence my conclusion that we suck at deps.

>From 100 kernel builds there was a total of 16152 warnings and 645 of those
are unique warnings, the rest are duplicates.

We are drowning in warnings people. Sure, many of the warnings are due to
gcc getting something wrong and shouldn't really be emitted, but a lot of
them point to actual problems or deficiencies (I obviously haven't looked
at them all in detail yet, so take that with a grain of salt please).

In any case, it looks to me like we have some serious clean-up work to do.

Unfortunately I don't have anywhere to put all the configs and logs online,
but I can send them on request, or if someone can point at a space to
upload them to I'll gladly make them available.

That's it for now, I'll get to work trying to clean up some of the breakage
I've seen, if anyone wants to join in feel free :)


--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html



2006-02-26 16:31:53

by Jesper Juhl

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On 2/26/06, Jesper Juhl <[email protected]> wrote:
>
> Hi everyone,
>
> I just sat down and build 100 kernels (2.6.16-rc4-mm2 kernels to be exact)
>
> 95 kernels were build with 'make randconfig'.
> 1 kernel was build with the config I normally use for my own box.
> 1 kernel was build from 'make defconfig'.
> 1 kernel was build from 'make allmodconfig'.
> 1 kernel was build from 'make allnoconfig'.
> 1 kernel was build from 'make allyesconfig'.
>
> That was an interresting experience.
>
> First of all not very many of the kernels actually build correctly and
> secondly, if I grep the build logs for warnings I'm swamped.
>
> Out of 100 kernels 82 failed to build - that's an 18% success rate people,
> not very impressive.
>
> Some of the failed builds are due to things like CONFIG_STANDALONE that
> will break the build if not set to Y (unless you have the firmware
> available ofcourse), but looking at the config files I find that only 26
> kernels have CONFIG_STANDALONE unset, so that only accounts for a quarter
> of the kernels.
>
> A lot of failed builds are due to invalid combinations of some stuff
> being build-in and some stuff being build as modules.
> This, as far as I'm concerned, is something that the dependencies in
> Kconfig should make impossible - hence my conclusion that we suck at deps.
>
> From 100 kernel builds there was a total of 16152 warnings and 645 of those
> are unique warnings, the rest are duplicates.
>
> We are drowning in warnings people. Sure, many of the warnings are due to
> gcc getting something wrong and shouldn't really be emitted, but a lot of
> them point to actual problems or deficiencies (I obviously haven't looked
> at them all in detail yet, so take that with a grain of salt please).
>
> In any case, it looks to me like we have some serious clean-up work to do.
>
> Unfortunately I don't have anywhere to put all the configs and logs online,
> but I can send them on request, or if someone can point at a space to
> upload them to I'll gladly make them available.
>
> That's it for now, I'll get to work trying to clean up some of the breakage
> I've seen, if anyone wants to join in feel free :)
>
>

For the interrested parties, here's a list of the unique warnings :

warning: #warning "MCA legacy - please move your driver to the new sysfs api"
warning: #warning sisfb will not work!
aicasm_gram.y: warning: 1 useless nonterminal and 6 useless rules
aicasm_gram.y:1314.9-37: warning: useless rule: f4_opcode: T_OR16
aicasm_gram.y:1315.9-38: warning: useless rule: CC [M]
drivers/scsi/aacraid/comminit.o
aicasm_gram.y:1315.9-38: warning: useless rule: f4_opcode: T_AND16
aicasm_gram.y:1316.9-38: warning: useless rule: f4_opcode: T_XOR16
aicasm_gram.y:1317.9-38: warning: useless rule: f4_opcode: T_ADD16
aicasm_gram.y:1318.9-38: warning: useless rule: f4_opcode: T_ADC16
aicasm_gram.y:1319.9-38: warning: useless rule: f4_opcode: T_MVI16
aicasm_gram.y:216.46-54: warning: useless nonterminal: f4_opcode
arch/i386/kernel/acpi/boot.c:85:2: warning: #warning ACPI uses
CMPXCHG, i486 and later hardware
arch/i386/kernel/apic.c:840: warning: implicit declaration of function
`GET_APIC_ID'
arch/i386/kernel/apm.c:1193: warning: `pm_send_all' is deprecated
(declared at include/linux/pm_legacy.h:26)
arch/i386/kernel/apm.c:1247: warning: `pm_send_all' is deprecated
(declared at include/linux/pm_legacy.h:26)
arch/i386/kernel/apm.c:1368: warning: `pm_send_all' is deprecated
(declared at include/linux/pm_legacy.h:26)
arch/i386/kernel/cpu/centaur.c:33: warning: implicit declaration of
function `mtrr_centaur_report_mcr'
arch/i386/kernel/cpu/common.c:296: warning: implicit declaration of
function `phys_pkg_id'
arch/i386/kernel/cpu/intel_cacheinfo.c:365: warning:
'cache_remove_shared_cpu_map' defined but not used
arch/i386/kernel/cpu/intel_cacheinfo.c:377: warning:
'cache_remove_shared_cpu_map' defined but not used
arch/i386/kernel/cpu/intel_cacheinfo.c:387: warning:
'detect_cache_attributes' defined but not used
arch/i386/kernel/io_apic.c:1722: warning: implicit declaration of
function `GET_APIC_ID'
arch/i386/kernel/kgdb_stub.c:1180: warning: implicit declaration of
function `ack_APIC_irq'
arch/i386/kernel/kprobes.c:135: warning: passing arg 1 of `down' from
incompatible pointer type
arch/i386/kernel/kprobes.c:137: warning: passing arg 1 of `up' from
incompatible pointer type
arch/i386/kernel/mpparse.c:847: warning: implicit declaration of
function `GET_APIC_ID'
arch/i386/mach-voyager/voyager_basic.c:55: warning:
'sysrq_voyager_dump_op' defined but not used
arch/i386/mach-voyager/voyager_cat.c:681: warning: comparison is
always false due to limited range of data type
arch/i386/mach-voyager/voyager_cat.c:751: warning: comparison is
always false due to limited range of data type
arch/i386/math-emu/fpu_entry.c:745: warning: ignoring return value of
`__copy_to_user', declared with attribute warn_unused_result
arch/i386/math-emu/reg_ld_str.c:1339: warning: ignoring return value
of `__copy_to_user', declared with attribute warn_unused_result
arch/i386/math-emu/reg_ld_str.c:1362: warning: ignoring return value
of `__copy_to_user', declared with attribute warn_unused_result
arch/i386/math-emu/reg_ld_str.c:1364: warning: ignoring return value
of `__copy_to_user', declared with attribute warn_unused_result
arch/i386/math-emu/reg_ld_str.c:247: warning: ignoring return value of
`copy_from_user', declared with attribute warn_unused_result
arch/i386/math-emu/reg_ld_str.c:910: warning: ignoring return value of
`copy_to_user', declared with attribute warn_unused_result
drivers/atm/iphase.c:961: warning: 'tcnter' defined but not used
drivers/atm/iphase.c:963: warning: 'xdump' defined but not used
drivers/block/cciss.c:2733: warning: label `default_int_mode' defined
but not used
drivers/cdrom/cm206.c:1398: warning: `sti' is deprecated (declared at
include/linux/interrupt.h:75)
drivers/cdrom/cm206.c:473: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/cdrom/cm206.c:490: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/cdrom/cm206.c:494: warning: `sti' is deprecated (declared at
include/linux/interrupt.h:75)
drivers/cdrom/mcdx.h:180:2: warning: #warning You have not edited mcdx.h
drivers/cdrom/mcdx.h:181:2: warning: #warning Perhaps irq and i/o
settings are wrong.
drivers/cdrom/sbpcd.c:1350: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/cdrom/sbpcd.c:1350: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/cdrom/sbpcd.c:1352: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/cdrom/sbpcd.c:1486: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/cdrom/sbpcd.c:1486: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/cdrom/sbpcd.c:1488: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/cdrom/sbpcd.c:5647: warning: `sti' is deprecated (declared at
include/linux/interrupt.h:75)
drivers/cdrom/sbpcd.c:5676: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:124)
drivers/cdrom/sbpcd.c:835: warning: `sti' is deprecated (declared at
include/linux/interrupt.h:75)
drivers/cdrom/sbpcd.c:837: warning: `sti' is deprecated (declared at
include/linux/interrupt.h:75)
drivers/char/./ip2/i2ellis.c:108: warning: 'iiEllisCleanup' defined but not used
drivers/char/agp/amd64-agp.c:754: warning: unused variable `amd64nb'
drivers/char/applicom.c:68: warning: 'applicom_pci_tbl' defined but not used
drivers/char/cs5535_gpio.c:42: warning: 'divil_pci' defined but not used
drivers/char/cyclades.c:1074: warning: 'cyy_interrupt' defined but not used
drivers/char/cyclades.c:1819: warning: 'cyz_interrupt' defined but not used
drivers/char/cyclades.c:4460: warning: 'cyy_init_card' defined but not used
drivers/char/cyclades.c:4652: warning: 'plx_init' defined but not used
drivers/char/drm/mga_dma.c:939: warning: unused variable `err'
drivers/char/drm/sis_mm.c:113: warning: long int format, __u32 arg (arg 4)
drivers/char/ftape/lowlevel/fdc-io.c:217: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/char/ftape/lowlevel/fdc-io.c:885: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/char/ftape/lowlevel/fdc-isr.c:1094: warning: `sti' is
deprecated (declared at include/linux/interrupt.h:75)
drivers/char/ftape/lowlevel/ftape-format.c:135: warning:
`restore_flags' is deprecated (declared at
include/linux/interrupt.h:84)
drivers/char/ftape/lowlevel/ftape-io.c:106: warning: `restore_flags'
is deprecated (declared at include/linux/interrupt.h:84)
drivers/char/ftape/lowlevel/ftape-io.c:98: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/char/ftape/lowlevel/ftape-io.c:99: warning: `sti' is
deprecated (declared at include/linux/interrupt.h:75)
drivers/char/ip2main.c:509: warning: unused variable `status'
drivers/char/ipmi/ipmi_msghandler.c:1533: warning:
'ipmb_file_read_proc' defined but not used
drivers/char/ipmi/ipmi_msghandler.c:1549: warning:
'version_file_read_proc' defined but not used
drivers/char/ipmi/ipmi_msghandler.c:1559: warning:
'stat_file_read_proc' defined but not used
drivers/char/ipmi/ipmi_poweroff.c:622: warning: label `out_err'
defined but not used
drivers/char/istallion.c:1125: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:1125: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79) LD
arch/i386/pci/built-in.o
drivers/char/istallion.c:1126: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:1128: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1134: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1182: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1263: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:1264: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:1275: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1295: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1309: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1337: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:1338: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:1348: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1368: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1381: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1407: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:1408: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:1412: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1421: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1424: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1484: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:1485: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:1517: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1564: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:1565: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:1611: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1693: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:1694: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:1743: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1778: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:1779: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:1789: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:1833: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:1834: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:1845: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:2290: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:2291: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:2305: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:2346: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:2347: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:2364: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:2640: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:2641: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:2646: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:2667: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:4174: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:4175: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:421: warning: 'istallion_pci_tbl' defined but not used
drivers/char/istallion.c:4252: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:4754: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:4755: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:4770: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:4810: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:4811: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:4826: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:4929: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:4930: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:4943: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:809: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:810: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:812: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:833: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/istallion.c:834: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/istallion.c:849: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/istallion.c:885: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/mxser.c:391: warning: 'mxser_get_PCI_conf' declared
`static' but never defined
drivers/char/mxser.c:432: warning: 'CheckIsMoxaMust' defined but not used
drivers/char/mxser.c:695: warning: unused variable `n'
drivers/char/mxser.c:696: warning: unused variable `pdev'
drivers/char/mxser.c:697: warning: unused variable `index'
drivers/char/mxser.c:698: warning: unused variable `busnum'
drivers/char/mxser.c:698: warning: unused variable `devnum'
drivers/char/rio/rio_linux.c:976: warning: passing arg 1 of `readl'
makes pointer from integer without a cast
drivers/char/rio/rio_linux.c:979: warning: passing arg 2 of `writel'
makes pointer from integer without a cast
drivers/char/rio/riotable.c:424: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/rio/riotable.c:457: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/char/rio/riotable.c:797: warning: assignment discards
qualifiers from pointer target type
drivers/char/rio/riotable.c:798: warning: assignment discards
qualifiers from pointer target type
drivers/char/rio/riotable.c:799: warning: assignment discards
qualifiers from pointer target type
drivers/char/rio/riotable.c:800: warning: assignment discards
qualifiers from pointer target type
drivers/char/rio/riotable.c:801: warning: assignment discards
qualifiers from pointer target type
drivers/char/rio/riotable.c:802: warning: assignment discards
qualifiers from pointer target type
drivers/char/riscom8.c:1058: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1058: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1125: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1144: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1146: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1150: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1157: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1164: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1171: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1187: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1187: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1195: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1210: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1210: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1214: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1249: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1249: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1251: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1269: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1269: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1273: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1294: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1294: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1308: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1317: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1317: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1327: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1370: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1370: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1372: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1453: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1453: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1462: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1476: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1476: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1485: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1499: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1499: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1503: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1517: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1517: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1523: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1575: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1575: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1577: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:1673: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:1674: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:1678: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:235: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:235: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:239: warning: `sti' is deprecated (declared at
include/linux/interrupt.h:75)
drivers/char/riscom8.c:241: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:252: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:850: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:850: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/riscom8.c:862: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/riscom8.c:973: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:976: warning: `sti' is deprecated (declared at
include/linux/interrupt.h:75)
drivers/char/riscom8.c:979: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/riscom8.c:985: warning: `sti' is deprecated (declared at
include/linux/interrupt.h:75)
drivers/char/rocket.c:2736: warning: 'sPCIInitController' defined but not used
drivers/char/rocket.c:3273: warning: 'rmSpeakerReset' defined but not used
drivers/char/stallion.c:1085: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:1086: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:1115: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:1135: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:1136: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:1138: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:1144: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:1189: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:2898: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:2899: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:2913: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:3447: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:3448: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:3485: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:3511: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:3512: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:3520: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:3539: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:3540: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:3546: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:3588: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:3589: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:3596: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:3628: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:3629: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:3637: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:3653: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:3654: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:3659: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:3672: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:3673: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:3683: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:3707: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:3708: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:3748: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:3772: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:3773: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:3788: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:3804: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:3805: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:3813: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:4452: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:4453: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:4480: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:4510: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:4511: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:4516: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:4535: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:4536: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:4540: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:4577: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:4578: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:4583: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:4612: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:4613: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:4620: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:4637: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:4638: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:4643: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:4656: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:4657: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:4666: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:4691: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:4692: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:4738: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:4763: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:4764: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:4784: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:4800: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:4801: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:4807: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:4834: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:4835: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/char/stallion.c:4839: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:735: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:736: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/stallion.c:738: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:760: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/char/stallion.c:761: warning: `cli' is deprecated (declared at
include/linux/interrupt.h:71)
drivers/char/stallion.c:774: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/stallion.c:819: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/char/sx.c:255: warning: 'sx_pci_tbl' defined but not used
drivers/char/tpm/tpm.c:597: warning: assignment from incompatible pointer type
drivers/char/tpm/tpm.c:597: warning: assignment from incompatible
pointer type CC fs/nls/nls_iso8859-9.o
drivers/char/watchdog/alim1535_wdt.c:314: warning: 'ali_pci_tbl'
defined but not used
drivers/hwmon/lm75.c:36: warning: 'id' defined but not used
drivers/ide/ide-tape.c:2663: warning: ignoring return value of
`copy_from_user', declared with attribute warn_unused_result
drivers/ide/ide-tape.c:2690: warning: ignoring return value of
`copy_to_user', declared with attribute warn_unused_result
drivers/ide/pci/generic.c:45: warning: 'ide_generic_all_on' defined but not used
drivers/ide/setup-pci.c:511:2: warning: #warning
CONFIG_IDEDMA_PCI_AUTO=n support is obsolete, and will be removed
soon.
drivers/isdn/capi/capidrv.c:2108:3: warning: #warning FIXME: maybe a
race condition the card should be removed here from global list /kkeil
drivers/isdn/divert/divert_procfs.c:108: warning: 'isdn_divert_write'
defined but not used
drivers/isdn/divert/divert_procfs.c:118: warning: 'isdn_divert_poll'
defined but not used
drivers/isdn/divert/divert_procfs.c:134: warning: 'isdn_divert_open'
defined but not used
drivers/isdn/divert/divert_procfs.c:153: warning: 'isdn_divert_close'
defined but not used
drivers/isdn/divert/divert_procfs.c:180: warning: 'isdn_divert_ioctl'
defined but not used
drivers/isdn/divert/divert_procfs.c:80: warning: 'isdn_divert_read'
defined but not used
drivers/isdn/hisax/config.c:1879: warning: 'hisax_pci_tbl' defined but not used
drivers/isdn/hisax/config.c:635: warning: ignoring return value of
`copy_to_user', declared with attribute warn_unused_result
drivers/isdn/hisax/config.c:646: warning: ignoring return value of
`copy_to_user', declared with attribute warn_unused_result
drivers/isdn/hisax/diva.c:1104: warning: label `ready' defined but not used
drivers/isdn/hisax/elsa.c:836: warning: 'dev_qs1000' defined but not used
drivers/isdn/hisax/elsa.c:837: warning: 'dev_qs3000' defined but not used
drivers/isdn/hisax/niccy.c:236: warning: 'niccy_dev' defined but not used
drivers/isdn/hisax/sedlbauer.c:681: warning: label `ready' defined but not used
drivers/isdn/hysdn/boardergo.c:116: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/hysdn/boardergo.c:124: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/hysdn/boardergo.c:141: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/hysdn/boardergo.c:142: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/hysdn/boardergo.c:151: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/hysdn/boardergo.c:166: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/hysdn/boardergo.c:167: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/hysdn/boardergo.c:171: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/hysdn/boardergo.c:179: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/hysdn/boardergo.c:249: warning: `sti' is deprecated
(declared at include/linux/interrupt.h:75)
drivers/isdn/hysdn/boardergo.c:283: warning: `sti' is deprecated
(declared at include/linux/interrupt.h:75)
drivers/isdn/hysdn/boardergo.c:359: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/hysdn/boardergo.c:360: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/hysdn/boardergo.c:373: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/hysdn/boardergo.c:388: warning: `sti' is deprecated
(declared at include/linux/interrupt.h:75)
drivers/isdn/hysdn/boardergo.c:49: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/isdn/hysdn/boardergo.c:50: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/hysdn/boardergo.c:53: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/hysdn/boardergo.c:65: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/hysdn/boardergo.c:87: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/isdn/hysdn/boardergo.c:88: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/hysdn/boardergo.c:90: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/hysdn/boardergo.c:96: warning: `sti' is deprecated
(declared at include/linux/interrupt.h:75)
drivers/isdn/hysdn/hysdn_proclog.c:119: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/hysdn/hysdn_proclog.c:120: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/hysdn/hysdn_proclog.c:128: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/hysdn/hysdn_proclog.c:273: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/hysdn/hysdn_proclog.c:274: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/hysdn/hysdn_proclog.c:280: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/hysdn/hysdn_proclog.c:314: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/hysdn/hysdn_proclog.c:315: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/hysdn/hysdn_proclog.c:338: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/hysdn/hysdn_sched.c:156: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/hysdn/hysdn_sched.c:157: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/hysdn/hysdn_sched.c:159: warning: `sti' is deprecated
(declared at include/linux/interrupt.h:75)
drivers/isdn/hysdn/hysdn_sched.c:166: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/hysdn/hysdn_sched.c:169: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/hysdn/hysdn_sched.c:179: warning: `sti' is deprecated
(declared at include/linux/interrupt.h:75)
drivers/isdn/hysdn/hysdn_sched.c:185: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/hysdn/hysdn_sched.c:188: warning: `sti' is deprecated
(declared at include/linux/interrupt.h:75)
drivers/isdn/hysdn/hysdn_sched.c:195: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/hysdn/hysdn_sched.c:198: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/hysdn/hysdn_sched.c:201: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/i4l/isdn_common.c:1268: warning: unused variable `s'
drivers/isdn/i4l/isdn_common.c:1956: warning: ignoring return value of
`copy_from_user', declared with attribute warn_unused_result
drivers/isdn/i4l/isdn_ppp.c:434: warning: 'get_filter' defined but not used
drivers/isdn/icn/icn.c:719:4: warning: #warning TODO test headroom or
use skb->nb to flag ACK
drivers/isdn/isdnloop/isdnloop.c:1031: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/isdnloop/isdnloop.c:1032: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/isdnloop/isdnloop.c:1043: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:104: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/isdnloop/isdnloop.c:105: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/isdnloop/isdnloop.c:1082: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/isdnloop/isdnloop.c:1083: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/isdnloop/isdnloop.c:1088: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:1093: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:109: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:1102: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:1107: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:1115: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:1126: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:285: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/isdnloop/isdnloop.c:286: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/isdnloop/isdnloop.c:294: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:376: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/isdnloop/isdnloop.c:377: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/isdnloop/isdnloop.c:383: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:386: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/isdnloop/isdnloop.c:387: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/isdnloop/isdnloop.c:390: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:420: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/isdnloop/isdnloop.c:421: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/isdnloop/isdnloop.c:430: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:580: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/isdnloop/isdnloop.c:581: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/isdnloop/isdnloop.c:591: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:626: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/isdnloop/isdnloop.c:627: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/isdnloop/isdnloop.c:636: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:651: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/isdnloop/isdnloop.c:652: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/isdnloop/isdnloop.c:654: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:710: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/isdn/isdnloop/isdnloop.c:711: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/isdn/isdnloop/isdnloop.c:716: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:724: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/isdnloop/isdnloop.c:727: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/isdn/pcbit/drv.c:728: warning: ignoring return value of
`copy_to_user', declared with attribute warn_unused_result
drivers/isdn/pcbit/drv.c:735: warning: ignoring return value of
`copy_to_user', declared with attribute warn_unused_result
drivers/isdn/pcbit/drv.c:737: warning: ignoring return value of
`copy_to_user', declared with attribute warn_unused_result
drivers/isdn/pcbit/drv.c:744: warning: ignoring return value of
`copy_to_user', declared with attribute warn_unused_result
drivers/isdn/sc/init.c:492: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/isdn/sc/init.c:502: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/isdn/sc/init.c:512: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/isdn/sc/shmem.c:60: warning: passing arg 1 of `memcpy_toio'
makes pointer from integer without a cast
drivers/media/video/video-buf.c:351: warning: cast from pointer to
integer of different size
drivers/media/video/zoran_card.c:150: warning: 'zr36067_pci_tbl'
defined but not used
drivers/mtd/chips/cfi_cmdset_0001.c:2454: warning:
`inter_module_register' is deprecated (declared at
include/linux/module.h:562)
drivers/mtd/chips/cfi_cmdset_0001.c:2455: warning:
`inter_module_register' is deprecated (declared at
include/linux/module.h:562)
drivers/mtd/chips/cfi_cmdset_0001.c:2456: warning:
`inter_module_register' is deprecated (declared at
include/linux/module.h:562)
drivers/mtd/chips/cfi_cmdset_0001.c:2462: warning:
`inter_module_unregister' is deprecated (declared at
include/linux/module.h:563)
drivers/mtd/chips/cfi_cmdset_0001.c:2463: warning:
`inter_module_unregister' is deprecated (declared at
include/linux/module.h:563)
drivers/mtd/chips/cfi_cmdset_0001.c:2464: warning:
`inter_module_unregister' is deprecated (declared at
include/linux/module.h:563)
drivers/mtd/chips/cfi_cmdset_0002.c:1766: warning:
`inter_module_register' is deprecated (declared at
include/linux/module.h:562)
drivers/mtd/chips/cfi_cmdset_0002.c:1773: warning:
`inter_module_unregister' is deprecated (declared at
include/linux/module.h:563)
drivers/mtd/chips/cfi_cmdset_0020.c:1417: warning:
`inter_module_register' is deprecated (declared at
include/linux/module.h:562)
drivers/mtd/chips/cfi_cmdset_0020.c:1423: warning:
`inter_module_unregister' is deprecated (declared at
include/linux/module.h:563)
drivers/mtd/chips/gen_probe.c:210: warning: `inter_module_put' is
deprecated (declared at include/linux/module.h:566)
drivers/mtd/devices/doc2000.c:1282: warning: `inter_module_register'
is deprecated (declared at include/linux/module.h:562)
drivers/mtd/devices/doc2000.c:1301: warning: `inter_module_unregister'
is deprecated (declared at include/linux/module.h:563)
drivers/mtd/devices/doc2001.c:861: warning: `inter_module_register' is
deprecated (declared at include/linux/module.h:562)
drivers/mtd/devices/doc2001.c:880: warning: `inter_module_unregister'
is deprecated (declared at include/linux/module.h:563)
drivers/mtd/devices/doc2001plus.c:1127: warning:
`inter_module_register' is deprecated (declared at
include/linux/module.h:562)
drivers/mtd/devices/doc2001plus.c:1146: warning:
`inter_module_unregister' is deprecated (declared at
include/linux/module.h:563)
drivers/mtd/devices/docprobe.c:315: warning: `inter_module_put' is
deprecated (declared at include/linux/module.h:566)
drivers/mtd/maps/nettel.c:418: warning: implicit declaration of function `MKDEV'
drivers/net/3c523.c:555: warning: 'cleanup_card' defined but not used
drivers/net/cs89x0.c:199: warning: 'netcard_portlist' defined but not used
drivers/net/e1000/e1000_main.c:4555: warning: 'e1000_suspend' defined
but not used
drivers/net/hamradio/bpqether.c:462: warning: 'bpq_info_fops' defined
but not used
drivers/net/hamradio/dmascc.c:1096: warning: `save_flags' is
deprecated (declared at include/linux/interrupt.h:79)
drivers/net/hamradio/dmascc.c:1097: warning: `cli' is deprecated
(declared at include/linux/interrupt.h:71)
drivers/net/hamradio/dmascc.c:1104: warning: `restore_flags' is
deprecated (declared at include/linux/interrupt.h:84)
drivers/net/hp100.c:2822: warning: 'cleanup_dev' defined but not used
drivers/net/hp100.c:3044: warning: label `out3' defined but not used
drivers/net/hp100.c:374: warning: 'hp100_isa_probe' defined but not used
drivers/net/ibmlana.c:875: warning: 'ibmlana_probe' defined but not used
drivers/net/irda/ali-ircc.c:232: warning: `pm_unregister_all' is
deprecated (declared at include/linux/pm_legacy.h:21)
drivers/net/irda/ali-ircc.c:361: warning: `pm_register' is deprecated
(declared at include/linux/pm_legacy.h:16)
drivers/net/r8169.c:2138: warning: 'txd' might be used uninitialized
in this function
drivers/net/tg3.c:8113: warning: 'rx_idx' might be used uninitialized
in this function
drivers/net/tg3.c:8113: warning: 'tx_idx' might be used uninitialized
in this function
drivers/net/wan/farsync.c:1339: warning: cast to pointer from integer
of different size
drivers/net/wan/farsync.c:1437: warning: cast to pointer from integer
of different size
drivers/net/wan/syncppp.c:765: warning: unused variable `in_dev'
drivers/net/wan/syncppp.c:766: warning: unused variable `ifa'
drivers/net/wireless/ipw2100.c:2874: warning: cast to pointer from
integer of different size
drivers/net/wireless/ray_cs.c:296: warning: 'rcsid' defined but not used
drivers/pci/pcie/portdrv_pci.c:34: warning: 'pcie_portdrv_save_config'
defined but not used
drivers/pci/pcie/portdrv_pci.c:39: warning:
'pcie_portdrv_restore_config' defined but not used
drivers/scsi/BusLogic.c:2302: warning: ignoring return value of
`scsi_add_host', declared with attribute warn_unused_result
drivers/scsi/BusLogic.c:2963: warning: 'BusLogic_AbortCommand' defined
but not used
drivers/scsi/BusLogic.c:585: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:587: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:589: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:591: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:593: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:595: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:801: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:811: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:813: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:815: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:817: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:124)
drivers/scsi/BusLogic.c:819: warning: `check_region' is deprecated
(declared at include/linux/ioport.h:124)
drivers/scsi/NCR5380.c:360: warning: 'phases' defined but not used
drivers/scsi/NCR5380.c:580: warning: 'NCR5380_probe_irq' defined but not used
drivers/scsi/NCR5380.c:634: warning: 'NCR5380_print_options' defined
but not used
drivers/scsi/NCR5380.c:709: warning: 'NCR5380_proc_info' defined but not used
drivers/scsi/NCR5380.c:709: warning: 'notyet_generic_proc_info'
defined but not used
drivers/scsi/NCR53c406a.c:610: warning: 'NCR53c406a_setup' defined but not used
drivers/scsi/aha1740.c:645: warning: ignoring return value of
`scsi_add_host', declared with attribute warn_unused_result
drivers/scsi/aic7xxx_old.c:8917: warning: 'aic7xxx_configure_bugs'
defined but not used
drivers/scsi/dc395x.c:4292: warning: 'ptr' might be used uninitialized
in this function
drivers/scsi/dpt_i2o.c:171: warning: 'dptids' defined but not used
drivers/scsi/dtc.c:183: warning: 'dtc_setup' defined but not used
drivers/scsi/fd_mcs.c:298: warning: 'fd_mcs_setup' defined but not used
drivers/scsi/fdomain.c:425: warning: 'ports' defined but not used
drivers/scsi/fdomain.c:469: warning: 'signatures' defined but not used
drivers/scsi/fdomain.c:652: warning: 'fdomain_get_irq' defined but not used
drivers/scsi/g_NCR5380.c:562:5: warning: CC
drivers/usb/gadget/file_storage.o
drivers/scsi/g_NCR5380.c:562:5: warning: "NCR53C400_PSEUDO_DMA" is not defined
drivers/scsi/g_NCR5380.c:945: warning: 'id_table' defined but not used
drivers/scsi/ibmmca.c:1895: warning: cast to pointer from integer of
different size
drivers/scsi/ips.c:7043: warning: ignoring return value of
`scsi_add_host', declared with attribute warn_unused_result
drivers/scsi/mca_53c9x.c:345: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/scsi/mca_53c9x.c:346: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/scsi/mca_53c9x.c:355: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/scsi/mca_53c9x.c:363: warning: `save_flags' is deprecated
(declared at include/linux/interrupt.h:79)
drivers/scsi/mca_53c9x.c:364: warning: `cli' is deprecated (declared
at include/linux/interrupt.h:71)
drivers/scsi/mca_53c9x.c:373: warning: `restore_flags' is deprecated
(declared at include/linux/interrupt.h:84)
drivers/scsi/megaraid.c:1153: warning: passing arg 2 of `writel' makes
pointer from integer without a cast
drivers/scsi/megaraid.c:1216: warning: passing arg 2 of `writel' makes
pointer from integer without a cast
drivers/scsi/megaraid.c:1229: warning: passing arg 2 of `writel' makes
pointer from integer without a cast
drivers/scsi/megaraid.c:1231: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/megaraid.c:1361: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/megaraid.c:1368: warning: passing arg 2 of `writel' makes
pointer from integer without a cast
drivers/scsi/megaraid.c:1387: warning: passing arg 2 of `writel' makes
pointer from integer without a cast
drivers/scsi/megaraid.c:1391: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/megaraid.c:3665: warning: ignoring return value of
`copy_to_user', declared with attribute warn_unused_result
drivers/scsi/megaraid.c:4363: warning: 'mega_adapinq' defined but not used
drivers/scsi/megaraid.c:4398: warning: 'mega_internal_dev_inquiry'
defined but not used
drivers/scsi/megaraid.c:4972: warning: unused variable `buf'
drivers/scsi/megaraid.h:1004: warning: 'mega_print_inquiry' declared
`static' but never defined
drivers/scsi/ncr53c8xx.c:8326: warning: 'ncr53c8xx_setup' defined but not used
drivers/scsi/nsp32.c:2889: warning: ignoring return value of
`scsi_add_host', declared with attribute warn_unused_result
drivers/scsi/sata_svw.c:113: warning: passing arg 2 of `writeb' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:118: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:119: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:120: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:121: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:122: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:124: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:125: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:126: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:127: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:128: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:132: warning: passing arg 2 of `writeb' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:144: warning: passing arg 1 of `readw' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:145: warning: passing arg 1 of `readw' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:146: warning: passing arg 1 of `readw' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:147: warning: passing arg 1 of `readw' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:148: warning: passing arg 1 of `readw' makes
pointer from integer without a cast
drivers/scsi/sata_svw.c:149: warning: passing arg 1 of `readw' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:146: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:147: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:148: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:149: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:150: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:152: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:153: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:154: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:155: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:156: warning: passing arg 2 of `writew' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:160: warning: passing arg 2 of `writeb' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:172: warning: passing arg 1 of `readw' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:173: warning: passing arg 1 of `readw' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:174: warning: passing arg 1 of `readw' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:175: warning: passing arg 1 of `readw' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:176: warning: passing arg 1 of `readw' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:177: warning: passing arg 1 of `readw' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:310: warning: passing arg 2 of `writel' makes
pointer from integer without a cast
drivers/scsi/sata_vsc.c:311: warning: passing arg 2 of `writel' makes
pointer from integer without a cast
drivers/scsi/scsi_scan.c:445: warning: 'result' might be used
uninitialized in this function
drivers/scsi/ultrastor.c:302: warning: matching constraint does not
allow a register
drivers/usb/gadget/dummy_hcd.c:521: warning: cast from pointer to
integer of different size
drivers/usb/usbfs2/inode.c:348: warning: unused variable `ep_obj'
drivers/usb/usbfs2/inode.c:356: warning: unused variable `ep_obj'
drivers/video/aty/atyfb_base.c:2223: warning: unused variable `pll_ref_div'
drivers/video/aty/atyfb_base.c:531: warning: 'ram_dram' defined but not used
drivers/video/aty/atyfb_base.c:532: warning: 'ram_resv' defined but not used
drivers/video/radeonfb.c:670: warning: 'nomtrr' defined but not used
drivers/video/sis/osdef.h:111:2: warning: #warning Neither
CONFIG_FB_SIS_300 nor CONFIG_FB_SIS_315 is set
drivers/video/sis/osdef.h:112:2: warning: #warning sisfb will not work!
drivers/video/sis/sis_main.c:4296: warning: 'sisfb_post_map_vram'
defined but not used
drivers/w1/w1_netlink.c:78:2: warning: #warning Netlink support is
disabled. Please compile with NET support enabled.
fs/coda/sysctl.c:151: warning: 'coda_cache_inv_stats_get_info' defined
but not used
fs/coda/sysctl.c:196: warning: 'fs_table' defined but not used
fs/coda/sysctl.c:34: warning: 'fs_table_header' defined but not used
fs/coda/sysctl.c:90: warning: 'coda_vfs_stats_get_info' defined but not used
fs/nfsd/nfs4callback.c:475: warning: unused variable `addr'
fs/ocfs2/dlmglue.c:2036: warning: passing arg 5 of
`debugfs_create_file' discards qualifiers from pointer target type
fs/partitions/acorn.c:122: warning: 'linux_partition' defined but not used
fs/partitions/acorn.c:32: warning: 'adfs_partition' defined but not used
fs/partitions/acorn.c:72: warning: 'riscix_partition' defined but not used
include/asm-generic/bitops/hweight.h:6: warning: 'hweight32' declared
inline after being called
include/asm-generic/bitops/hweight.h:6: warning: previous declaration
of 'hweight32' was here
include/asm-i386/mach-default/mach_apic.h:26: warning: function
declaration isn't a prototype
include/asm-i386/mach-default/mach_apic.h:27: warning: implicit
declaration of function `physid_isset'
include/asm-i386/mach-default/mach_apic.h:46: warning: implicit
declaration of function `apic_write_around'
include/asm-i386/mach-default/mach_apic.h:47: warning: implicit
declaration of function `apic_read'
include/asm-i386/mach-default/mach_apic.h:48: warning: implicit
declaration of function `SET_APIC_LOGICAL_ID'
include/asm-i386/mach-default/mach_apic.h:53: warning: function
declaration isn't a prototype
include/asm-i386/mach-default/mach_apic.h:53: warning: return type
defaults to `int'
include/asm-i386/mach-default/mach_apic.h:81: warning: implicit
declaration of function `get_physical_broadcast'
include/asm-i386/mach-default/mach_apic.h:88: warning: return type
defaults to `int'
include/asm-i386/mach-default/mach_apic.h:89: warning: implicit
declaration of function `physid_mask_of_physid'
include/asm-i386/mach-default/mach_apic.h:93: warning: "struct
mpc_config_processor" declared inside parameter list
include/asm-i386/mach-default/mach_apic.h:93: warning: "struct
mpc_config_translation" declared inside parameter list
include/asm-i386/mach-default/mach_apic.h:93: warning: its scope is
only this definition or declaration, which is probably not what you
want
include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy -
please move your driver to the new sysfs api"
include/linux/memory_hotplug.h:53: warning: "struct page" declared
inside parameter list
include/linux/memory_hotplug.h:53: warning: "struct page" declared
inside parameter list CC drivers/net/ixgb/ixgb_main.o
include/linux/memory_hotplug.h:53: warning: "struct page" declared
inside parameter listIn file included from include/linux/mmzone.h:324,
include/linux/memory_hotplug.h:53: warning: its scope is only this
definition or declaration, which is probably not what you want
include/linux/memory_hotplug.h:53: warning: its scope is only this
definition or declaration, which is probably not what you wantIn file
included from include/linux/mmzone.h:324,
include/linux/memory_hotplug.h:55: warning: "struct page" declared
inside parameter list
include/linux/memory_hotplug.h:55: warning: "struct page" declared
inside parameter list CC [M] drivers/usb/serial/kl5kusb105.o
include/linux/memory_hotplug.h:55: warning: "struct page" declared
inside parameter listIn file included from include/linux/mmzone.h:324,
kernel/intermodule.c:178: warning: `inter_module_register' is
deprecated (declared at kernel/intermodule.c:38)
kernel/intermodule.c:179: warning: `inter_module_unregister' is
deprecated (declared at kernel/intermodule.c:78)
kernel/intermodule.c:181: warning: `inter_module_put' is deprecated
(declared at kernel/intermodule.c:159)
kernel/power/pm.c:241: warning: `pm_register' is deprecated (declared
at kernel/power/pm.c:64)
kernel/power/pm.c:242: warning: `pm_unregister_all' is deprecated
(declared at kernel/power/pm.c:97)
kernel/power/pm.c:243: warning: `pm_send_all' is deprecated (declared
at kernel/power/pm.c:216)
kernel/profile.c:223: warning: 'profile_flip_buffers' defined but not used
kernel/profile.c:246: warning: 'profile_discard_flip_buffers' defined
but not used
kernel/profile.c:304: warning: 'profile_cpu_callback' defined but not used
mm/page_alloc.c:2077: warning: unused variable `pgdat'
mm/shmem.c:879: warning: 'shmem_parse_mpol' defined but not used
mm/vmscan.c:392: warning: unused variable `swap'
net/802/fc.c:87: warning: unused variable `fch'
net/ipv4/ipconfig.c:145: warning: 'ic_nameservers' defined but not used
net/ipv6/netfilter/ip6_queue.c:624: warning: 'ipq_get_info' defined but not used
net/ipv6/route.c:2243: warning: unused variable `p'
net/ipv6/tcp_ipv6.c:1392: warning: 'get_openreq6' defined but not used
net/ipv6/tcp_ipv6.c:1422: warning: 'get_tcp6_sock' defined but not used
net/ipv6/tcp_ipv6.c:1477: warning: 'get_timewait6_sock' defined but not used
net/irda/ircomm/ircomm_tty.c:1250: warning: 'ircomm_tty_line_info'
defined but not used
net/irda/irlan/irlan_eth.c:303: warning: unused variable `in_dev'
net/rose/rose_dev.c:60: warning: unused variable `stats'
net/rose/rose_dev.c:61: warning: unused variable `bp'
net/rose/rose_dev.c:62: warning: unused variable `skbn'
net/rxrpc/main.c:83: warning: label `error_proc' defined but not used
net/sched/sch_api.c:1154: warning: 'psched_us_per_tick' defined but not used
net/sched/sch_api.c:1155: warning: 'psched_tick_per_us' defined but not used
sound/isa/wavefront/wavefront.c:43: warning: 'isapnp' defined but not used
sound/oss/ad1848.c:2866: warning: 'id_table' defined but not used
sound/oss/cmpci.c:3044: warning: unused variable `timeout'
sound/oss/cmpci.c:3045: warning: unused variable `ports'
sound/oss/emu10k1/cardwi.c:310: warning: ignoring return value of
`__copy_to_user', declared with attribute warn_unused_result
sound/oss/emu10k1/cardwi.c:319: warning: ignoring return value of
`__copy_to_user', declared with attribute warn_unused_result
sound/oss/emu10k1/passthrough.c:165: warning: ignoring return value of
`copy_from_user', declared with attribute warn_unused_result
sound/oss/emu10k1/passthrough.c:170: warning: ignoring return value of
`copy_from_user', declared with attribute warn_unused_result
sound/oss/emu10k1/passthrough.c:181: warning: ignoring return value of
`copy_from_user', declared with attribute warn_unused_result
sound/oss/emu10k1/passthrough.c:196: warning: ignoring return value of
`copy_from_user', declared with attribute warn_unused_result
sound/oss/esssolo1.c:236:5: warning: "SUPPORT_JOYSTICK" is not defined
sound/oss/pss.c:681: warning: `check_region' is deprecated (declared
at include/linux/ioport.h:124)
sound/oss/sonicvibes.c:421: warning: static declaration of 'hweight32'
follows non-static declaration
sound/pci/pcxhr/pcxhr.c:460: warning: cast to pointer from integer of
different size


--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2006-02-26 16:35:51

by Jesper Juhl

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On 2/26/06, Jesper Juhl <[email protected]> wrote:
> On 2/26/06, Jesper Juhl <[email protected]> wrote:
> >
> > Hi everyone,
> >
> > I just sat down and build 100 kernels (2.6.16-rc4-mm2 kernels to be exact)
> >
> > 95 kernels were build with 'make randconfig'.
> > 1 kernel was build with the config I normally use for my own box.
> > 1 kernel was build from 'make defconfig'.
> > 1 kernel was build from 'make allmodconfig'.
> > 1 kernel was build from 'make allnoconfig'.
> > 1 kernel was build from 'make allyesconfig'.
> >
> > That was an interresting experience.
> >
> > First of all not very many of the kernels actually build correctly and
> > secondly, if I grep the build logs for warnings I'm swamped.
> >
> > Out of 100 kernels 82 failed to build - that's an 18% success rate people,
> > not very impressive.
> >
> > Some of the failed builds are due to things like CONFIG_STANDALONE that
> > will break the build if not set to Y (unless you have the firmware
> > available ofcourse), but looking at the config files I find that only 26
> > kernels have CONFIG_STANDALONE unset, so that only accounts for a quarter
> > of the kernels.
> >
> > A lot of failed builds are due to invalid combinations of some stuff
> > being build-in and some stuff being build as modules.
> > This, as far as I'm concerned, is something that the dependencies in
> > Kconfig should make impossible - hence my conclusion that we suck at deps.
> >
> > From 100 kernel builds there was a total of 16152 warnings and 645 of those
> > are unique warnings, the rest are duplicates.
> >
> > We are drowning in warnings people. Sure, many of the warnings are due to
> > gcc getting something wrong and shouldn't really be emitted, but a lot of
> > them point to actual problems or deficiencies (I obviously haven't looked
> > at them all in detail yet, so take that with a grain of salt please).
> >
> > In any case, it looks to me like we have some serious clean-up work to do.
> >
> > Unfortunately I don't have anywhere to put all the configs and logs online,
> > but I can send them on request, or if someone can point at a space to
> > upload them to I'll gladly make them available.
> >
> > That's it for now, I'll get to work trying to clean up some of the breakage
> > I've seen, if anyone wants to join in feel free :)
> >
> >
>
> For the interrested parties, here's a list of the unique warnings :
>
[snip list of warnings]

And for those who want to see a list of the unique errors, here they are :

make: *** [.tmp_vmlinux1] Error 1
make: *** [arch/i386/kernel] Error 2
make: *** [drivers] Error 2
make: *** [sound] Error 2
make: *** [vmlinux] Error 1
make[1]: *** [arch/i386/kernel/irq.o] Error 1
make[1]: *** [drivers/acpi] Error 2
make[1]: *** [drivers/atm] Error 2
make[1]: *** [drivers/isdn] Error 2
make[1]: *** [drivers/media] Error 2
make[1]: *** [drivers/mtd] Error 2
make[1]: *** [drivers/scsi] Error 2
make[1]: *** [drivers/usb] Error 2
make[1]: *** [sound/isa] Error 2
make[1]: *** [sound/oss] Error 2
make[2]: *** [drivers/acpi/numa.o] Error 1
make[2]: *** [drivers/acpi/numa.o] Error 1 LD [M] fs/ext3/ext3.o
make[2]: *** [drivers/acpi/osl.o] Error 1
make[2]: *** [drivers/atm/fore200e_pca_fw.c] Error 254
make[2]: *** [drivers/isdn/hysdn] Error 2
make[2]: *** [drivers/media/dvb] Error 2
make[2]: *** [drivers/mtd/maps] Error 2
make[2]: *** [drivers/scsi/aic7xxx] Error 2
make[2]: *** [drivers/usb/net] Error 2
make[2]: *** [sound/isa/opti9xx] Error 2
make[3]: *** [drivers/isdn/hysdn/hysdn_net.o] Error 1
make[3]: *** [drivers/media/dvb/ttpci] Error 2
make[3]: *** [drivers/mtd/maps/nettel.o] Error 1
make[3]: *** [drivers/scsi/aic7xxx/aicasm/aicasm] Error 2
make[3]: *** [drivers/usb/net/cdc_subset.o] Error 1
make[3]: *** [sound/isa/opti9xx/opti92x-ad1848.o] Error 1
make[3]: *** [sound/isa/opti9xx/opti93x.o] Error 1
make[4]: *** [aicasm] Error 1
make[4]: *** [drivers/media/dvb/ttpci/av7110_firm.h] Error 255


--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2006-02-26 17:00:39

by Adrian Bunk

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On Sun, Feb 26, 2006 at 05:21:17PM +0100, Jesper Juhl wrote:
>
> Hi everyone,

Hi Jesper,

> I just sat down and build 100 kernels (2.6.16-rc4-mm2 kernels to be exact)
>
> 95 kernels were build with 'make randconfig'.
> 1 kernel was build with the config I normally use for my own box.
> 1 kernel was build from 'make defconfig'.
> 1 kernel was build from 'make allmodconfig'.
> 1 kernel was build from 'make allnoconfig'.
> 1 kernel was build from 'make allyesconfig'.
>
> That was an interresting experience.
>
> First of all not very many of the kernels actually build correctly and
> secondly, if I grep the build logs for warnings I'm swamped.
>
> Out of 100 kernels 82 failed to build - that's an 18% success rate people,
> not very impressive.
>
> Some of the failed builds are due to things like CONFIG_STANDALONE that
> will break the build if not set to Y (unless you have the firmware
> available ofcourse), but looking at the config files I find that only 26
> kernels have CONFIG_STANDALONE unset, so that only accounts for a quarter
> of the kernels.
>
> A lot of failed builds are due to invalid combinations of some stuff
> being build-in and some stuff being build as modules.
> This, as far as I'm concerned, is something that the dependencies in
> Kconfig should make impossible - hence my conclusion that we suck at deps.

Yes, it should be fixed.

Our dependencies are usually relatively good in all the normal cases.
I'd expect e.g. half of your randconfig builds to have EMBEDDED=y set,
and this often exposes problems. They should be fixed, but it is far
from the .config's most users use.

And then there's the usual problem with numbers, e.g. each of
CONFIG_STANDALONE=n or breakage of the OSS sonicvibes driver will
account for a two digit number of build failures. I'd guess fixing two
or three problems will bring your 18% number > 50%.

> >From 100 kernel builds there was a total of 16152 warnings and 645 of those
> are unique warnings, the rest are duplicates.
>
> We are drowning in warnings people. Sure, many of the warnings are due to
> gcc getting something wrong and shouldn't really be emitted, but a lot of
> them point to actual problems or deficiencies (I obviously haven't looked
> at them all in detail yet, so take that with a grain of salt please).
>...

It's well-known that BROKEN_ON_SMP drivers often spit 50 warnings in one
warning. If you remove the dozen worst drivers the numbers should look
much better.

Not that our current situation was perfect, but the number of warnings
in .config's people usually use isn't that bad.

> Jesper Juhl <[email protected]>

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2006-02-26 17:29:56

by Jesper Juhl

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On 2/26/06, Adrian Bunk <[email protected]> wrote:
> On Sun, Feb 26, 2006 at 05:21:17PM +0100, Jesper Juhl wrote:
> >
> > Hi everyone,
>
> Hi Jesper,
>
> > I just sat down and build 100 kernels (2.6.16-rc4-mm2 kernels to be exact)
> >
> > 95 kernels were build with 'make randconfig'.
> > 1 kernel was build with the config I normally use for my own box.
> > 1 kernel was build from 'make defconfig'.
> > 1 kernel was build from 'make allmodconfig'.
> > 1 kernel was build from 'make allnoconfig'.
> > 1 kernel was build from 'make allyesconfig'.
> >
> > That was an interresting experience.
> >
> > First of all not very many of the kernels actually build correctly and
> > secondly, if I grep the build logs for warnings I'm swamped.
> >
> > Out of 100 kernels 82 failed to build - that's an 18% success rate people,
> > not very impressive.
> >
> > Some of the failed builds are due to things like CONFIG_STANDALONE that
> > will break the build if not set to Y (unless you have the firmware
> > available ofcourse), but looking at the config files I find that only 26
> > kernels have CONFIG_STANDALONE unset, so that only accounts for a quarter
> > of the kernels.
> >
> > A lot of failed builds are due to invalid combinations of some stuff
> > being build-in and some stuff being build as modules.
> > This, as far as I'm concerned, is something that the dependencies in
> > Kconfig should make impossible - hence my conclusion that we suck at deps.
>
> Yes, it should be fixed.
>
> Our dependencies are usually relatively good in all the normal cases.

Agreed, most common configs don't spew too many warnings, but that
doesn't mean the warnings for the uncommon cases shouldn't be fixed.


> I'd expect e.g. half of your randconfig builds to have EMBEDDED=y set,

you are dead on :

$ grep "EMBEDDED=y" *.config | wc -l
50


> and this often exposes problems. They should be fixed, but it is far
> from the .config's most users use.
>
> And then there's the usual problem with numbers, e.g. each of
> CONFIG_STANDALONE=n or breakage of the OSS sonicvibes driver will
> account for a two digit number of build failures. I'd guess fixing two
> or three problems will bring your 18% number > 50%.
>

Let's get to work then :)

Actually I already send a few patches for a few errors and I plan to
send many more.


> > >From 100 kernel builds there was a total of 16152 warnings and 645 of those
> > are unique warnings, the rest are duplicates.
> >
> > We are drowning in warnings people. Sure, many of the warnings are due to
> > gcc getting something wrong and shouldn't really be emitted, but a lot of
> > them point to actual problems or deficiencies (I obviously haven't looked
> > at them all in detail yet, so take that with a grain of salt please).
> >...
>
> It's well-known that BROKEN_ON_SMP drivers often spit 50 warnings in one
> warning. If you remove the dozen worst drivers the numbers should look
> much better.
>
Better yet, let's fix the warnings.


> Not that our current situation was perfect, but the number of warnings
> in .config's people usually use isn't that bad.
>

I agree it's not too bad for most people. The point of my post was
mostly a "call to arms" trying to get people interrested in fixing all
the warnings and build errors we have.
There's a lot of focus on implementing new features - and that's great
- but there's little emphasis on fixing the problems we have and
already know about - I'd like to see that change, and my post was
mainly an attempt at making that happen :)


--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2006-02-26 17:38:38

by Jesper Juhl

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On 2/26/06, Jesper Juhl <[email protected]> wrote:
>
[snip]
>
> That's it for now, I'll get to work trying to clean up some of the breakage
> I've seen, if anyone wants to join in feel free :)
>

Thanks to Adrian Bunk the kernel configuration files and build logs
for all 100 kernels are now online at
ftp://ftp.kernel.org/pub/linux/kernel/people/bunk/jesper/
So those of you who want to take a closer look can go there and grab
whatever you need.

Thanks Adrian.

--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2006-02-26 17:41:25

by Adrian Bunk

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On Sun, Feb 26, 2006 at 06:29:54PM +0100, Jesper Juhl wrote:
> On 2/26/06, Adrian Bunk <[email protected]> wrote:
>...
> > > >From 100 kernel builds there was a total of 16152 warnings and 645 of those
> > > are unique warnings, the rest are duplicates.
> > >
> > > We are drowning in warnings people. Sure, many of the warnings are due to
> > > gcc getting something wrong and shouldn't really be emitted, but a lot of
> > > them point to actual problems or deficiencies (I obviously haven't looked
> > > at them all in detail yet, so take that with a grain of salt please).
> > >...
> >
> > It's well-known that BROKEN_ON_SMP drivers often spit 50 warnings in one
> > warning. If you remove the dozen worst drivers the numbers should look
> > much better.
> >
> Better yet, let's fix the warnings.

It's never bad if someone converts drivers still using cli/sti.

Unfortunately, this is non-trivial...

> > Not that our current situation was perfect, but the number of warnings
> > in .config's people usually use isn't that bad.
>
> I agree it's not too bad for most people. The point of my post was
> mostly a "call to arms" trying to get people interrested in fixing all
> the warnings and build errors we have.

I'm agreeing that this is a good idea, I simply disagreed with your
"we suck at..." point, since although we can become better we aren't
that bad.

> There's a lot of focus on implementing new features - and that's great
> - but there's little emphasis on fixing the problems we have and
> already know about - I'd like to see that change, and my post was
> mainly an attempt at making that happen :)

IMHO, the real problems we already know about are not warnings, they are
the ones listed at
http://bugzilla.kernel.org/

And in these cases, the bugs in unmaintained areas of the kernel like
APM or the floppy driver are the worst ones.

> Jesper Juhl <[email protected]>

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2006-02-26 18:08:43

by Jesper Juhl

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On 2/26/06, Adrian Bunk <[email protected]> wrote:
> On Sun, Feb 26, 2006 at 06:29:54PM +0100, Jesper Juhl wrote:
> > On 2/26/06, Adrian Bunk <[email protected]> wrote:
> >...
> > > > >From 100 kernel builds there was a total of 16152 warnings and 645 of those
> > > > are unique warnings, the rest are duplicates.
> > > >
> > > > We are drowning in warnings people. Sure, many of the warnings are due to
> > > > gcc getting something wrong and shouldn't really be emitted, but a lot of
> > > > them point to actual problems or deficiencies (I obviously haven't looked
> > > > at them all in detail yet, so take that with a grain of salt please).
> > > >...
> > >
> > > It's well-known that BROKEN_ON_SMP drivers often spit 50 warnings in one
> > > warning. If you remove the dozen worst drivers the numbers should look
> > > much better.
> > >
> > Better yet, let's fix the warnings.
>
> It's never bad if someone converts drivers still using cli/sti.
>
> Unfortunately, this is non-trivial...
>
> > > Not that our current situation was perfect, but the number of warnings
> > > in .config's people usually use isn't that bad.
> >
> > I agree it's not too bad for most people. The point of my post was
> > mostly a "call to arms" trying to get people interrested in fixing all
> > the warnings and build errors we have.
>
> I'm agreeing that this is a good idea, I simply disagreed with your
> "we suck at..." point, since although we can become better we aren't
> that bad.
>
Ok, maybe that was a bit too stong wording.


> > There's a lot of focus on implementing new features - and that's great
> > - but there's little emphasis on fixing the problems we have and
> > already know about - I'd like to see that change, and my post was
> > mainly an attempt at making that happen :)
>
> IMHO, the real problems we already know about are not warnings, they are
> the ones listed at
> http://bugzilla.kernel.org/
>
> And in these cases, the bugs in unmaintained areas of the kernel like
> APM or the floppy driver are the worst ones.
>

Agreed, those bugs should be fixed as well. Unfortunately most of them
are beyond my abilities, so I tend to focus on the stuff that I see is
broken and that I am actually able to help fix. :-)


--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2006-02-26 18:21:56

by Diego Calleja

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

El Sun, 26 Feb 2006 17:21:17 +0100,
Jesper Juhl <[email protected]> escribi?:


> 95 kernels were build with 'make randconfig'.
> 1 kernel was build with the config I normally use for my own box.
> 1 kernel was build from 'make defconfig'.
> 1 kernel was build from 'make allmodconfig'.
> 1 kernel was build from 'make allnoconfig'.
> 1 kernel was build from 'make allyesconfig'.


I wonder if it'd be useful a "make compiletest" which developers
are told to run before submitting changes - a target that would compile
a kernel with allyesconfig, another with allnoconfig, allmodconfig
and a couple of randconfig, with the time it could improve this
kind of errors.

(I tried to do it myself but I don't know swahili well enought to
hack Makefiles)

2006-02-26 18:45:53

by Jesper Juhl

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On 2/26/06, Diego Calleja <[email protected]> wrote:
> El Sun, 26 Feb 2006 17:21:17 +0100,
> Jesper Juhl <[email protected]> escribi?:
>
>
> > 95 kernels were build with 'make randconfig'.
> > 1 kernel was build with the config I normally use for my own box.
> > 1 kernel was build from 'make defconfig'.
> > 1 kernel was build from 'make allmodconfig'.
> > 1 kernel was build from 'make allnoconfig'.
> > 1 kernel was build from 'make allyesconfig'.
>
>
> I wonder if it'd be useful a "make compiletest" which developers
> are told to run before submitting changes - a target that would compile

As a general thing? No, I don't think so. When you've made a change
you generally want to compile test a very specific part of the kernel
(the one containing your change), not the entire kernel.

> a kernel with allyesconfig, another with allnoconfig, allmodconfig
> and a couple of randconfig, with the time it could improve this
> kind of errors.
>
> (I tried to do it myself but I don't know swahili well enought to
> hack Makefiles)
>
No need to hack makefiles, for example, all I did to build my 100
kernels was this simple shell script that I then left to run for a few
hours :


#!/bin/bash

make clean
zcat /proc/config.gz > .config
make oldconfig
cp .config normal.config
make -j 5 2>&1 | tee normal.log

make clean
make defconfig
cp .config def.config
make -j 5 2>&1 | tee def.log

make clean
make allmodconfig
cp .config allmod.config
make -j 5 2>&1 | tee allmod.log

make clean
make allnoconfig
cp .config allno.config
make -j 5 2>&1 | tee allno.log

make clean
make allyesconfig
cp .config allyes.config
make -j 5 2>&1 | tee allyes.log

for i in `seq 1 95`; do make clean ; make randconfig ; cp .config
rand$i.config ; make -j 5 2>&1 | tee rand$i.log ; done


no tricky Makefile hackery there, just a little shell scripting magic.


--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2006-02-26 19:03:32

by Diego Calleja

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

El Sun, 26 Feb 2006 19:45:52 +0100,
"Jesper Juhl" <[email protected]> escribi?:

> no tricky Makefile hackery there, just a little shell scripting magic.

Oh sure but "make compiletest" looked nicer ;)

the compile statistics (http://developer.osdl.org/cherry/compile/)
were also nice, it's a shame it's not updated

2006-02-26 19:30:56

by Dave Jones

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On Sun, Feb 26, 2006 at 05:31:49PM +0100, Jesper Juhl wrote:
> drivers/char/agp/amd64-agp.c:754: warning: unused variable `amd64nb'

This is due to CONFIG_PCI not being set, which doesn't really
make any sense on x86-64, as there aren't any PCI-less systems
on that platform (With the CPU containing a PCI northbridge, it
doesn't make a lot of sense not to have PCI enabled)

Dave

2006-02-26 19:31:31

by Dave Jones

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On Sun, Feb 26, 2006 at 05:35:49PM +0100, Jesper Juhl wrote:

> And for those who want to see a list of the unique errors, here they are :
>
> make: *** [.tmp_vmlinux1] Error 1
> make: *** [arch/i386/kernel] Error 2
> make: *** [drivers] Error 2
> make: *** [sound] Error 2
> make: *** [vmlinux] Error 1
> make[1]: *** [arch/i386/kernel/irq.o] Error 1
> make[1]: *** [drivers/acpi] Error 2
> make[1]: *** [drivers/atm] Error 2
> make[1]: *** [drivers/isdn] Error 2
> make[1]: *** [drivers/media] Error 2
> make[1]: *** [drivers/mtd] Error 2
> make[1]: *** [drivers/scsi] Error 2
> make[1]: *** [drivers/usb] Error 2
> make[1]: *** [sound/isa] Error 2
> make[1]: *** [sound/oss] Error 2
> make[2]: *** [drivers/acpi/numa.o] Error 1
> make[2]: *** [drivers/acpi/numa.o] Error 1 LD [M] fs/ext3/ext3.o
> make[2]: *** [drivers/acpi/osl.o] Error 1
> make[2]: *** [drivers/atm/fore200e_pca_fw.c] Error 254
> make[2]: *** [drivers/isdn/hysdn] Error 2
> make[2]: *** [drivers/media/dvb] Error 2
> make[2]: *** [drivers/mtd/maps] Error 2
> make[2]: *** [drivers/scsi/aic7xxx] Error 2
> make[2]: *** [drivers/usb/net] Error 2
> make[2]: *** [sound/isa/opti9xx] Error 2
> make[3]: *** [drivers/isdn/hysdn/hysdn_net.o] Error 1
> make[3]: *** [drivers/media/dvb/ttpci] Error 2
> make[3]: *** [drivers/mtd/maps/nettel.o] Error 1
> make[3]: *** [drivers/scsi/aic7xxx/aicasm/aicasm] Error 2
> make[3]: *** [drivers/usb/net/cdc_subset.o] Error 1
> make[3]: *** [sound/isa/opti9xx/opti92x-ad1848.o] Error 1
> make[3]: *** [sound/isa/opti9xx/opti93x.o] Error 1
> make[4]: *** [aicasm] Error 1
> make[4]: *** [drivers/media/dvb/ttpci/av7110_firm.h] Error 255

You snipped out the interesting parts, which is 1-2 lines before this
(Grepping for Error: should do it)

Dave

2006-02-26 19:43:08

by Jesper Juhl

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On Sunday 26 February 2006 20:31, Dave Jones wrote:
> On Sun, Feb 26, 2006 at 05:35:49PM +0100, Jesper Juhl wrote:
>
> > And for those who want to see a list of the unique errors, here they are :
> >
> > make: *** [.tmp_vmlinux1] Error 1
> > make: *** [arch/i386/kernel] Error 2
> > make: *** [drivers] Error 2
> > make: *** [sound] Error 2
> > make: *** [vmlinux] Error 1
> > make[1]: *** [arch/i386/kernel/irq.o] Error 1
> > make[1]: *** [drivers/acpi] Error 2
> > make[1]: *** [drivers/atm] Error 2
> > make[1]: *** [drivers/isdn] Error 2
> > make[1]: *** [drivers/media] Error 2
> > make[1]: *** [drivers/mtd] Error 2
> > make[1]: *** [drivers/scsi] Error 2
> > make[1]: *** [drivers/usb] Error 2
> > make[1]: *** [sound/isa] Error 2
> > make[1]: *** [sound/oss] Error 2
> > make[2]: *** [drivers/acpi/numa.o] Error 1
> > make[2]: *** [drivers/acpi/numa.o] Error 1 LD [M] fs/ext3/ext3.o
> > make[2]: *** [drivers/acpi/osl.o] Error 1
> > make[2]: *** [drivers/atm/fore200e_pca_fw.c] Error 254
> > make[2]: *** [drivers/isdn/hysdn] Error 2
> > make[2]: *** [drivers/media/dvb] Error 2
> > make[2]: *** [drivers/mtd/maps] Error 2
> > make[2]: *** [drivers/scsi/aic7xxx] Error 2
> > make[2]: *** [drivers/usb/net] Error 2
> > make[2]: *** [sound/isa/opti9xx] Error 2
> > make[3]: *** [drivers/isdn/hysdn/hysdn_net.o] Error 1
> > make[3]: *** [drivers/media/dvb/ttpci] Error 2
> > make[3]: *** [drivers/mtd/maps/nettel.o] Error 1
> > make[3]: *** [drivers/scsi/aic7xxx/aicasm/aicasm] Error 2
> > make[3]: *** [drivers/usb/net/cdc_subset.o] Error 1
> > make[3]: *** [sound/isa/opti9xx/opti92x-ad1848.o] Error 1
> > make[3]: *** [sound/isa/opti9xx/opti93x.o] Error 1
> > make[4]: *** [aicasm] Error 1
> > make[4]: *** [drivers/media/dvb/ttpci/av7110_firm.h] Error 255
>
> You snipped out the interesting parts, which is 1-2 lines before this
> (Grepping for Error: should do it)
>

$ grep -B 3 Error *.log

rand1.log-: undefined reference to `framebuffer_release'
rand1.log-drivers/built-in.o(.init.text+0x192b): In function `gxfb_init':
rand1.log-: undefined reference to `fb_get_options'
rand1.log:make: *** [.tmp_vmlinux1] Error 1
--
rand10.log-drivers/isdn/hysdn/hysdn_net.c:27: error: `param_get_unsigned' undeclared here (not in a function)
rand10.log-drivers/isdn/hysdn/hysdn_net.c:27: error: initializer element is not constant
rand10.log-drivers/isdn/hysdn/hysdn_net.c:27: error: (near initialization for `__param_hynet_enable.get')
rand10.log:make[3]: *** [drivers/isdn/hysdn/hysdn_net.o] Error 1
rand10.log:make[2]: *** [drivers/isdn/hysdn] Error 2
rand10.log:make[1]: *** [drivers/isdn] Error 2
rand10.log:make: *** [drivers] Error 2
--
rand12.log-: undefined reference to `voyager_status'
rand12.log-fs/built-in.o(.init.text+0x1851): In function `configfs_init':
rand12.log-: undefined reference to `kernel_subsys'
rand12.log:make: *** [vmlinux] Error 1
--
rand13.log-drivers/acpi/osl.c:249: error: `AmlCode' undeclared (first use in this function)
rand13.log-drivers/acpi/osl.c:249: error: (Each undeclared identifier is reported only once
rand13.log-drivers/acpi/osl.c:249: error: for each function it appears in.)
rand13.log:make[2]: *** [drivers/acpi/osl.o] Error 1
rand13.log:make[1]: *** [drivers/acpi] Error 2
rand13.log:make: *** [drivers] Error 2
--
rand15.log-: undefined reference to `fg_console'
rand15.log-drivers/built-in.o(.text+0x5173f): In function `device_suspend':
rand15.log-: undefined reference to `vc_cons'
rand15.log:make: *** [.tmp_vmlinux1] Error 1
--
rand16.log-drivers/mtd/maps/nettel.c:418: error: (Each undeclared identifier is reported only once
rand16.log-drivers/mtd/maps/nettel.c:418: error: for each function it appears in.)
rand16.log-drivers/mtd/maps/nettel.c:418: warning: implicit declaration of function `MKDEV'
rand16.log:make[3]: *** [drivers/mtd/maps/nettel.o] Error 1
rand16.log:make[2]: *** [drivers/mtd/maps] Error 2
rand16.log:make[1]: *** [drivers/mtd] Error 2
rand16.log:make: *** [drivers] Error 2
--
rand17.log-include/linux/usb.h:643: undefined reference to `usb_register_driver'
rand17.log-drivers/built-in.o(.text+0x60d45): In function `cpia2_usb_cleanup':
rand17.log-drivers/media/video/cpia2/cpia2_usb.c:907: undefined reference to `usb_deregister'
rand17.log:make: *** [.tmp_vmlinux1] Error 1
--
rand18.log-lib/lib.a(kobject_uevent.o)(.text+0x3da):lib/kobject_uevent.c:185: undefined reference to `uevent_helper'
rand18.log-lib/lib.a(kobject_uevent.o)(.text+0x3ef): In function `kobject_uevent':
rand18.log-include/linux/kmod.h:46: undefined reference to `uevent_helper'
rand18.log:make: *** [.tmp_vmlinux1] Error 1
--
rand19.log-: undefined reference to `alloc_ltalkdev'
rand19.log-drivers/built-in.o(.init.text+0x9899): In function `ltpc_probe':
rand19.log-: undefined reference to `alloc_ltalkdev'
rand19.log:make: *** [.tmp_vmlinux1] Error 1
--
rand2.log- LD init/built-in.o
rand2.log- LD vmlinux
rand2.log-kernel/built-in.o(.data+0x8b8): undefined reference to `uevent_helper'
rand2.log:make: *** [vmlinux] Error 1
--
rand20.log-drivers/acpi/numa.c:233: error: `NR_NODE_MEMBLKS' undeclared (first use in this function)
rand20.log-drivers/acpi/numa.c:233: error: (Each undeclared identifier is reported only once
rand20.log-drivers/acpi/numa.c:233: error: for each function it appears in.)
rand20.log:make[2]: *** [drivers/acpi/numa.o] Error 1
rand20.log:make[1]: *** [drivers/acpi] Error 2
rand20.log:make: *** [drivers] Error 2
--
rand21.log-lib/lib.a(kobject_uevent.o)(.text+0x3b0):lib/kobject_uevent.c:185: undefined reference to `uevent_helper'
rand21.log-lib/lib.a(kobject_uevent.o)(.text+0x3cb): In function `kobject_uevent':
rand21.log-include/linux/kmod.h:46: undefined reference to `uevent_helper'
rand21.log:make: *** [.tmp_vmlinux1] Error 1
--
rand22.log-: undefined reference to `usb_register_driver'
rand22.log-drivers/built-in.o(.text+0x3b6e0): In function `cpia2_usb_cleanup':
rand22.log-: undefined reference to `usb_deregister'
rand22.log:make: *** [.tmp_vmlinux1] Error 1
--
rand23.log-: undefined reference to `uevent_helper'
rand23.log-lib/lib.a(kobject_uevent.o)(.text+0x3a3): In function `kobject_uevent':
rand23.log-: undefined reference to `uevent_helper'
rand23.log:make: *** [vmlinux] Error 1
--
rand25.log-sound/isa/opti9xx/opti92x-ad1848.c:2091: error: for each function it appears in.)
rand25.log-sound/isa/opti9xx/opti92x-ad1848.c: In function `alsa_card_opti9xx_exit':
rand25.log-sound/isa/opti9xx/opti92x-ad1848.c:2118: error: `opti9xx_pnpc_driver' undeclared (first use in this function)
rand25.log:make[3]: *** [sound/isa/opti9xx/opti92x-ad1848.o] Error 1
rand25.log:make[2]: *** [sound/isa/opti9xx] Error 2
rand25.log:make[1]: *** [sound/isa] Error 2
rand25.log:make: *** [sound] Error 2
--
rand26.log-: undefined reference to `uevent_helper'
rand26.log-lib/lib.a(kobject_uevent.o)(.text+0x322): In function `kobject_uevent':
rand26.log-: undefined reference to `uevent_helper'
rand26.log:make: *** [.tmp_vmlinux1] Error 1
--
rand27.log-arch/i386/mach-voyager/built-in.o(.text+0x494): In function `thread':
rand27.log-arch/i386/mach-voyager/voyager_thread.c:141: undefined reference to `voyager_status'
rand27.log-arch/i386/mach-voyager/built-in.o(.text+0x4dc):arch/i386/mach-voyager/voyager_thread.c:146: undefined reference to `voyager_status'
rand27.log:make: *** [.tmp_vmlinux1] Error 1
--
rand28.log-drivers/net/irda/tekram-sir.c:73: undefined reference to `irda_unregister_dongle'
rand28.log-drivers/built-in.o(.exit.text+0x4f6): In function `litelink_sir_cleanup':
rand28.log-drivers/net/irda/litelink-sir.c:74: undefined reference to `irda_unregister_dongle'
rand28.log:make: *** [.tmp_vmlinux1] Error 1
--
rand29.log-: undefined reference to `pci_acpi_scan_root'
rand29.log-drivers/built-in.o(.text+0x7d33c): In function `memory_block_action':
rand29.log-: undefined reference to `remove_memory'
rand29.log:make: *** [vmlinux] Error 1
--
rand3.log-: undefined reference to `fg_console'
rand3.log-drivers/built-in.o(.text+0xaeb2e): In function `device_suspend':
rand3.log-: undefined reference to `vc_cons'
rand3.log:make: *** [.tmp_vmlinux1] Error 1
--
rand30.log-: undefined reference to `fg_console'
rand30.log-drivers/built-in.o(.text+0xbf8fa): In function `device_suspend':
rand30.log-: undefined reference to `vc_cons'
rand30.log:make: *** [.tmp_vmlinux1] Error 1
--
rand31.log-drivers/mtd/maps/nettel.c:418: error: (Each undeclared identifier is reported only once
rand31.log-drivers/mtd/maps/nettel.c:418: error: for each function it appears in.)
rand31.log-drivers/mtd/maps/nettel.c:418: warning: implicit declaration of function `MKDEV'
rand31.log:make[3]: *** [drivers/mtd/maps/nettel.o] Error 1
rand31.log:make[2]: *** [drivers/mtd/maps] Error 2
rand31.log:make[1]: *** [drivers/mtd] Error 2
--
rand31.log- LD [M] drivers/media/video/zr36067.o
rand31.log- LD drivers/media/video/built-in.o
rand31.log- LD drivers/media/built-in.o
rand31.log:make: *** [drivers] Error 2
--
rand32.log-include/linux/usb.h:643: undefined reference to `usb_register_driver'
rand32.log-drivers/built-in.o(.text+0x1000e3): In function `cpia2_usb_cleanup':
rand32.log-drivers/media/video/cpia2/cpia2_usb.c:907: undefined reference to `usb_deregister'
rand32.log:make: *** [.tmp_vmlinux1] Error 1
--
rand33.log-: undefined reference to `write_tiger'
rand33.log-drivers/built-in.o(.init.text+0x124cc): In function `setup_enternow_pci':
rand33.log-: undefined reference to `netjet_fill_dma'
rand33.log:make: *** [.tmp_vmlinux1] Error 1
--
rand34.log-drivers/acpi/osl.c:249: error: `AmlCode' undeclared (first use in this function)
rand34.log-drivers/acpi/osl.c:249: error: (Each undeclared identifier is reported only once
rand34.log-drivers/acpi/osl.c:249: error: for each function it appears in.)
rand34.log:make[2]: *** [drivers/acpi/osl.o] Error 1
rand34.log:make[1]: *** [drivers/acpi] Error 2
rand34.log:make: *** [drivers] Error 2
--
rand37.log- CC drivers/usb/core/hcd-pci.o
rand37.log-aicasm_macro_gram.tab.c:1352: error: previous implicit declaration of 'mmerror' was here
rand37.log- CC drivers/scsi/aacraid/commctrl.o
rand37.log:make[4]: *** [aicasm] Error 1
rand37.log:make[3]: *** [drivers/scsi/aic7xxx/aicasm/aicasm] Error 2
rand37.log:make[2]: *** [drivers/scsi/aic7xxx] Error 2
--
rand37.log- CC drivers/usb/misc/usbled.o
rand37.log- LD drivers/scsi/aacraid/aacraid.o
rand37.log- LD drivers/scsi/aacraid/built-in.o
rand37.log:make[1]: *** [drivers/scsi] Error 2
--
rand37.log- LD drivers/usb/storage/usb-storage.o
rand37.log- LD drivers/usb/storage/built-in.o
rand37.log- LD drivers/usb/built-in.o
rand37.log:make: *** [drivers] Error 2
--
rand38.log-drivers/mtd/maps/nettel.c:418: error: for each function it appears in.)
rand38.log-drivers/mtd/maps/nettel.c:418: warning: implicit declaration of function `MKDEV'
rand38.log- CC drivers/mtd/chips/cfi_cmdset_0001.o
rand38.log:make[3]: *** [drivers/mtd/maps/nettel.o] Error 1
rand38.log:make[2]: *** [drivers/mtd/maps] Error 2
--
rand38.log- CC drivers/mtd/chips/map_absent.o
rand38.log- CC drivers/rtc/utils.o
rand38.log- LD drivers/mtd/chips/built-in.o
rand38.log:make[1]: *** [drivers/mtd] Error 2
rand38.log-make[1]: *** Waiting for unfinished jobs....
rand38.log- CC fs/udf/namei.o
rand38.log- LD drivers/rtc/built-in.o
rand38.log:make: *** [drivers] Error 2
--
rand4.log- CC sound/oss/msnd.o
rand4.log-make[2]: *** No rule to make target `/etc/sound/msndperm.bin', needed by `sound/oss/msndperm.c'. Stop.
rand4.log-make[2]: *** Waiting for unfinished jobs....
rand4.log:make[1]: *** [sound/oss] Error 2
rand4.log:make: *** [sound] Error 2
--
rand40.log- CC [M] drivers/net/smc-mca.o
rand40.log-aicasm_macro_gram.y:162: error: conflicting types for 'mmerror'
rand40.log-aicasm_macro_gram.tab.c:1352: error: previous implicit declaration of 'mmerror' was here
rand40.log:make[4]: *** [aicasm] Error 1
rand40.log:make[3]: *** [drivers/scsi/aic7xxx/aicasm/aicasm] Error 2
rand40.log:make[2]: *** [drivers/scsi/aic7xxx] Error 2
rand40.log:make[1]: *** [drivers/scsi] Error 2
--
rand40.log-drivers/net/r8169.c:2138: warning: 'txd' might be used uninitialized in this function
rand40.log- LD drivers/net/built-in.o
rand40.log- LD drivers/telephony/built-in.o
rand40.log:make: *** [drivers] Error 2
--
rand41.log-: undefined reference to `fg_console'
rand41.log-drivers/built-in.o(.text+0xcef8c): In function `device_suspend':
rand41.log-: undefined reference to `vc_cons'
rand41.log:make: *** [vmlinux] Error 1
--
rand42.log-: undefined reference to `usb_register_driver'
rand42.log-drivers/built-in.o(.text+0x11cb50): In function `cpia2_usb_cleanup':
rand42.log-: undefined reference to `usb_deregister'
rand42.log:make: *** [.tmp_vmlinux1] Error 1
--
rand43.log-drivers/net/kgdb_eth.c:107: undefined reference to `netpoll_parse_options'
rand43.log-drivers/built-in.o(.text+0x82d26): In function `init_kgdboe':
rand43.log-drivers/net/kgdb_eth.c:123: undefined reference to `netpoll_setup'
rand43.log:make: *** [.tmp_vmlinux1] Error 1
--
rand44.log-drivers/built-in.o(.text+0x8c35b): In function `cx24110_readreg':
rand44.log-: undefined reference to `i2c_transfer'
rand44.log-drivers/built-in.o(.text+0x8d48f): more undefined references to `i2c_transfer' follow
rand44.log:make: *** [.tmp_vmlinux1] Error 1
--
rand45.log- LD drivers/usb/usbfs2/built-in.o
rand45.log- CC drivers/usb/net/usbnet.o
rand45.log-drivers/usb/net/cdc_subset.c:213:2: #error You need to configure some hardware for this driver
rand45.log:make[3]: *** [drivers/usb/net/cdc_subset.o] Error 1
rand45.log-make[3]: *** Waiting for unfinished jobs....
rand45.log:make[2]: *** [drivers/usb/net] Error 2
rand45.log:make[1]: *** [drivers/usb] Error 2
rand45.log:make: *** [drivers] Error 2
--
rand46.log-include/asm-i386/mach-default/mach_apic.h: In function `apic_id_registered':
rand46.log-include/asm-i386/mach-default/mach_apic.h:114: error: `APIC_ID' undeclared (first use in this function)
rand46.log-include/asm-i386/mach-default/mach_apic.h:114: error: `phys_cpu_present_map' undeclared (first use in this function)
rand46.log:make[1]: *** [arch/i386/kernel/irq.o] Error 1
rand46.log:make: *** [arch/i386/kernel] Error 2
--
rand47.log-: undefined reference to `mtd_concat_create'
rand47.log-drivers/built-in.o(.exit.text+0xb07): In function `cleanup_sc520cdp':
rand47.log-: undefined reference to `mtd_concat_destroy'
rand47.log:make: *** [.tmp_vmlinux1] Error 1
--
rand48.log-drivers/atm/fore200e_mkfirm -k -b _fore200e_pca_fw \
rand48.log- -i "" -o drivers/atm/fore200e_pca_fw.c
rand48.log-drivers/atm/fore200e_mkfirm: can't open for reading
rand48.log:make[2]: *** [drivers/atm/fore200e_pca_fw.c] Error 254
rand48.log:make[1]: *** [drivers/atm] Error 2
rand48.log:make: *** [drivers] Error 2
--
rand5.log-include/linux/usb.h:643: undefined reference to `usb_register_driver'
rand5.log-drivers/built-in.o(.text+0xece25): In function `cpia2_usb_cleanup':
rand5.log-drivers/media/video/cpia2/cpia2_usb.c:907: undefined reference to `usb_deregister'
rand5.log:make: *** [vmlinux] Error 1
--
rand51.log-: undefined reference to `mtd_concat_create'
rand51.log-drivers/built-in.o(.exit.text+0xd36): In function `cleanup_sc520cdp':
rand51.log-: undefined reference to `mtd_concat_destroy'
rand51.log:make: *** [vmlinux] Error 1
--
rand52.log-sound/isa/opti9xx/opti92x-ad1848.c:2091: error: for each function it appears in.)
rand52.log-sound/isa/opti9xx/opti92x-ad1848.c: In function `alsa_card_opti9xx_exit':
rand52.log-sound/isa/opti9xx/opti92x-ad1848.c:2118: error: `opti9xx_pnpc_driver' undeclared (first use in this function)
rand52.log:make[3]: *** [sound/isa/opti9xx/opti92x-ad1848.o] Error 1
rand52.log:make[2]: *** [sound/isa/opti9xx] Error 2
rand52.log:make[1]: *** [sound/isa] Error 2
rand52.log:make: *** [sound] Error 2
--
rand52.log-drivers/acpi/numa.c:233: error: `NR_NODE_MEMBLKS' undeclared (first use in this function)
rand52.log-drivers/acpi/numa.c:233: error: (Each undeclared identifier is reported only once
rand52.log-drivers/acpi/numa.c:233: error: for each function it appears in.)
rand52.log:make[2]: *** [drivers/acpi/numa.o] Error 1
rand52.log:make[1]: *** [drivers/acpi] Error 2
rand52.log:make: *** [drivers] Error 2
--
rand53.log- LD init/built-in.o
rand53.log- LD .tmp_vmlinux1
rand53.log-kernel/built-in.o(.data+0x8b8): undefined reference to `uevent_helper'
rand53.log:make: *** [.tmp_vmlinux1] Error 1
--
rand55.log-drivers/net/via-velocity.c:279: undefined reference to `register_inetaddr_notifier'
rand55.log-drivers/built-in.o(.text+0xf5e48): In function `velocity_unregister_notifier':
rand55.log-drivers/net/via-velocity.c:284: undefined reference to `unregister_inetaddr_notifier'
rand55.log:make: *** [.tmp_vmlinux1] Error 1
--
rand57.log-drivers/net/kgdb_eth.c:107: undefined reference to `netpoll_parse_options'
rand57.log-drivers/built-in.o(.text+0x33e58): In function `init_kgdboe':
rand57.log-drivers/net/kgdb_eth.c:123: undefined reference to `netpoll_setup'
rand57.log:make: *** [.tmp_vmlinux1] Error 1
--
rand58.log-sound/isa/opti9xx/opti92x-ad1848.c:2091: error: for each function it appears in.)
rand58.log-sound/isa/opti9xx/opti92x-ad1848.c: In function `alsa_card_opti9xx_exit':
rand58.log-sound/isa/opti9xx/opti92x-ad1848.c:2118: error: `opti9xx_pnpc_driver' undeclared (first use in this function)
rand58.log:make[3]: *** [sound/isa/opti9xx/opti92x-ad1848.o] Error 1
rand58.log:make[2]: *** [sound/isa/opti9xx] Error 2
rand58.log:make[1]: *** [sound/isa] Error 2
rand58.log:make: *** [sound] Error 2
--
rand59.log- LD .tmp_vmlinux1
rand59.log-drivers/built-in.o(.text+0xbd65c): In function `uart_configure_port':
rand59.log-drivers/serial/serial_core.c:2026: undefined reference to `kgdb_irq'
rand59.log:make: *** [.tmp_vmlinux1] Error 1
--
rand6.log-include/linux/usb.h:643: undefined reference to `usb_register_driver'
rand6.log-drivers/built-in.o(.text+0x12e8d2): In function `cpia2_usb_cleanup':
rand6.log-drivers/media/video/cpia2/cpia2_usb.c:907: undefined reference to `usb_deregister'
rand6.log:make: *** [.tmp_vmlinux1] Error 1
--
rand60.log-: undefined reference to `voyager_status'
rand60.log-arch/i386/mach-voyager/built-in.o(.text+0x397): In function `thread':
rand60.log-: undefined reference to `voyager_status'
rand60.log:make: *** [vmlinux] Error 1
--
rand61.log- CC fs/hfs/trans.o
rand61.log- LD fs/hfs/hfs.o
rand61.log- LD fs/hfs/built-in.o
rand61.log:make[1]: *** [sound/oss] Error 2
rand61.log:make: *** [sound] Error 2
--
rand61.log- LD fs/ocfs2/built-in.o
rand61.log-drivers/media/dvb/ttpci/fdump "/usr/lib/hotplug/firmware/dvb-ttpci-01.fw" dvb_ttpci_fw drivers/media/dvb/ttpci/av7110_firm.h
rand61.log-firmware file '/usr/lib/hotplug/firmware/dvb-ttpci-01.fw' not found
rand61.log:make[4]: *** [drivers/media/dvb/ttpci/av7110_firm.h] Error 255
rand61.log:make[3]: *** [drivers/media/dvb/ttpci] Error 2
rand61.log:make[2]: *** [drivers/media/dvb] Error 2
--
rand61.log- LD drivers/media/video/bttv.o
rand61.log- LD drivers/media/video/msp3400.o
rand61.log- LD drivers/media/video/built-in.o
rand61.log:make[1]: *** [drivers/media] Error 2
rand61.log:make: *** [drivers] Error 2
--
rand62.log-drivers/acpi/numa.c:233: error: `NR_NODE_MEMBLKS' undeclared (first use in this function)
rand62.log-drivers/acpi/numa.c:233: error: (Each undeclared identifier is reported only once
rand62.log-drivers/acpi/numa.c:233: error: for each function it appears in.)
rand62.log:make[2]: *** [drivers/acpi/numa.o] Error 1 LD [M] fs/ext3/ext3.o
rand62.log-
rand62.log:make[1]: *** [drivers/acpi] Error 2
rand62.log:make: *** [drivers] Error 2
--
rand63.log-drivers/built-in.o(.text+0x20ac6): In function `device_suspend':
rand63.log-drivers/base/power/suspend.c:94: undefined reference to `fg_console'
rand63.log-drivers/built-in.o(.text+0x20ace):drivers/base/power/suspend.c:94: undefined reference to `vc_cons'
rand63.log:make: *** [.tmp_vmlinux1] Error 1
--
rand64.log-: undefined reference to `module_alloc'
rand64.log-kernel/built-in.o(.kprobes.text+0x1ce): In function `free_insn_slot':
rand64.log-: undefined reference to `module_free'
rand64.log:make: *** [.tmp_vmlinux1] Error 1
--
rand65.log-drivers/usb/gadget/dummy_hcd.c:2016: undefined reference to `usb_disabled'
rand65.log-drivers/built-in.o(.exit.text+0xd36): In function `cleanup_sc520cdp':
rand65.log-drivers/mtd/maps/sc520cdp.c:284: undefined reference to `mtd_concat_destroy'
rand65.log:make: *** [.tmp_vmlinux1] Error 1
--
rand66.log-aicasm_macro_gram.y:162: error: conflicting types for 'mmerror'
rand66.log-aicasm_macro_gram.tab.c:1352: error: previous implicit declaration of 'mmerror' was here
rand66.log- CC [M] drivers/usb/host/ehci-hcd.o
rand66.log:make[4]: *** [aicasm] Error 1
rand66.log:make[3]: *** [drivers/scsi/aic7xxx/aicasm/aicasm] Error 2
rand66.log:make[2]: *** [drivers/scsi/aic7xxx] Error 2
rand66.log:make[1]: *** [drivers/scsi] Error 2
--
rand66.log- CC [M] drivers/usb/serial/whiteheat.o
rand66.log- LD [M] drivers/usb/serial/usbserial.o
rand66.log- LD drivers/usb/built-in.o
rand66.log:make: *** [drivers] Error 2
--
rand67.log-: undefined reference to `usb_register_driver'
rand67.log-drivers/built-in.o(.text+0x57400): In function `cpia2_usb_cleanup':
rand67.log-: undefined reference to `usb_deregister'
rand67.log:make: *** [vmlinux] Error 1
--
rand69.log-drivers/built-in.o(.text+0x3593c): In function `tda8083_writereg':
rand69.log-drivers/media/dvb/frontends/tda8083.c:69: undefined reference to `i2c_transfer'
rand69.log-drivers/built-in.o(.text+0x359e6):drivers/media/dvb/frontends/tda8083.c:84: more undefined references to `i2c_transfer' follow
rand69.log:make: *** [vmlinux] Error 1
--
rand7.log- LD init/built-in.o
rand7.log- LD .tmp_vmlinux1
rand7.log-kernel/built-in.o(.data+0x8a4): undefined reference to `uevent_helper'
rand7.log:make: *** [.tmp_vmlinux1] Error 1
--
rand70.log- CC drivers/usb/host/pci-quirks.o
rand70.log-aicasm_macro_gram.y:162: error: conflicting types for 'mmerror'
rand70.log-aicasm_macro_gram.tab.c:1352: error: previous implicit declaration of 'mmerror' was here
rand70.log:make[4]: *** [aicasm] Error 1
rand70.log:make[3]: *** [drivers/scsi/aic7xxx/aicasm/aicasm] Error 2
rand70.log:make[2]: *** [drivers/scsi/aic7xxx] Error 2
rand70.log:make[1]: *** [drivers/scsi] Error 2
--
rand70.log- LD drivers/usb/media/pwc/built-in.o
rand70.log- LD drivers/usb/media/built-in.o
rand70.log- LD drivers/usb/built-in.o
rand70.log:make: *** [drivers] Error 2
--
rand71.log-: undefined reference to `fg_console'
rand71.log-drivers/built-in.o(.text+0x76b5c): In function `device_suspend':
rand71.log-: undefined reference to `vc_cons'
rand71.log:make: *** [.tmp_vmlinux1] Error 1
--
rand72.log-make[2]: *** No rule to make target `/etc/sound/pndsperm.bin', needed by `sound/oss/pndsperm.c'. Stop.
rand72.log-make[2]: *** Waiting for unfinished jobs....
rand72.log- CC [M] drivers/net/skfp/ess.o
rand72.log:make[1]: *** [sound/oss] Error 2
rand72.log:make: *** [sound] Error 2
--
rand73.log-include/linux/usb.h:643: undefined reference to `usb_register_driver'
rand73.log-drivers/built-in.o(.text+0x1143b9): In function `cpia2_usb_cleanup':
rand73.log-drivers/media/video/cpia2/cpia2_usb.c:907: undefined reference to `usb_deregister'
rand73.log:make: *** [vmlinux] Error 1
--
rand74.log-: undefined reference to `uevent_helper'
rand74.log-lib/lib.a(kobject_uevent.o)(.text+0x346): In function `kobject_uevent':
rand74.log-: undefined reference to `uevent_helper'
rand74.log:make: *** [vmlinux] Error 1
--
rand75.log-aicasm_macro_gram.y:162: error: conflicting types for 'mmerror'
rand75.log-aicasm_macro_gram.tab.c:1352: error: previous implicit declaration of 'mmerror' was here
rand75.log- CC [M] drivers/scsi/aacraid/rx.o
rand75.log:make[4]: *** [aicasm] Error 1
rand75.log:make[3]: *** [drivers/scsi/aic7xxx/aicasm/aicasm] Error 2
rand75.log:make[2]: *** [drivers/scsi/aic7xxx] Error 2
--
rand75.log- LD drivers/serial/built-in.o
rand75.log- CC drivers/spi/spi_bitbang.o
rand75.log- LD [M] drivers/scsi/aacraid/aacraid.o
rand75.log:make[1]: *** [drivers/scsi] Error 2
rand75.log-make[1]: *** Waiting for unfinished jobs....
rand75.log- LD drivers/spi/built-in.o
rand75.log:make: *** [drivers] Error 2
--
rand77.log-: undefined reference to `scsi_remove_host'
rand77.log-drivers/built-in.o(.text+0x432f7): In function `cciss_unregister_scsi':
rand77.log-: undefined reference to `scsi_host_put'
rand77.log:make: *** [.tmp_vmlinux1] Error 1
--
rand78.log-sound/isa/opti9xx/opti92x-ad1848.c:2091: error: for each function it appears in.)
rand78.log-sound/isa/opti9xx/opti92x-ad1848.c: In function `alsa_card_opti9xx_exit':
rand78.log-sound/isa/opti9xx/opti92x-ad1848.c:2118: error: `opti9xx_pnpc_driver' undeclared (first use in this function)
rand78.log:make[3]: *** [sound/isa/opti9xx/opti93x.o] Error 1
rand78.log:make[2]: *** [sound/isa/opti9xx] Error 2
rand78.log:make[1]: *** [sound/isa] Error 2
rand78.log:make: *** [sound] Error 2
--
rand79.log-kernel/kprobes.c:147: undefined reference to `module_free'
rand79.log-mm/built-in.o(.text+0x1650e): In function `online_pages':
rand79.log-mm/memory_hotplug.c:129: undefined reference to `online_page'
rand79.log:make: *** [.tmp_vmlinux1] Error 1
--
rand8.log-aicasm_gram.tab.c:3161: error: previous implicit declaration of 'yyerror' was here
rand8.log-aicasm_macro_gram.y:162: error: conflicting types for 'mmerror'
rand8.log-aicasm_macro_gram.tab.c:1352: error: previous implicit declaration of 'mmerror' was here
rand8.log:make[4]: *** [aicasm] Error 1
rand8.log:make[3]: *** [drivers/scsi/aic7xxx/aicasm/aicasm] Error 2
rand8.log:make[2]: *** [drivers/scsi/aic7xxx] Error 2
--
rand8.log- CC [M] drivers/usb/net/kaweth.o
rand8.log- LD [M] drivers/scsi/lpfc/lpfc.o
rand8.log- CC [M] drivers/usb/misc/idmouse.o
rand8.log:make[1]: *** [drivers/scsi] Error 2
--
rand8.log- LD [M] drivers/usb/storage/usb-storage.o
rand8.log- LD [M] drivers/usb/misc/sisusbvga/sisusbvga.o
rand8.log- LD drivers/usb/built-in.o
rand8.log:make: *** [drivers] Error 2
--
rand80.log-drivers/acpi/osl.c:249: error: `AmlCode' undeclared (first use in this function)
rand80.log-drivers/acpi/osl.c:249: error: (Each undeclared identifier is reported only once
rand80.log-drivers/acpi/osl.c:249: error: for each function it appears in.)
rand80.log:make[2]: *** [drivers/acpi/osl.o] Error 1
rand80.log:make[1]: *** [drivers/acpi] Error 2
rand80.log:make: *** [drivers] Error 2
--
rand81.log-: undefined reference to `voyager_status'
rand81.log-arch/i386/mach-voyager/built-in.o(.text+0x408): In function `thread':
rand81.log-: undefined reference to `voyager_status'
rand81.log:make: *** [.tmp_vmlinux1] Error 1
--
rand82.log-make[2]: *** Waiting for unfinished jobs....
rand82.log- CC drivers/char/agp/nvidia-agp.o
rand82.log- CC fs/cifs/file.o
rand82.log:make[1]: *** [sound/oss] Error 2
rand82.log:make: *** [sound] Error 2
--
rand83.log-sound/isa/opti9xx/opti92x-ad1848.c:2091: error: for each function it appears in.)
rand83.log-sound/isa/opti9xx/opti92x-ad1848.c: In function `alsa_card_opti9xx_exit':
rand83.log-sound/isa/opti9xx/opti92x-ad1848.c:2118: error: `opti9xx_pnpc_driver' undeclared (first use in this function)
rand83.log:make[3]: *** [sound/isa/opti9xx/opti92x-ad1848.o] Error 1
rand83.log:make[2]: *** [sound/isa/opti9xx] Error 2
rand83.log:make[1]: *** [sound/isa] Error 2
rand83.log:make: *** [sound] Error 2
--
rand84.log-drivers/built-in.o(.text+0x10b051): more undefined references to `xquad_portio' follow
rand84.log-arch/i386/oprofile/built-in.o(.text+0x353): In function `alloc_cpu_buffers':
rand84.log-: undefined reference to `cpu_2_node'
rand84.log:make: *** [.tmp_vmlinux1] Error 1
--
rand85.log-: undefined reference to `register_wan_device'
rand85.log-drivers/built-in.o(.exit.text+0x62a): In function `cycx_exit':
rand85.log-: undefined reference to `unregister_wan_device'
rand85.log:make: *** [.tmp_vmlinux1] Error 1
--
rand87.log-: undefined reference to `fg_console'
rand87.log-drivers/built-in.o(.text+0x6373f): In function `device_suspend':
rand87.log-: undefined reference to `vc_cons'
rand87.log:make: *** [vmlinux] Error 1
--
rand88.log-: undefined reference to `quad_local_to_mp_bus_id'
rand88.log-arch/i386/pci/built-in.o(.init.text+0x806): In function `pci_numa_init':
rand88.log-: undefined reference to `quad_local_to_mp_bus_id'
rand88.log:make: *** [.tmp_vmlinux1] Error 1
--
rand89.log-: undefined reference to `framebuffer_release'
rand89.log-drivers/built-in.o(.init.text+0x1238): In function `gxfb_init':
rand89.log-: undefined reference to `fb_get_options'
rand89.log:make: *** [.tmp_vmlinux1] Error 1
--
rand9.log-kernel/kprobes.c:109: undefined reference to `module_alloc'
rand9.log-kernel/built-in.o(.kprobes.text+0x1a6): In function `free_insn_slot':
rand9.log-kernel/kprobes.c:147: undefined reference to `module_free'
rand9.log:make: *** [.tmp_vmlinux1] Error 1
--
rand90.log-drivers/built-in.o(.text+0x50b0f): In function `device_suspend':
rand90.log-drivers/base/power/suspend.c:94: undefined reference to `fg_console'
rand90.log-drivers/built-in.o(.text+0x50b1a):drivers/base/power/suspend.c:94: undefined reference to `vc_cons'
rand90.log:make: *** [.tmp_vmlinux1] Error 1
--
rand91.log-: undefined reference to `fg_console'
rand91.log-drivers/built-in.o(.text+0x371fb): In function `device_suspend':
rand91.log-: undefined reference to `vc_cons'
rand91.log:make: *** [.tmp_vmlinux1] Error 1
--
rand92.log-lib/lib.a(kobject_uevent.o)(.text+0x262):lib/kobject_uevent.c:185: undefined reference to `uevent_helper'
rand92.log-lib/lib.a(kobject_uevent.o)(.text+0x27d): In function `kobject_uevent':
rand92.log-include/linux/kmod.h:46: undefined reference to `uevent_helper'
rand92.log:make: *** [.tmp_vmlinux1] Error 1
--
rand93.log- CC [M] net/bridge/br_sysfs_br.o
rand93.log-aicasm_macro_gram.y:162: error: conflicting types for 'mmerror'
rand93.log-aicasm_macro_gram.tab.c:1352: error: previous implicit declaration of 'mmerror' was here
rand93.log:make[4]: *** [aicasm] Error 1
rand93.log:make[3]: *** [drivers/scsi/aic7xxx/aicasm/aicasm] Error 2
rand93.log:make[2]: *** [drivers/scsi/aic7xxx] Error 2
rand93.log:make[1]: *** [drivers/scsi] Error 2
rand93.log:make: *** [drivers] Error 2
--
rand94.log-sound/isa/opti9xx/opti92x-ad1848.c:2091: error: for each function it appears in.)
rand94.log-sound/isa/opti9xx/opti92x-ad1848.c: In function `alsa_card_opti9xx_exit':
rand94.log-sound/isa/opti9xx/opti92x-ad1848.c:2118: error: `opti9xx_pnpc_driver' undeclared (first use in this function)
rand94.log:make[3]: *** [sound/isa/opti9xx/opti92x-ad1848.o] Error 1
rand94.log:make[2]: *** [sound/isa/opti9xx] Error 2
rand94.log:make[1]: *** [sound/isa] Error 2
rand94.log:make: *** [sound] Error 2
--
rand94.log-drivers/mtd/maps/nettel.c:418: error: (Each undeclared identifier is reported only once
rand94.log-drivers/mtd/maps/nettel.c:418: error: for each function it appears in.)
rand94.log-drivers/mtd/maps/nettel.c:418: warning: implicit declaration of function `MKDEV'
rand94.log:make[3]: *** [drivers/mtd/maps/nettel.o] Error 1
rand94.log:make[2]: *** [drivers/mtd/maps] Error 2
rand94.log:make[1]: *** [drivers/mtd] Error 2
--
rand94.log- LD [M] drivers/media/video/msp3400.o
rand94.log- LD drivers/media/video/built-in.o
rand94.log- LD drivers/media/built-in.o
rand94.log:make: *** [drivers] Error 2
--
rand95.log- CC drivers/usb/net/cdc_subset.o
rand95.log- CC drivers/video/matrox/matroxfb_g450.o
rand95.log-drivers/usb/net/cdc_subset.c:213:2: #error You need to configure some hardware for this driver
rand95.log:make[3]: *** [drivers/usb/net/cdc_subset.o] Error 1
rand95.log:make[2]: *** [drivers/usb/net] Error 2
rand95.log:make[1]: *** [drivers/usb] Error 2
--
rand95.log- LD drivers/scsi/sd_mod.o
rand95.log- LD drivers/scsi/scsi_mod.o
rand95.log- LD drivers/scsi/built-in.o
rand95.log:make: *** [drivers] Error 2

2006-02-26 20:11:08

by Jesper Juhl

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On 2/26/06, Jesper Juhl <[email protected]> wrote:
> On Sunday 26 February 2006 20:31, Dave Jones wrote:
> > On Sun, Feb 26, 2006 at 05:35:49PM +0100, Jesper Juhl wrote:
> >
> > > And for those who want to see a list of the unique errors, here they are :
> > >
> > > make: *** [.tmp_vmlinux1] Error 1
> > > make: *** [arch/i386/kernel] Error 2
> > > make: *** [drivers] Error 2
> > > make: *** [sound] Error 2
> > > make: *** [vmlinux] Error 1
> > > make[1]: *** [arch/i386/kernel/irq.o] Error 1
> > > make[1]: *** [drivers/acpi] Error 2
> > > make[1]: *** [drivers/atm] Error 2
> > > make[1]: *** [drivers/isdn] Error 2
> > > make[1]: *** [drivers/media] Error 2
> > > make[1]: *** [drivers/mtd] Error 2
> > > make[1]: *** [drivers/scsi] Error 2
> > > make[1]: *** [drivers/usb] Error 2
> > > make[1]: *** [sound/isa] Error 2
> > > make[1]: *** [sound/oss] Error 2
> > > make[2]: *** [drivers/acpi/numa.o] Error 1
> > > make[2]: *** [drivers/acpi/numa.o] Error 1 LD [M] fs/ext3/ext3.o
> > > make[2]: *** [drivers/acpi/osl.o] Error 1
> > > make[2]: *** [drivers/atm/fore200e_pca_fw.c] Error 254
> > > make[2]: *** [drivers/isdn/hysdn] Error 2
> > > make[2]: *** [drivers/media/dvb] Error 2
> > > make[2]: *** [drivers/mtd/maps] Error 2
> > > make[2]: *** [drivers/scsi/aic7xxx] Error 2
> > > make[2]: *** [drivers/usb/net] Error 2
> > > make[2]: *** [sound/isa/opti9xx] Error 2
> > > make[3]: *** [drivers/isdn/hysdn/hysdn_net.o] Error 1
> > > make[3]: *** [drivers/media/dvb/ttpci] Error 2
> > > make[3]: *** [drivers/mtd/maps/nettel.o] Error 1
> > > make[3]: *** [drivers/scsi/aic7xxx/aicasm/aicasm] Error 2
> > > make[3]: *** [drivers/usb/net/cdc_subset.o] Error 1
> > > make[3]: *** [sound/isa/opti9xx/opti92x-ad1848.o] Error 1
> > > make[3]: *** [sound/isa/opti9xx/opti93x.o] Error 1
> > > make[4]: *** [aicasm] Error 1
> > > make[4]: *** [drivers/media/dvb/ttpci/av7110_firm.h] Error 255
> >
> > You snipped out the interesting parts, which is 1-2 lines before this
> > (Grepping for Error: should do it)
> >
>
> $ grep -B 3 Error *.log
>
[snip grep output]

btw, if you want the complete logs and the configs that generated
them, then they are available in a tarball at
ftp://ftp.kernel.org/pub/linux/kernel/people/bunk/jesper/ and as
individual files in the logs/ subdir at the same location.

--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2006-02-26 20:43:04

by Lee Revell

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On Sun, 2006-02-26 at 17:21 +0100, Jesper Juhl wrote:
> Hi everyone,
>
> I just sat down and build 100 kernels (2.6.16-rc4-mm2 kernels to be exact)

What GCC version? 4.x still has the bug where it spews false warnings
about things being used uninitialized.

Lee

2006-02-26 20:44:39

by Jesper Juhl

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On 2/26/06, Lee Revell <[email protected]> wrote:
> On Sun, 2006-02-26 at 17:21 +0100, Jesper Juhl wrote:
> > Hi everyone,
> >
> > I just sat down and build 100 kernels (2.6.16-rc4-mm2 kernels to be exact)
>
> What GCC version?

3.4.5

> 4.x still has the bug where it spews false warnings
> about things being used uninitialized.
>
> Lee
>


--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2006-02-26 21:14:53

by Grant Coady

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On Sun, 26 Feb 2006 17:21:17 +0100, Jesper Juhl <[email protected]> wrote:

>
>Hi everyone,
>
>I just sat down and build 100 kernels (2.6.16-rc4-mm2 kernels to be exact)
>
> 95 kernels were build with 'make randconfig'.
> 1 kernel was build with the config I normally use for my own box.
> 1 kernel was build from 'make defconfig'.
> 1 kernel was build from 'make allmodconfig'.
> 1 kernel was build from 'make allnoconfig'.
> 1 kernel was build from 'make allyesconfig'.
>
>That was an interresting experience.

Welcome to the club ;) I gave up make randconfig months ago as
there's simply too much noise in there... There are same errors
popping up for months now without resolution, and I lack experience
to fix most things I see -- asked akpm once but not grok Andrew's
response (months ago).

But is it summer here and I don't do much testing in hot weather.

Grant.

2006-02-26 21:46:57

by Nix

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On 26 Feb 2006, Lee Revell announced authoritatively:
> What GCC version? 4.x still has the bug where it spews false warnings
> about things being used uninitialized.

`4.x still has the bug where it cannot solve the Halting Problem'?

(i.e., there's a reason that warning uses the word *might*.)

--
`... follow the bouncing internment camps.' --- Peter da Silva

2006-02-26 21:49:03

by Jesper Juhl

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On 2/26/06, Nix <[email protected]> wrote:
> (i.e., there's a reason that warning uses the word *might*.)
>
The compiler says "might be used uninitialized" when it cannot
determine if a variable will be initialized before first use or not.


--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2006-02-26 21:53:42

by Lee Revell

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On Sun, 2006-02-26 at 22:49 +0100, Jesper Juhl wrote:
> On 2/26/06, Nix <[email protected]> wrote:
> > (i.e., there's a reason that warning uses the word *might*.)
> >
> The compiler says "might be used uninitialized" when it cannot
> determine if a variable will be initialized before first use or not.

Quoting the "silence gcc warning" thread:

"Really, this is a gcc bug. My version of the compiler:

gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)

Doesn't give this warning. And, since the loop has fixed parameters,
gcc should see not only that it's always executed, but that it could be
unrolled."

Lee

2006-02-26 21:56:28

by Jesper Juhl

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On 2/26/06, Lee Revell <[email protected]> wrote:
> On Sun, 2006-02-26 at 22:49 +0100, Jesper Juhl wrote:
> > On 2/26/06, Nix <[email protected]> wrote:
> > > (i.e., there's a reason that warning uses the word *might*.)
> > >
> > The compiler says "might be used uninitialized" when it cannot
> > determine if a variable will be initialized before first use or not.
>
> Quoting the "silence gcc warning" thread:
>
> "Really, this is a gcc bug. My version of the compiler:
>
> gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
>
> Doesn't give this warning. And, since the loop has fixed parameters,
> gcc should see not only that it's always executed, but that it could be
> unrolled."
>
Yeah so gcc is not perfect, but that still doesn't change that the
intention of the warning and the use of the word "might" is as I said
above.


--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2006-02-26 22:08:29

by Lee Revell

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On Sun, 2006-02-26 at 22:56 +0100, Jesper Juhl wrote:
> Yeah so gcc is not perfect, but that still doesn't change that the
> intention of the warning and the use of the word "might" is as I said
> above.

Not a very compelling case for changing the kernel rather than getting
GCC fixed.

Lee

2006-02-26 22:12:53

by Jesper Juhl

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On 2/26/06, Lee Revell <[email protected]> wrote:
> On Sun, 2006-02-26 at 22:56 +0100, Jesper Juhl wrote:
> > Yeah so gcc is not perfect, but that still doesn't change that the
> > intention of the warning and the use of the word "might" is as I said
> > above.
>
> Not a very compelling case for changing the kernel rather than getting
> GCC fixed.
>

I think we are misunderstanding eachother. Or rather, I seem to have
misread what Nix wrote.

I saw "(i.e., there's a reason that warning uses the word *might*.)"
and mistakenly read it as a question - "is there a reason that warning
uses the word *might*?".
I then proceeded to answer that question.
When I read your latest mail I then couldn't make sense of things any
longer and went back and read the previous mails again and realized my
mistake.

My bad, sorry.


--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2006-02-26 22:14:06

by Al Viro

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On Sun, Feb 26, 2006 at 09:46:32PM +0000, Nix wrote:
> On 26 Feb 2006, Lee Revell announced authoritatively:
> > What GCC version? 4.x still has the bug where it spews false warnings
> > about things being used uninitialized.
>
> `4.x still has the bug where it cannot solve the Halting Problem'?
>
> (i.e., there's a reason that warning uses the word *might*.)

The bug is in spewing tons of false positives, reducing S/N on that
warning to nearly useless level. Note that in this case actually
missing some would be more useful if what remains is less diluted
by crap.

2006-02-26 22:32:32

by Nix

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On Sun, 26 Feb 2006, Al Viro moaned:
> On Sun, Feb 26, 2006 at 09:46:32PM +0000, Nix wrote:
>> (i.e., there's a reason that warning uses the word *might*.)
>
> The bug is in spewing tons of false positives, reducing S/N on that
> warning to nearly useless level. Note that in this case actually
> missing some would be more useful if what remains is less diluted
> by crap.

I think this might be <http://gcc.gnu.org/PR5035>.

It's in the nature of this warning that improving its accuracy is often,
to quote rth in that bug, `distinctly non-trivial'. The (numerous) new
SSA optimizers in GCC 4.1 may well have fixed it: I'd be surprised if
they hadn't zapped a heap of FPs. I doubt it'll ever improve in 4.0.x,
because the magnitude of the changes required to do so is just so large.

There is ongoing argument on the GCC list between two camps: one that
proposes moving such warnings into the frontend, and says that the
increase in FPs is worth it given the increase in warning stability (the
warnings don't go away just because you change optimization level); the
other argues against this on the basis that a warning that gives lots
of FPs is mostly useless.

Feel free to chip in the next time this argument flares up :)

--
`... follow the bouncing internment camps.' --- Peter da Silva

2006-02-26 22:43:13

by Sam Ravnborg

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On Sun, Feb 26, 2006 at 05:21:17PM +0100, Jesper Juhl wrote:
>
> Hi everyone,
>
> I just sat down and build 100 kernels (2.6.16-rc4-mm2 kernels to be exact)
>
> 95 kernels were build with 'make randconfig'.
> 1 kernel was build with the config I normally use for my own box.
> 1 kernel was build from 'make defconfig'.
> 1 kernel was build from 'make allmodconfig'.
> 1 kernel was build from 'make allnoconfig'.
> 1 kernel was build from 'make allyesconfig'.
>
> That was an interresting experience.
>
> First of all not very many of the kernels actually build correctly and
> secondly, if I grep the build logs for warnings I'm swamped.
>
> Out of 100 kernels 82 failed to build - that's an 18% success rate people,
> not very impressive.
I would recommed to fix the obvious cases and leave it.
Better to concentrate on 'normal' configs. This includes
allmodconfig/allyesconfig/defconfig but it certainly does not include a
bunch of random configs. Real peoples config is much better for this.

Sam

2006-02-26 22:50:28

by Lee Revell

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On Sun, 2006-02-26 at 22:32 +0000, Nix wrote:
> On Sun, 26 Feb 2006, Al Viro moaned:
> > On Sun, Feb 26, 2006 at 09:46:32PM +0000, Nix wrote:
> >> (i.e., there's a reason that warning uses the word *might*.)
> >
> > The bug is in spewing tons of false positives, reducing S/N on that
> > warning to nearly useless level. Note that in this case actually
> > missing some would be more useful if what remains is less diluted
> > by crap.
>
> I think this might be <http://gcc.gnu.org/PR5035>.
>

Al posted a quite compelling analysis of this bug a while back that's
much better than anything in that bug report, of course I can't find it
right now.

Lee

2006-02-26 23:48:40

by Nigel Cunningham

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

Hi.

On Monday 27 February 2006 05:43, Jesper Juhl wrote:
> rand13.log-drivers/acpi/osl.c:249: error: `AmlCode' undeclared (first use
> in this function) rand13.log-drivers/acpi/osl.c:249: error: (Each
> undeclared identifier is reported only once
> rand13.log-drivers/acpi/osl.c:249: error: for each function it appears in.)
> rand13.log:make[2]: *** [drivers/acpi/osl.o] Error 1
> rand13.log:make[1]: *** [drivers/acpi] Error 2
> rand13.log:make: *** [drivers] Error 2

Ignoring this one will probably also help - it's for people who require a
fixed dsdt - they need to add an extra file that's generated manually after
they fix whatever problems they have with their acpi tables. If the file is
missing, it will cause this error.

Regards,

Nigel

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


Attachments:
(No filename) (0.98 kB)
(No filename) (189.00 B)
Download all attachments

2006-02-27 02:02:53

by Pavel Machek

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

Hi!

> rand63.log-drivers/built-in.o(.text+0x20ac6): In function `device_suspend':
> rand63.log-drivers/base/power/suspend.c:94: undefined reference to `fg_console'
> rand63.log-drivers/built-in.o(.text+0x20ace):drivers/base/power/suspend.c:94: undefined reference to `vc_cons'
> rand63.log:make: *** [.tmp_vmlinux1] Error 1

Rafael, this one is yours (and mine). We probably need #ifdef
CONFIG_VT or something like that around this code.
Pavel

--
Web maintainer for suspend.sf.net (http://www.sf.net/projects/suspend) wanted...

2006-02-27 12:55:59

by David Greaves

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

Grant Coady wrote:

>On Sun, 26 Feb 2006 17:21:17 +0100, Jesper Juhl <[email protected]> wrote:
>
>
>>Hi everyone,
>>
>>I just sat down and build 100 kernels (2.6.16-rc4-mm2 kernels to be exact)
>>
>> 95 kernels were build with 'make randconfig'.
>>
>>
>>That was an interresting experience.
>>
>>
>
>Welcome to the club ;) I gave up make randconfig months ago as
>there's simply too much noise in there... There are same errors
>popping up for months now without resolution, and I lack experience
>to fix most things I see -- asked akpm once but not grok Andrew's
>response (months ago).
>
>
How about introducing an 'overlay' config that is introduced after
randconfig runs?

That gives you the ability to, for example, always set

CONFIG_EMBEDDED=n

Then you can progressivley eliminate some known issues (which is not
what you're trying to find anyway).

David

--

2006-02-27 17:25:00

by Stephen Hemminger

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On Sun, 26 Feb 2006 23:12:51 +0100
"Jesper Juhl" <[email protected]> wrote:

> On 2/26/06, Lee Revell <[email protected]> wrote:
> > On Sun, 2006-02-26 at 22:56 +0100, Jesper Juhl wrote:
> > > Yeah so gcc is not perfect, but that still doesn't change that the
> > > intention of the warning and the use of the word "might" is as I said
> > > above.
> >
> > Not a very compelling case for changing the kernel rather than getting
> > GCC fixed.
> >
>
> I think we are misunderstanding eachother. Or rather, I seem to have
> misread what Nix wrote.
>
> I saw "(i.e., there's a reason that warning uses the word *might*.)"
> and mistakenly read it as a question - "is there a reason that warning
> uses the word *might*?".
> I then proceeded to answer that question.
> When I read your latest mail I then couldn't make sense of things any
> longer and went back and read the previous mails again and realized my
> mistake.
>
> My bad, sorry.

I went hunting for this in the GCC bugzilla, and one bug basically said.
"Yeah, we know the initialization checking code doesn't work right, but
fixing it is too hard"

2006-02-28 10:30:24

by Roman Zippel

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

Hi,

On Mon, 27 Feb 2006, David Greaves wrote:

> >Welcome to the club ;) I gave up make randconfig months ago as
> >there's simply too much noise in there... There are same errors
> >popping up for months now without resolution, and I lack experience
> >to fix most things I see -- asked akpm once but not grok Andrew's
> >response (months ago).
> >
> >
> How about introducing an 'overlay' config that is introduced after
> randconfig runs?
>
> That gives you the ability to, for example, always set
>
> CONFIG_EMBEDDED=n

That exists already, just put it into allrandom.config. :)

bye, Roman

2006-03-02 20:25:09

by Jesper Juhl

[permalink] [raw]
Subject: Re: Building 100 kernels; we suck at dependencies and drown in warnings

On 2/26/06, Sam Ravnborg <[email protected]> wrote:
> On Sun, Feb 26, 2006 at 05:21:17PM +0100, Jesper Juhl wrote:
> >
> > Hi everyone,
> >
> > I just sat down and build 100 kernels (2.6.16-rc4-mm2 kernels to be exact)
> >
> > 95 kernels were build with 'make randconfig'.
> > 1 kernel was build with the config I normally use for my own box.
> > 1 kernel was build from 'make defconfig'.
> > 1 kernel was build from 'make allmodconfig'.
> > 1 kernel was build from 'make allnoconfig'.
> > 1 kernel was build from 'make allyesconfig'.
> >
> > That was an interresting experience.
> >
> > First of all not very many of the kernels actually build correctly and
> > secondly, if I grep the build logs for warnings I'm swamped.
> >
> > Out of 100 kernels 82 failed to build - that's an 18% success rate people,
> > not very impressive.
> I would recommed to fix the obvious cases and leave it.
> Better to concentrate on 'normal' configs. This includes
> allmodconfig/allyesconfig/defconfig but it certainly does not include a
> bunch of random configs. Real peoples config is much better for this.
>
Thank you for your input.

I agree that "common configs" are the most important ones, but I also
feel that problems need to be fixed in general no matter how "corner
case" or "trivial" or "uncommon" they may be.

I ran an experiment, I reported the results. And from the comments in
this thread and what I've also recieved privately I think I achieved
my goal of getting more bugs fixed :)
I personally fixed some of the warnings.
Other people fixed other warnings and errors as a result of my post.
People got thinking about these things.

All in all I think that's a good result :-)


--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html