# git rev-parse -q --verify bc4e1a77b06519a01e7aed1125695598e27ddeb2^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/stable linux-2.6.27.y # git rev-parse -q --verify bc4e1a77b06519a01e7aed1125695598e27ddeb2^{commit} bc4e1a77b06519a01e7aed1125695598e27ddeb2 # git checkout -q -f -B kisskb bc4e1a77b06519a01e7aed1125695598e27ddeb2 # git clean -qxdf # < git log -1 # commit bc4e1a77b06519a01e7aed1125695598e27ddeb2 # Author: Willy Tarreau # Date: Sat Mar 17 14:03:53 2012 +0100 # # Linux 2.6.27.62 # # Signed-off-by: Willy Tarreau # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/i386-linux/bin/i386-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/i386-linux/bin/i386-linux-ld --version # < git log --format=%s --max-count=1 bc4e1a77b06519a01e7aed1125695598e27ddeb2 # < make -s -j 80 ARCH=i386 O=/kisskb/build/stable-27_i386-allmodconfig_i386-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/i386-linux/bin/i386-linux- allmodconfig /kisskb/src/scripts/kconfig/conf.c: In function 'conf_sym': /kisskb/src/scripts/kconfig/conf.c:158:6: warning: variable 'type' set but not used [-Wunused-but-set-variable] 158 | int type; | ^~~~ /kisskb/src/scripts/kconfig/conf.c: In function 'conf_choice': /kisskb/src/scripts/kconfig/conf.c:230:6: warning: variable 'type' set but not used [-Wunused-but-set-variable] 230 | int type; | ^~~~ In file included from scripts/kconfig/zconf.tab.c:2486: /kisskb/src/scripts/kconfig/confdata.c: In function 'conf_write': /kisskb/src/scripts/kconfig/confdata.c:427:19: warning: '%s' directive writing likely 7 or more bytes into a region of size between 1 and 128 [-Wformat-overflow=] 427 | sprintf(newname, "%s%s", dirname, basename); | ^~~~~~ /kisskb/src/scripts/kconfig/confdata.c:427:19: note: assuming directive output of 7 bytes /kisskb/src/scripts/kconfig/confdata.c:427:2: note: 'sprintf' output 1 or more bytes (assuming 135) into a destination of size 128 427 | sprintf(newname, "%s%s", dirname, basename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/scripts/kconfig/confdata.c:430:20: warning: '.tmpconfig.' directive writing 11 bytes into a region of size between 1 and 128 [-Wformat-overflow=] 430 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); | ^~~~~~~~~~~~~~~~~ /kisskb/src/scripts/kconfig/confdata.c:430:3: note: 'sprintf' output between 13 and 150 bytes into a destination of size 128 430 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # yes \n | make -s -j 80 ARCH=i386 O=/kisskb/build/stable-27_i386-allmodconfig_i386-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/i386-linux/bin/i386-linux- oldconfig yes: standard output: Broken pipe # make -s -j 80 ARCH=i386 O=/kisskb/build/stable-27_i386-allmodconfig_i386-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/i386-linux/bin/i386-linux- GEN /kisskb/build/stable-27_i386-allmodconfig_i386-gcc4.9/Makefile GEN /kisskb/build/stable-27_i386-allmodconfig_i386-gcc4.9/Makefile SYMLINK include/asm -> include/asm-x86 Using /kisskb/src as source for kernel In file included from scripts/genksyms/lex.l:102: scripts/genksyms/keywords.gperf:45:26: warning: 'is_reserved_hash' is static but used in inline function 'is_reserved_word' which is not static UPD include/linux/compile.h /kisskb/src/arch/x86/kernel/head_32.S: Assembler messages: /kisskb/src/arch/x86/kernel/head_32.S:622: Warning: ignoring fill value in section `.bss.page_aligned' /kisskb/src/arch/x86/kernel/head_32.S:627: Warning: ignoring fill value in section `.bss.page_aligned' /kisskb/src/arch/x86/kernel/pvclock.c: In function 'scale_delta': /kisskb/src/arch/x86/kernel/pvclock.c:63:7: warning: "__x86_64__" is not defined [-Wundef] #elif __x86_64__ ^ Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /kisskb/src/kernel/timeconst.pl line 373. make[2]: *** [/kisskb/src/kernel/Makefile:119: kernel/timeconst.h] Error 255 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/kvm_host.h:21:0, from /kisskb/src/arch/x86/kvm/svm.c:16: /kisskb/src/include/linux/kvm.h:240:9: error: duplicate member 'padding' __u64 padding; ^ make[2]: *** [/kisskb/src/scripts/Makefile.build:213: arch/x86/kvm/svm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/kvm_host.h:21:0, from /kisskb/src/arch/x86/kvm/irq.h:27, from /kisskb/src/arch/x86/kvm/vmx.c:18: /kisskb/src/include/linux/kvm.h:240:9: error: duplicate member 'padding' __u64 padding; ^ In file included from /kisskb/src/include/linux/kvm_host.h:21:0, from /kisskb/src/arch/x86/kvm/../../../virt/kvm/ioapic.c:29: /kisskb/src/include/linux/kvm.h:240:9: error: duplicate member 'padding' __u64 padding; ^ In file included from /kisskb/src/include/linux/kvm_host.h:21:0, from /kisskb/src/arch/x86/kvm/../../../virt/kvm/kvm_main.c:20: /kisskb/src/include/linux/kvm.h:240:9: error: duplicate member 'padding' __u64 padding; ^ make[2]: *** [/kisskb/src/scripts/Makefile.build:213: arch/x86/kvm/vmx.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:213: arch/x86/kvm/../../../virt/kvm/ioapic.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:213: arch/x86/kvm/../../../virt/kvm/kvm_main.o] Error 1 make[1]: *** [/kisskb/src/Makefile:864: arch/x86/kvm] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/atm/fore200e.c: In function 'fore200e_pca_prom_read': /kisskb/src/drivers/atm/fore200e.c:94:59: warning: operation on 'cmdq->head' may be undefined [-Wsequence-point] #define FORE200E_NEXT_ENTRY(index, modulo) (index = ++(index) % (modulo)) ^ /kisskb/src/drivers/atm/fore200e.c:613:5: note: in expansion of macro 'FORE200E_NEXT_ENTRY' FORE200E_NEXT_ENTRY(cmdq->head, QUEUE_SIZE_CMD); ^ /kisskb/src/drivers/atm/fore200e.c: In function 'fore200e_tx_irq': /kisskb/src/drivers/atm/fore200e.c:94:59: warning: operation on 'txq->tail' may be undefined [-Wsequence-point] #define FORE200E_NEXT_ENTRY(index, modulo) (index = ++(index) % (modulo)) ^ /kisskb/src/drivers/atm/fore200e.c:1003:2: note: in expansion of macro 'FORE200E_NEXT_ENTRY' FORE200E_NEXT_ENTRY(txq->tail, QUEUE_SIZE_TX); ^ /kisskb/src/drivers/atm/fore200e.c: In function 'fore200e_supply': /kisskb/src/drivers/atm/fore200e.c:94:59: warning: operation on 'bsq->head' may be undefined [-Wsequence-point] #define FORE200E_NEXT_ENTRY(index, modulo) (index = ++(index) % (modulo)) ^ /kisskb/src/drivers/atm/fore200e.c:1095:3: note: in expansion of macro 'FORE200E_NEXT_ENTRY' FORE200E_NEXT_ENTRY(bsq->head, QUEUE_SIZE_BS); ^ /kisskb/src/drivers/atm/fore200e.c: In function 'fore200e_rx_irq': /kisskb/src/drivers/atm/fore200e.c:94:59: warning: operation on 'rxq->head' may be undefined [-Wsequence-point] #define FORE200E_NEXT_ENTRY(index, modulo) (index = ++(index) % (modulo)) ^ /kisskb/src/drivers/atm/fore200e.c:1276:2: note: in expansion of macro 'FORE200E_NEXT_ENTRY' FORE200E_NEXT_ENTRY(rxq->head, QUEUE_SIZE_RX); ^ /kisskb/src/drivers/atm/fore200e.c: In function 'fore200e_activate_vcin': /kisskb/src/drivers/atm/fore200e.c:94:59: warning: operation on 'cmdq->head' may be undefined [-Wsequence-point] #define FORE200E_NEXT_ENTRY(index, modulo) (index = ++(index) % (modulo)) ^ /kisskb/src/drivers/atm/fore200e.c:1384:5: note: in expansion of macro 'FORE200E_NEXT_ENTRY' FORE200E_NEXT_ENTRY(cmdq->head, QUEUE_SIZE_CMD); ^ /kisskb/src/drivers/atm/fore200e.c: In function 'fore200e_send': /kisskb/src/drivers/atm/fore200e.c:94:59: warning: operation on 'txq->head' may be undefined [-Wsequence-point] #define FORE200E_NEXT_ENTRY(index, modulo) (index = ++(index) % (modulo)) ^ /kisskb/src/drivers/atm/fore200e.c:1745:5: note: in expansion of macro 'FORE200E_NEXT_ENTRY' FORE200E_NEXT_ENTRY(txq->head, QUEUE_SIZE_TX); ^ /kisskb/src/drivers/atm/fore200e.c: In function 'fore200e_getstats': /kisskb/src/drivers/atm/fore200e.c:94:59: warning: operation on 'cmdq->head' may be undefined [-Wsequence-point] #define FORE200E_NEXT_ENTRY(index, modulo) (index = ++(index) % (modulo)) ^ /kisskb/src/drivers/atm/fore200e.c:1818:5: note: in expansion of macro 'FORE200E_NEXT_ENTRY' FORE200E_NEXT_ENTRY(cmdq->head, QUEUE_SIZE_CMD); ^ /kisskb/src/drivers/atm/fore200e.c: In function 'fore200e_set_oc3': /kisskb/src/drivers/atm/fore200e.c:94:59: warning: operation on 'cmdq->head' may be undefined [-Wsequence-point] #define FORE200E_NEXT_ENTRY(index, modulo) (index = ++(index) % (modulo)) ^ /kisskb/src/drivers/atm/fore200e.c:1919:5: note: in expansion of macro 'FORE200E_NEXT_ENTRY' FORE200E_NEXT_ENTRY(cmdq->head, QUEUE_SIZE_CMD); ^ /kisskb/src/sound/soc/soc-dapm.c:1037:1: warning: 'snd_soc_dapm_connect_input' is deprecated (declared at /kisskb/src/sound/soc/soc-dapm.c:1032) [-Wdeprecated-declarations] EXPORT_SYMBOL_GPL(snd_soc_dapm_connect_input); ^ In file included from /kisskb/src/sound/soc/soc-dapm.c:33:0: /kisskb/src/include/linux/module.h:195:22: warning: 'snd_soc_dapm_connect_input' is deprecated (declared at /kisskb/src/sound/soc/soc-dapm.c:1032) [-Wdeprecated-declarations] static const struct kernel_symbol __ksymtab_##sym \ ^ /kisskb/src/include/linux/module.h:204:2: note: in expansion of macro '__EXPORT_SYMBOL' __EXPORT_SYMBOL(sym, "_gpl") ^ /kisskb/src/sound/soc/soc-dapm.c:1037:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL' EXPORT_SYMBOL_GPL(snd_soc_dapm_connect_input); ^ /kisskb/src/crypto/aes_generic.c: In function 'crypto_aes_expand_key': /kisskb/src/crypto/aes_generic.c:223:27: warning: iteration 6u invokes undefined behavior [-Waggressive-loop-optimizations] ctx->key_enc[8 * i + 12] = t; \ ^ /kisskb/src/crypto/aes_generic.c:283:4: note: in expansion of macro 'loop8' loop8(i); ^ /kisskb/src/crypto/aes_generic.c:282:3: note: containing loop for (i = 0; i < 7; ++i) ^ /kisskb/src/drivers/atm/ambassador.c: In function 'amb_probe': /kisskb/src/drivers/atm/ambassador.c:1975:3: warning: 'fw' may be used uninitialized in this function [-Wmaybe-uninitialized] release_firmware(fw); ^ /kisskb/src/drivers/atm/ambassador.c:1933:26: note: 'fw' was declared here const struct firmware *fw; ^ In file included from /kisskb/src/drivers/ata/libata-core.c:62:0: /kisskb/src/drivers/ata/libata-core.c: In function 'ata_dev_configure': /kisskb/src/include/linux/libata.h:1179:2: warning: 'native_sectors' may be used uninitialized in this function [-Wmaybe-uninitialized] printk("%sata%u.%02u: "fmt, lv, (dev)->link->ap->print_id, \ ^ /kisskb/src/drivers/ata/libata-core.c:1365:6: note: 'native_sectors' was declared here u64 native_sectors; ^ In file included from /kisskb/src/fs/ext4/balloc.c:23:0: /kisskb/src/fs/ext4/mballoc.h:268:31: warning: 'proc_root_ext4' defined but not used [-Wunused-variable] static struct proc_dir_entry *proc_root_ext4; ^ make[1]: *** [/kisskb/src/Makefile:864: kernel] Error 2 /kisskb/src/drivers/atm/he.c: In function 'he_service_rbrq': /kisskb/src/drivers/atm/he.c:1842:21: warning: operation on 'he_dev->rbrq_head' may be undefined [-Wsequence-point] he_dev->rbrq_head = (struct he_rbrq *) ^ /kisskb/src/drivers/atm/he.c: In function 'he_service_tbrq': /kisskb/src/drivers/atm/he.c:1925:21: warning: operation on 'he_dev->tbrq_head' may be undefined [-Wsequence-point] he_dev->tbrq_head = (struct he_tbrq *) ^ /kisskb/src/fs/ecryptfs/keystore.c: In function 'ecryptfs_parse_packet_set': /kisskb/src/fs/ecryptfs/keystore.c:457:7: warning: 'netlink_message_length' may be used uninitialized in this function [-Wmaybe-uninitialized] rc = ecryptfs_send_message(ecryptfs_transport, netlink_message, ^ /kisskb/src/fs/ecryptfs/keystore.c:442:9: note: 'netlink_message_length' was declared here size_t netlink_message_length; ^ /kisskb/src/fs/ecryptfs/keystore.c: In function 'ecryptfs_generate_key_packet_set': /kisskb/src/fs/ecryptfs/keystore.c:1360:7: warning: 'netlink_payload_length' may be used uninitialized in this function [-Wmaybe-uninitialized] rc = ecryptfs_send_message(ecryptfs_transport, netlink_payload, ^ /kisskb/src/fs/ecryptfs/keystore.c:1348:9: note: 'netlink_payload_length' was declared here size_t netlink_payload_length; ^ /kisskb/src/crypto/tcrypt.c: In function 'test_hash_speed.constprop': /kisskb/src/crypto/tcrypt.c:1123:1: warning: the frame size of 1092 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/fs/ext4/namei.c: In function 'ext4_lookup': /kisskb/src/fs/ext4/namei.c:1062:7: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] ino); ^ /kisskb/src/fs/ext4/super.c: In function 'ext4_fill_super': /kisskb/src/fs/ext4/super.c:2233:10: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'ext4_group_t' [-Wformat=] EXT4_BLOCKS_PER_GROUP(sb)); ^ In file included from include2/asm/bug.h:38:0, from /kisskb/src/include/linux/kernel.h:20, from /kisskb/src/drivers/ata/ahci.c:35: /kisskb/src/drivers/ata/ahci.c: In function 'ahci_init_one': /kisskb/src/drivers/ata/ahci.c:2559:24: warning: comparison between 'enum ' and 'enum ' [-Wenum-compare] WARN_ON(ATA_MAX_QUEUE > AHCI_MAX_CMDS); ^ /kisskb/src/include/asm-generic/bug.h:49:25: note: in definition of macro 'WARN_ON' int __ret_warn_on = !!(condition); \ ^ /kisskb/src/drivers/acpi/scan.c:1163:1: warning: 'acpi_is_child_device' defined but not used [-Wunused-function] acpi_is_child_device(struct acpi_device *device, ^ /kisskb/src/drivers/ata/sata_via.c: In function 'svia_init_one': /kisskb/src/drivers/ata/sata_via.c:466:2: warning: 'host' may be used uninitialized in this function [-Wmaybe-uninitialized] return ata_host_activate(host, pdev->irq, ata_sff_interrupt, ^ /kisskb/src/sound/isa/gus/gus_mem.c: In function 'snd_gf1_mem_share': /kisskb/src/sound/isa/gus/gus_mem.c:130:48: warning: argument to 'sizeof' in '__builtin_memcmp' call is the same expression as the first source; did you mean to dereference it? [-Wsizeof-pointer-memaccess] if (!memcmp(share_id, block->share_id, sizeof(share_id))) ^ /kisskb/src/drivers/bluetooth/hci_bcsp.c: In function 'bcsp_prepare_pkt': /kisskb/src/drivers/bluetooth/hci_bcsp.c:252:20: warning: operation on 'bcsp->msgq_txseq' may be undefined [-Wsequence-point] bcsp->msgq_txseq = ++(bcsp->msgq_txseq) & 0x07; ^ In file included from /kisskb/src/fs/omfs/file.c:12:0: /kisskb/src/fs/omfs/file.c: In function 'omfs_get_block': /kisskb/src/fs/omfs/omfs.h:31:2: warning: 'new_block' may be used uninitialized in this function [-Wmaybe-uninitialized] return block << sbi->s_block_shift; ^ /kisskb/src/fs/omfs/file.c:240:6: note: 'new_block' was declared here u64 new_block; ^ /kisskb/src/drivers/block/DAC960.c: In function 'DAC960_V2_ProcessCompletedCommand': /kisskb/src/drivers/block/DAC960.c:5087:30: warning: comparison between 'DAC960_V2_IOCTL_Opcode_T' and 'enum ' [-Wenum-compare] else if (CommandOpcode == DAC960_V2_SCSI_10_Passthru) ^ In file included from /kisskb/src/fs/reiserfs/do_balan.c:20:0: /kisskb/src/fs/reiserfs/do_balan.c: In function 'balance_leaf': /kisskb/src/fs/reiserfs/do_balan.c:1299:18: warning: operation on 'aux_ih' may be undefined [-Wsequence-point] (aux_ih = ^ /kisskb/src/include/linux/reiserfs_fs.h:638:66: note: in definition of macro 'is_direntry_le_key' #define is_direntry_le_key(version,key) (le_key_k_type (version, key) == TYPE_DIRENTRY) ^ /kisskb/src/fs/reiserfs/do_balan.c:1298:10: note: in expansion of macro 'is_direntry_le_ih' if (is_direntry_le_ih ^ In file included from /kisskb/src/include/linux/bio.h:30:0, from /kisskb/src/include/linux/blkdev.h:16, from /kisskb/src/drivers/block/DAC960.c:27: /kisskb/src/drivers/block/DAC960.c: In function 'DAC960_V1_EnableMemoryMailboxInterface': include2/asm/io.h:29:3: warning: 'CommandMailbox.Bytes[12]' may be used uninitialized in this function [-Wmaybe-uninitialized] { asm volatile("mov" size " %0,%1": :reg (val), \ ^ /kisskb/src/drivers/block/DAC960.c:1166:30: note: 'CommandMailbox.Bytes[12]' was declared here DAC960_V1_CommandMailbox_T CommandMailbox; ^ /kisskb/src/fs/ufs/inode.c: In function 'ufs2_update_inode': /kisskb/src/fs/ufs/inode.c:854:38: warning: iteration 12u invokes undefined behavior [-Waggressive-loop-optimizations] ufs_inode->ui_u2.ui_addr.ui_db[i] = ufsi->i_u1.u2_i_data[i]; ^ /kisskb/src/fs/ufs/inode.c:853:3: note: containing loop for (i = 0; i < (UFS_NDADDR + UFS_NINDIR); i++) ^ /kisskb/src/fs/ufs/inode.c: In function 'ufs1_update_inode': /kisskb/src/fs/ufs/inode.c:813:38: warning: iteration 12u invokes undefined behavior [-Waggressive-loop-optimizations] ufs_inode->ui_u2.ui_addr.ui_db[i] = ufsi->i_u1.i_data[i]; ^ /kisskb/src/fs/ufs/inode.c:812:3: note: containing loop for (i = 0; i < (UFS_NDADDR + UFS_NINDIR); i++) ^ /kisskb/src/fs/ufs/inode.c: In function 'ufs2_read_inode': /kisskb/src/fs/ufs/inode.c:709:36: warning: iteration 12u invokes undefined behavior [-Waggressive-loop-optimizations] ufs2_inode->ui_u2.ui_addr.ui_db[i]; ^ /kisskb/src/fs/ufs/inode.c:707:3: note: containing loop for (i = 0; i < (UFS_NDADDR + UFS_NINDIR); i++) ^ /kisskb/src/fs/ufs/inode.c: In function 'ufs1_read_inode': /kisskb/src/fs/ufs/inode.c:659:57: warning: iteration 12u invokes undefined behavior [-Waggressive-loop-optimizations] ufsi->i_u1.i_data[i] = ufs_inode->ui_u2.ui_addr.ui_db[i]; ^ /kisskb/src/fs/ufs/inode.c:658:3: note: containing loop for (i = 0; i < (UFS_NDADDR + UFS_NINDIR); i++) ^ In file included from /kisskb/src/sound/pci/pcxhr/pcxhr.c:33:0: /kisskb/src/sound/pci/pcxhr/pcxhr.c: In function 'pcxhr_set_clock': /kisskb/src/include/sound/core.h:361:2: warning: 'realfreq' may be used uninitialized in this function [-Wmaybe-uninitialized] snd_verbose_printk(__FILE__, __LINE__, fmt ,##args) ^ /kisskb/src/sound/pci/pcxhr/pcxhr.c:221:20: note: 'realfreq' was declared here unsigned int val, realfreq, speed; ^ /kisskb/src/sound/pci/pcxhr/pcxhr.c:256:6: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] err = pcxhr_write_io_num_reg_cont(mgr, PCXHR_FREQ_REG_MASK, val, &changed); ^ In file included from /kisskb/src/fs/reiserfs/lbalance.c:8:0: /kisskb/src/fs/reiserfs/lbalance.c: In function 'leaf_item_bottle': /kisskb/src/fs/reiserfs/lbalance.c:392:28: warning: operation on 'ih' may be undefined [-Wsequence-point] if (is_direntry_le_ih(ih = B_N_PITEM_HEAD(src, item_num))) ^ /kisskb/src/include/linux/reiserfs_fs.h:638:66: note: in definition of macro 'is_direntry_le_key' #define is_direntry_le_key(version,key) (le_key_k_type (version, key) == TYPE_DIRENTRY) ^ /kisskb/src/fs/reiserfs/lbalance.c:392:7: note: in expansion of macro 'is_direntry_le_ih' if (is_direntry_le_ih(ih = B_N_PITEM_HEAD(src, item_num))) ^ /kisskb/src/fs/reiserfs/lbalance.c:420:28: warning: operation on 'ih' may be undefined [-Wsequence-point] if (is_direntry_le_ih(ih = B_N_PITEM_HEAD(src, item_num))) ^ /kisskb/src/include/linux/reiserfs_fs.h:638:66: note: in definition of macro 'is_direntry_le_key' #define is_direntry_le_key(version,key) (le_key_k_type (version, key) == TYPE_DIRENTRY) ^ /kisskb/src/fs/reiserfs/lbalance.c:420:7: note: in expansion of macro 'is_direntry_le_ih' if (is_direntry_le_ih(ih = B_N_PITEM_HEAD(src, item_num))) ^ /kisskb/src/fs/reiserfs/lbalance.c: In function 'leaf_delete_items': /kisskb/src/fs/reiserfs/lbalance.c:778:12: warning: operation on 'ih' may be undefined [-Wsequence-point] (ih = B_N_PITEM_HEAD(bh, B_NR_ITEMS(bh) - 1))) ^ /kisskb/src/include/linux/reiserfs_fs.h:638:66: note: in definition of macro 'is_direntry_le_key' #define is_direntry_le_key(version,key) (le_key_k_type (version, key) == TYPE_DIRENTRY) ^ /kisskb/src/fs/reiserfs/lbalance.c:777:8: note: in expansion of macro 'is_direntry_le_ih' if (is_direntry_le_ih ^ /kisskb/src/sound/oss/pss.c: In function 'configure_nonsound_components': /kisskb/src/sound/oss/pss.c:676:2: warning: 'check_region' is deprecated (declared at /kisskb/src/include/linux/ioport.h:145) [-Wdeprecated-declarations] } else if (check_region(pss_cdrom_port, 2)) { ^ /kisskb/src/sound/pci/pcxhr/pcxhr_mixer.c: In function 'pcxhr_iec958_get': /kisskb/src/sound/pci/pcxhr/pcxhr_mixer.c:813:36: warning: 'aes_bits' may be used uninitialized in this function [-Wmaybe-uninitialized] ucontrol->value.iec958.status[i] = aes_bits; ^ /kisskb/src/drivers/gpio/max7301.c: In function 'max7301_probe': /kisskb/src/drivers/gpio/max7301.c:282:2: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result] gpiochip_remove(&ts->chip); ^ /kisskb/src/fs/xfs/xfs_rtalloc.c: In function 'xfs_growfs_rt': /kisskb/src/fs/xfs/xfs_rtalloc.c:2055:3: warning: 'tp' may be used uninitialized in this function [-Wmaybe-uninitialized] xfs_trans_cancel(tp, cancelflags); ^ In file included from /kisskb/src/include/linux/notifier.h:13:0, from /kisskb/src/include/linux/memory_hotplug.h:6, from /kisskb/src/include/linux/mmzone.h:560, from /kisskb/src/include/linux/gfp.h:4, from /kisskb/src/include/linux/slab.h:12, from /kisskb/src/include/linux/percpu.h:5, from /kisskb/src/include/linux/rcupdate.h:39, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/dcache.h:6, from /kisskb/src/include/linux/fs.h:286, from /kisskb/src/drivers/hid/hidraw.c:22: /kisskb/src/drivers/hid/hidraw.c: In function 'hidraw_release': /kisskb/src/drivers/hid/hidraw.c:201:13: warning: passing argument 1 of 'mutex_lock_nested' from incompatible pointer type mutex_lock(&minors_lock); ^ /kisskb/src/include/linux/mutex.h:131:44: note: in definition of macro 'mutex_lock' #define mutex_lock(lock) mutex_lock_nested(lock, 0) ^ /kisskb/src/include/linux/mutex.h:125:13: note: expected 'struct mutex *' but argument is of type 'struct spinlock_t *' extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass); ^ /kisskb/src/drivers/hid/hidraw.c:220:15: warning: passing argument 1 of 'mutex_unlock' from incompatible pointer type mutex_unlock(&minors_lock); ^ In file included from /kisskb/src/include/linux/notifier.h:13:0, from /kisskb/src/include/linux/memory_hotplug.h:6, from /kisskb/src/include/linux/mmzone.h:560, from /kisskb/src/include/linux/gfp.h:4, from /kisskb/src/include/linux/slab.h:12, from /kisskb/src/include/linux/percpu.h:5, from /kisskb/src/include/linux/rcupdate.h:39, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/dcache.h:6, from /kisskb/src/include/linux/fs.h:286, from /kisskb/src/drivers/hid/hidraw.c:22: /kisskb/src/include/linux/mutex.h:149:13: note: expected 'struct mutex *' but argument is of type 'struct spinlock_t *' extern void mutex_unlock(struct mutex *lock); ^ /kisskb/src/fs/xfs/xfs_dir2_block.c: In function 'xfs_dir2_sf_to_block': /kisskb/src/fs/xfs/xfs_dir2_block.c:1150:26: warning: array subscript is above array bounds [-Warray-bounds] dep->name[0] = dep->name[1] = '.'; ^ In file included from /kisskb/src/include/linux/stddef.h:4:0, from /kisskb/src/include/linux/posix_types.h:4, from /kisskb/src/include/linux/types.h:11, from /kisskb/src/fs/xfs/linux-2.6/xfs_linux.h:21, from /kisskb/src/fs/xfs/xfs.h:44, from /kisskb/src/fs/xfs/xfs_dir2_leaf.c:18: /kisskb/src/fs/xfs/xfs_dir2_leaf.c: In function 'xfs_dir2_leaf_check.isra.10': /kisskb/src/fs/xfs/xfs_dir2_leaf.c:584:33: warning: array subscript is above array bounds [-Warray-bounds] be32_to_cpu(leaf->ents[i + 1].hashval)); ^ /kisskb/src/include/linux/compiler.h:61:41: note: in definition of macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/fs/xfs/xfs_dir2_leaf.c:583:4: note: in expansion of macro 'ASSERT' ASSERT(be32_to_cpu(leaf->ents[i].hashval) <= ^ /kisskb/src/include/linux/byteorder/little_endian.h:39:26: note: in expansion of macro '__swab32' #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) ^ /kisskb/src/include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__be32_to_cpu' #define be32_to_cpu __be32_to_cpu ^ /kisskb/src/fs/xfs/xfs_dir2_leaf.c:584:11: note: in expansion of macro 'be32_to_cpu' be32_to_cpu(leaf->ents[i + 1].hashval)); ^ In file included from /kisskb/src/include/linux/stddef.h:4:0, from /kisskb/src/include/linux/posix_types.h:4, from /kisskb/src/include/linux/types.h:11, from /kisskb/src/fs/xfs/linux-2.6/xfs_linux.h:21, from /kisskb/src/fs/xfs/xfs.h:44, from /kisskb/src/fs/xfs/xfs_dir2_node.c:18: /kisskb/src/fs/xfs/xfs_dir2_node.c: In function 'xfs_dir2_leafn_check.isra.10': /kisskb/src/fs/xfs/xfs_dir2_node.c:360:33: warning: array subscript is above array bounds [-Warray-bounds] be32_to_cpu(leaf->ents[i + 1].hashval)); ^ /kisskb/src/include/linux/compiler.h:61:41: note: in definition of macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/fs/xfs/xfs_dir2_node.c:359:4: note: in expansion of macro 'ASSERT' ASSERT(be32_to_cpu(leaf->ents[i].hashval) <= ^ /kisskb/src/include/linux/byteorder/little_endian.h:39:26: note: in expansion of macro '__swab32' #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) ^ /kisskb/src/include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__be32_to_cpu' #define be32_to_cpu __be32_to_cpu ^ /kisskb/src/fs/xfs/xfs_dir2_node.c:360:11: note: in expansion of macro 'be32_to_cpu' be32_to_cpu(leaf->ents[i + 1].hashval)); ^ /kisskb/src/fs/xfs/xfs_dir2_leaf.c: In function 'xfs_dir2_leaf_compact': /kisskb/src/fs/xfs/xfs_dir2_leaf.c:622:31: warning: array subscript is above array bounds [-Warray-bounds] leaf->ents[to] = leaf->ents[from]; ^ In file included from /kisskb/src/include/drm/drmP.h:87:0, from /kisskb/src/drivers/gpu/drm/i915/i915_drv.c:30: /kisskb/src/drivers/gpu/drm/i915/i915_drv.c: In function 'i915_resume': /kisskb/src/include/drm/drm_os_linux.h:24:39: warning: iteration 9u invokes undefined behavior [-Waggressive-loop-optimizations] #define DRM_WRITE32(map, offset, val) writel(val, ((void __iomem *)(map)->handle) + (offset)) ^ /kisskb/src/drivers/gpu/drm/i915/i915_drv.h:255:33: note: in expansion of macro 'DRM_WRITE32' #define I915_WRITE(reg,val) DRM_WRITE32(dev_priv->mmio_map, (reg), (val)) ^ /kisskb/src/drivers/gpu/drm/i915/i915_drv.c:528:3: note: in expansion of macro 'I915_WRITE' I915_WRITE(SWF10 + (i << 2), dev_priv->saveSWF1[i+7]); ^ /kisskb/src/drivers/gpu/drm/i915/i915_drv.c:526:2: note: containing loop for (i = 0; i < 16; i++) { ^ /kisskb/src/drivers/isdn/icn/icn.c: In function 'icn_sendbuf': /kisskb/src/drivers/isdn/icn/icn.c:720:4: warning: #warning TODO test headroom or use skb->nb to flag ACK [-Wcpp] #warning TODO test headroom or use skb->nb to flag ACK ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'connect_b3_req': /kisskb/src/drivers/isdn/hardware/eicon/message.c:2685:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] len = (byte)(&(((T30_INFO *) 0)->universal_6)); ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:2747:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] len = (byte)(((T30_INFO *) 0)->station_id + 20); ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:2781:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] len = (byte)(&(((T30_INFO *) 0)->universal_6)); ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'connect_b3_res': /kisskb/src/drivers/isdn/hardware/eicon/message.c:2884:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] len = ((byte)(((T30_INFO *) 0)->station_id + 20)); ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'manufacturer_res': /kisskb/src/drivers/isdn/hardware/eicon/message.c:3783:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] len = ((byte)(((T30_INFO *) 0)->station_id + 20)); ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'nl_ind': /kisskb/src/drivers/isdn/hardware/eicon/message.c:6823:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i = ((word)(((T30_INFO *) 0)->station_id + 20)) + ((T30_INFO *)plci->NL.RBuffer->P)->head_line_len; ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'add_b23': /kisskb/src/drivers/isdn/hardware/eicon/message.c:8451:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pos = ((byte)(((T30_INFO *) 0)->station_id + 20)); ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:8503:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] len = ((byte)(((T30_INFO *) 0)->station_id + 20)); ^ In file included from /kisskb/src/drivers/mca/mca-legacy.c:31:0: /kisskb/src/include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" [-Wcpp] #warning "MCA legacy - please move your driver to the new sysfs api" ^ In file included from /kisskb/src/drivers/mca/mca-legacy.c:31:0: /kisskb/src/include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" [-Wcpp] #warning "MCA legacy - please move your driver to the new sysfs api" ^ /kisskb/src/drivers/isdn/mISDN/l1oip_core.c: In function 'l1oip_socket_thread': /kisskb/src/drivers/isdn/mISDN/l1oip_core.c:775:1: warning: the frame size of 1668 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/infiniband/hw/cxgb3/iwch_qp.c: In function 'iwch_post_zb_read': /kisskb/src/drivers/infiniband/hw/cxgb3/iwch_qp.c:748:20: warning: array subscript is above array bounds [-Warray-bounds] wqe->read.reserved[2] = 0; ^ /kisskb/src/drivers/isdn/sc/init.c: In function 'identify_board': /kisskb/src/drivers/isdn/sc/init.c:485:14: warning: passing argument 1 of 'readl' makes pointer from integer without a cast sig = readl(rambase + SIG_OFFSET); ^ In file included from /kisskb/src/drivers/isdn/sc/includes.h:8:0, from /kisskb/src/drivers/isdn/sc/init.c:11: include2/asm/io.h:34:17: note: expected 'const volatile void *' but argument is of type 'long unsigned int' build_mmio_read(readl, "l", unsigned int, "=r", :"memory") ^ include2/asm/io.h:23:20: note: in definition of macro 'build_mmio_read' static inline type name(const volatile void __iomem *addr) \ ^ /kisskb/src/drivers/isdn/sc/init.c:495:14: warning: passing argument 1 of 'readl' makes pointer from integer without a cast sig = readl(rambase + SIG_OFFSET); ^ In file included from /kisskb/src/drivers/isdn/sc/includes.h:8:0, from /kisskb/src/drivers/isdn/sc/init.c:11: include2/asm/io.h:34:17: note: expected 'const volatile void *' but argument is of type 'long unsigned int' build_mmio_read(readl, "l", unsigned int, "=r", :"memory") ^ include2/asm/io.h:23:20: note: in definition of macro 'build_mmio_read' static inline type name(const volatile void __iomem *addr) \ ^ /kisskb/src/drivers/isdn/sc/init.c:505:14: warning: passing argument 1 of 'readl' makes pointer from integer without a cast sig = readl(rambase + SIG_OFFSET); ^ In file included from /kisskb/src/drivers/isdn/sc/includes.h:8:0, from /kisskb/src/drivers/isdn/sc/init.c:11: include2/asm/io.h:34:17: note: expected 'const volatile void *' but argument is of type 'long unsigned int' build_mmio_read(readl, "l", unsigned int, "=r", :"memory") ^ include2/asm/io.h:23:20: note: in definition of macro 'build_mmio_read' static inline type name(const volatile void __iomem *addr) \ ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:8401:46: warning: array subscript is above array bounds [-Warray-bounds] ((T30_INFO *)&nlc[1])->station_id[20 + pos++] = ' '; ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:8402:46: warning: array subscript is above array bounds [-Warray-bounds] ((T30_INFO *)&nlc[1])->station_id[20 + pos++] = ' '; ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:8409:50: warning: array subscript is above array bounds [-Warray-bounds] ((T30_INFO *)&nlc[1])->station_id[20 + pos++] = ((byte *)b3_config_parms[2].info)[1+i]; ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:8410:48: warning: array subscript is above array bounds [-Warray-bounds] ((T30_INFO *)&nlc[1])->station_id[20 + pos++] = ' '; ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:8411:48: warning: array subscript is above array bounds [-Warray-bounds] ((T30_INFO *)&nlc[1])->station_id[20 + pos++] = ' '; ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c:8422:44: warning: array subscript is above array bounds [-Warray-bounds] ((T30_INFO *)&nlc[1])->station_id[20 + pos++] = ((byte *)b3_config_parms[3].info)[1+i]; ^ /kisskb/src/drivers/mtd/chips/cfi_cmdset_0020.c: In function 'do_write_buffer': /kisskb/src/drivers/mtd/chips/cfi_cmdset_0020.c:606:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/infiniband/hw/amso1100/c2_vq.c: In function 'vq_req_alloc': /kisskb/src/drivers/infiniband/hw/amso1100/c2_vq.c:110:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] r->reply_msg = (u64) NULL; ^ /kisskb/src/drivers/infiniband/hw/amso1100/c2_vq.c: In function 'vq_req_free': /kisskb/src/drivers/infiniband/hw/amso1100/c2_vq.c:126:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] r->reply_msg = (u64) NULL; ^ /kisskb/src/drivers/infiniband/hw/amso1100/c2_vq.c: In function 'vq_req_put': /kisskb/src/drivers/infiniband/hw/amso1100/c2_vq.c:154:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (r->reply_msg != (u64) NULL) ^ /kisskb/src/drivers/media/dvb/dvb-core/dmxdev.c: In function 'dvb_dmxdev_filter_start': /kisskb/src/drivers/media/dvb/dvb-core/dmxdev.c:655:14: warning: comparison between 'enum dmx_ts_pes' and 'enum ' [-Wenum-compare] if (ts_pes < DMX_PES_OTHER) ^ /kisskb/src/drivers/pci/search.c:145:1: warning: 'pci_find_slot' is deprecated (declared at /kisskb/src/drivers/pci/search.c:133) [-Wdeprecated-declarations] EXPORT_SYMBOL(pci_find_slot); ^ In file included from /kisskb/src/include/linux/device.h:22:0, from /kisskb/src/include/linux/pci.h:53, from /kisskb/src/drivers/pci/search.c:11: /kisskb/src/include/linux/module.h:195:22: warning: 'pci_find_slot' is deprecated (declared at /kisskb/src/drivers/pci/search.c:133) [-Wdeprecated-declarations] static const struct kernel_symbol __ksymtab_##sym \ ^ /kisskb/src/include/linux/module.h:201:2: note: in expansion of macro '__EXPORT_SYMBOL' __EXPORT_SYMBOL(sym, "") ^ /kisskb/src/drivers/pci/search.c:145:1: note: in expansion of macro 'EXPORT_SYMBOL' EXPORT_SYMBOL(pci_find_slot); ^ /kisskb/src/drivers/pci/search.c:173:1: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/drivers/pci/search.c:164) [-Wdeprecated-declarations] EXPORT_SYMBOL(pci_find_device); ^ In file included from /kisskb/src/include/linux/device.h:22:0, from /kisskb/src/include/linux/pci.h:53, from /kisskb/src/drivers/pci/search.c:11: /kisskb/src/include/linux/module.h:195:22: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/drivers/pci/search.c:164) [-Wdeprecated-declarations] static const struct kernel_symbol __ksymtab_##sym \ ^ /kisskb/src/include/linux/module.h:201:2: note: in expansion of macro '__EXPORT_SYMBOL' __EXPORT_SYMBOL(sym, "") ^ /kisskb/src/drivers/pci/search.c:173:1: note: in expansion of macro 'EXPORT_SYMBOL' EXPORT_SYMBOL(pci_find_device); ^ /kisskb/src/drivers/media/common/tuners/mxl5007t.c: In function 'mxl5007t_get_status': /kisskb/src/drivers/media/common/tuners/mxl5007t.c:37:2: warning: 'rf_input_level' may be used uninitialized in this function [-Wmaybe-uninitialized] printk(kern "%s: " fmt "\n", __func__, ##arg) ^ /kisskb/src/drivers/media/common/tuners/mxl5007t.c:660:6: note: 'rf_input_level' was declared here s32 rf_input_level; ^ /kisskb/src/drivers/media/dvb/dvb-usb/af9005-fe.c: In function 'af9005_fe_refresh_state': /kisskb/src/drivers/media/dvb/dvb-usb/af9005-fe.c:233:15: warning: 'loc_abort_count' may be used uninitialized in this function [-Wmaybe-uninitialized] *abort_count = loc_abort_count; ^ /kisskb/src/drivers/media/dvb/dvb-usb/af9005-fe.c:223:6: note: 'loc_abort_count' was declared here u16 loc_abort_count; ^ /kisskb/src/drivers/infiniband/hw/nes/nes_cm.c: In function 'nes_accept': /kisskb/src/drivers/infiniband/hw/nes/nes_cm.c:2627:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (u64)nesqp->ietf_frame); ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'mixer_notify_update': /kisskb/src/drivers/isdn/hardware/eicon/message.c:11289:54: warning: array subscript is above array bounds [-Warray-bounds] ((CAPI_MSG *) msg)->info.facility_req.structs[3] = 0; ^ /kisskb/src/drivers/hwmon/dme1737.c: In function 'dme1737_init_device': /kisskb/src/drivers/hwmon/dme1737.c:230:34: warning: comparison between 'enum chips' and 'enum isa_chips' [-Wenum-compare] #define IN_NOMINAL(type) ((type) == sch311x ? IN_NOMINAL_SCH311x : \ ^ /kisskb/src/drivers/hwmon/dme1737.c:2021:21: note: in expansion of macro 'IN_NOMINAL' data->in_nominal = IN_NOMINAL(data->type); ^ /kisskb/src/drivers/parport/parport_cs.c: In function 'parport_config': /kisskb/src/drivers/parport/parport_cs.c:228:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] } /* parport_config */ ^ In file included from /kisskb/src/drivers/pci/hotplug/cpqphp_core.c:46:0: /kisskb/src/drivers/pci/hotplug/cpqphp.h: In function 'slot_name': /kisskb/src/drivers/pci/hotplug/cpqphp.h:454:2: warning: return discards 'const' qualifier from pointer target type return hotplug_slot_name(slot->hotplug_slot); ^ /kisskb/src/drivers/isdn/mISDN/dsp_cmx.c: In function 'dsp_cmx_send': /kisskb/src/drivers/isdn/mISDN/dsp_cmx.c:1778:1: warning: the frame size of 1476 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/media/dvb/ttusb-dec/ttusb_dec.c: In function 'ttusb_dec_probe': /kisskb/src/drivers/media/dvb/ttusb-dec/ttusb_dec.c:1392:5: warning: 'version' may be used uninitialized in this function [-Wmaybe-uninitialized] printk(KERN_INFO "ttusb_dec: Firmware " ^ /kisskb/src/drivers/media/dvb/ttusb-dec/ttusb_dec.c:1380:28: note: 'version' was declared here unsigned int mode, model, version; ^ /kisskb/src/drivers/media/dvb/ttusb-dec/ttusb_dec.c:1419:5: warning: 'model' may be used uninitialized in this function [-Wmaybe-uninitialized] printk(KERN_ERR "%s: unknown model returned " ^ /kisskb/src/drivers/media/dvb/ttusb-dec/ttusb_dec.c:1380:21: note: 'model' was declared here unsigned int mode, model, version; ^ /kisskb/src/drivers/media/dvb/ttusb-dec/ttusb_dec.c:1387:6: warning: 'mode' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!mode) { ^ /kisskb/src/drivers/media/dvb/ttusb-dec/ttusb_dec.c:1380:15: note: 'mode' was declared here unsigned int mode, model, version; ^ In file included from /kisskb/src/drivers/pci/hotplug/cpqphp_ctrl.c:41:0: /kisskb/src/drivers/pci/hotplug/cpqphp.h: In function 'slot_name': /kisskb/src/drivers/pci/hotplug/cpqphp.h:454:2: warning: return discards 'const' qualifier from pointer target type return hotplug_slot_name(slot->hotplug_slot); ^ /kisskb/src/drivers/media/dvb/frontends/dib3000mc.c: In function 'dib3000mc_i2c_enumeration': /kisskb/src/drivers/media/dvb/frontends/dib3000mc.c:853:1: warning: the frame size of 1348 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/serial/8250_pci.c: In function 'skip_tx_en_setup': /kisskb/src/drivers/serial/8250_pci.c:777:33: warning: passing argument 2 of 'pci_default_setup' discards 'const' qualifier from pointer target type return pci_default_setup(priv, board, port, idx); ^ /kisskb/src/drivers/serial/8250_pci.c:745:1: note: expected 'struct pciserial_board *' but argument is of type 'const struct pciserial_board *' pci_default_setup(struct serial_private *priv, struct pciserial_board *board, ^ /kisskb/src/drivers/serial/8250_pci.c: At top level: /kisskb/src/drivers/serial/8250_pci.c:851:3: warning: initialization from incompatible pointer type .setup = skip_tx_en_setup, ^ /kisskb/src/drivers/serial/8250_pci.c:851:3: warning: (near initialization for 'pci_serial_quirks[4].setup') /kisskb/src/drivers/serial/8250_pci.c:858:3: warning: initialization from incompatible pointer type .setup = skip_tx_en_setup, ^ /kisskb/src/drivers/serial/8250_pci.c:858:3: warning: (near initialization for 'pci_serial_quirks[5].setup') /kisskb/src/drivers/serial/8250_pci.c:865:3: warning: initialization from incompatible pointer type .setup = skip_tx_en_setup, ^ /kisskb/src/drivers/serial/8250_pci.c:865:3: warning: (near initialization for 'pci_serial_quirks[6].setup') In file included from include2/asm/string.h:2:0, from /kisskb/src/include/linux/string.h:19, from include2/asm/page_32.h:115, from include2/asm/page.h:44, from include2/asm/paravirt.h:7, from include2/asm/irqflags.h:61, from /kisskb/src/include/linux/irqflags.h:57, from include2/asm/system.h:11, from include2/asm/processor.h:17, from /kisskb/src/include/linux/prefetch.h:14, from /kisskb/src/include/linux/list.h:6, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/media/dvb/dvb-core/dvb_net.c:57: /kisskb/src/drivers/media/dvb/dvb-core/dvb_net.c: In function 'dvb_net_ts_callback': include2/asm/string_32.h:79:22: warning: '*((void *)&dest_addr+4)' may be used uninitialized in this function [-Wmaybe-uninitialized] *((short *)to + 2) = *((short *)from + 2); ^ /kisskb/src/drivers/media/dvb/dvb-core/dvb_net.c:645:8: note: '*((void *)&dest_addr+4)' was declared here u8 dest_addr[ETH_ALEN]; ^ In file included from include2/asm/string.h:2:0, from /kisskb/src/include/linux/string.h:19, from include2/asm/page_32.h:115, from include2/asm/page.h:44, from include2/asm/paravirt.h:7, from include2/asm/irqflags.h:61, from /kisskb/src/include/linux/irqflags.h:57, from include2/asm/system.h:11, from include2/asm/processor.h:17, from /kisskb/src/include/linux/prefetch.h:14, from /kisskb/src/include/linux/list.h:6, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/media/dvb/dvb-core/dvb_net.c:57: include2/asm/string_32.h:78:14: warning: 'dest_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] *(int *)to = *(int *)from; ^ /kisskb/src/drivers/media/dvb/dvb-core/dvb_net.c:645:8: note: 'dest_addr' was declared here u8 dest_addr[ETH_ALEN]; ^ /kisskb/src/drivers/media/dvb/frontends/dib7000m.c: In function 'dib7000m_set_channel': /kisskb/src/drivers/media/dvb/frontends/dib7000m.c:807:3: warning: case value '255' not in enumerated type 'fe_transmit_mode_t' [-Wswitch] case /* 4K MODE */ 255: value |= (2 << 7); break; ^ /kisskb/src/drivers/media/dvb/frontends/dib7000m.c:868:3: warning: case value '255' not in enumerated type 'fe_transmit_mode_t' [-Wswitch] case /* 4K MODE */ 255: value = 128; break; ^ /kisskb/src/drivers/media/dvb/frontends/dib7000m.c: In function 'dib7000m_tune': /kisskb/src/drivers/media/dvb/frontends/dib7000m.c:1022:3: warning: case value '255' not in enumerated type 'fe_transmit_mode_t' [-Wswitch] case /* 4K MODE */ 255: value |= (8 << 12); break; ^ /kisskb/src/drivers/media/dvb/frontends/dib7000m.c:1032:3: warning: case value '255' not in enumerated type 'fe_transmit_mode_t' [-Wswitch] case /* 4K MODE */ 255: value |= 0x7; break; ^ /kisskb/src/drivers/media/dvb/frontends/dib7000m.c:1042:3: warning: case value '255' not in enumerated type 'fe_transmit_mode_t' [-Wswitch] case /* 4K MODE */ 255: value |= 0x7; break; ^ /kisskb/src/drivers/media/dvb/frontends/dib7000p.c: In function 'dib7000p_set_channel': /kisskb/src/drivers/media/dvb/frontends/dib7000p.c:714:3: warning: case value '255' not in enumerated type 'fe_transmit_mode_t' [-Wswitch] case /* 4K MODE */ 255: value |= (2 << 7); break; ^ /kisskb/src/drivers/media/dvb/frontends/dib7000p.c:767:3: warning: case value '255' not in enumerated type 'fe_transmit_mode_t' [-Wswitch] case /* 4K MODE */ 255: value = 128; break; ^ /kisskb/src/drivers/media/dvb/frontends/dib7000p.c: In function 'dib7000p_tune': /kisskb/src/drivers/media/dvb/frontends/dib7000p.c:988:3: warning: case value '255' not in enumerated type 'fe_transmit_mode_t' [-Wswitch] case /* 4K MODE */ 255: tmp |= (8 << 12); break; ^ /kisskb/src/drivers/media/dvb/frontends/dib7000p.c:998:3: warning: case value '255' not in enumerated type 'fe_transmit_mode_t' [-Wswitch] case /* 4K MODE */ 255: tmp |= 0x7; break; ^ /kisskb/src/drivers/media/dvb/frontends/dib7000p.c:1008:3: warning: case value '255' not in enumerated type 'fe_transmit_mode_t' [-Wswitch] case /* 4K MODE */ 255: tmp |= 0x7; break; ^ /kisskb/src/drivers/media/dvb/frontends/dib7000m.c: In function 'dib7000m_i2c_enumeration': /kisskb/src/drivers/media/dvb/frontends/dib7000m.c:1330:1: warning: the frame size of 1408 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/isdn/hardware/eicon/message.c: In function 'sig_ind': /kisskb/src/drivers/isdn/hardware/eicon/message.c:6096:1: warning: the frame size of 1268 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/telephony/ixj.c: In function 'add_caps': /kisskb/src/drivers/telephony/ixj.c:5939:38: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:5959:38: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:5963:38: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:5974:39: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:5985:39: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:5997:39: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:6007:38: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:6012:38: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:6017:38: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:6022:38: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:6028:38: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:6035:39: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:6040:39: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:6045:39: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:6050:39: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:6058:39: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:6066:39: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:6074:39: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/telephony/ixj.c:6080:39: warning: operation on 'j->caps' may be undefined [-Wsequence-point] j->caplist[j->caps].handle = j->caps++; ^ /kisskb/src/drivers/media/dvb/frontends/dib7000p.c: In function 'dib7000p_i2c_enumeration': /kisskb/src/drivers/media/dvb/frontends/dib7000p.c:1315:1: warning: the frame size of 1400 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ In file included from /kisskb/src/drivers/infiniband/core/uverbs_main.c:41:0: /kisskb/src/drivers/infiniband/core/uverbs_main.c: In function 'ib_uverbs_alloc_event_file': /kisskb/src/include/linux/fs.h:1547:4: warning: the address of 'uverbs_event_fops' will always evaluate as 'true' [-Waddress] (((fops) && try_module_get((fops)->owner) ? (fops) : NULL)) ^ /kisskb/src/drivers/infiniband/core/uverbs_main.c:524:18: note: in expansion of macro 'fops_get' FMODE_READ, fops_get(&uverbs_event_fops)); ^ /kisskb/src/drivers/telephony/ixj_pcmcia.c: In function 'ixj_config': /kisskb/src/drivers/telephony/ixj_pcmcia.c:188:1: warning: the frame size of 1044 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/net/cxgb3/t3_hw.c: In function 'mc7_prep': /kisskb/src/drivers/net/cxgb3/t3_hw.c:3442:12: warning: operation on 'mc7->size' may be undefined [-Wsequence-point] mc7->size = mc7->size = G_DEN(cfg) == M_DEN ? 0 : mc7_calc_size(cfg); ^ In file included from /kisskb/src/drivers/pci/hotplug/cpqphp_pci.c:38:0: /kisskb/src/drivers/pci/hotplug/cpqphp.h: In function 'slot_name': /kisskb/src/drivers/pci/hotplug/cpqphp.h:454:2: warning: return discards 'const' qualifier from pointer target type return hotplug_slot_name(slot->hotplug_slot); ^ /kisskb/src/drivers/pci/hotplug/cpqphp_pci.c: In function 'cpqhp_configure_device': /kisskb/src/drivers/pci/hotplug/cpqphp_pci.c:92:3: warning: 'pci_find_slot' is deprecated (declared at /kisskb/src/include/linux/pci.h:544) [-Wdeprecated-declarations] func->pci_dev = pci_find_slot(func->bus, PCI_DEVFN(func->device, func->function)); ^ /kisskb/src/drivers/pci/hotplug/cpqphp_pci.c:102:3: warning: 'pci_find_slot' is deprecated (declared at /kisskb/src/include/linux/pci.h:544) [-Wdeprecated-declarations] func->pci_dev = pci_find_slot(func->bus, PCI_DEVFN(func->device, func->function)); ^ /kisskb/src/drivers/pci/hotplug/cpqphp_pci.c: In function 'cpqhp_unconfigure_device': /kisskb/src/drivers/pci/hotplug/cpqphp_pci.c:126:10: warning: 'pci_find_slot' is deprecated (declared at /kisskb/src/include/linux/pci.h:544) [-Wdeprecated-declarations] struct pci_dev* temp = pci_find_slot(func->bus, PCI_DEVFN(func->device, j)); ^ /kisskb/src/drivers/pci/hotplug/cpqphp_pci.c: In function 'cpqhp_save_config': /kisskb/src/drivers/pci/hotplug/cpqphp_pci.c:420:5: warning: 'pci_find_slot' is deprecated (declared at /kisskb/src/include/linux/pci.h:544) [-Wdeprecated-declarations] new_slot->pci_dev = pci_find_slot(new_slot->bus, (new_slot->device << 3) | new_slot->function); ^ In file included from /kisskb/src/drivers/pci/hotplug/cpqphp_sysfs.c:37:0: /kisskb/src/drivers/pci/hotplug/cpqphp.h: In function 'slot_name': /kisskb/src/drivers/pci/hotplug/cpqphp.h:454:2: warning: return discards 'const' qualifier from pointer target type return hotplug_slot_name(slot->hotplug_slot); ^ /kisskb/src/drivers/input/mouse/bcm5974.c: In function 'bcm5974_irq_trackpad': /kisskb/src/drivers/input/mouse/bcm5974.c:309:11: warning: 'raw_y' may be used uninitialized in this function [-Wmaybe-uninitialized] abs_y = int2bound(&c->y, c->y.devmax - raw_y); ^ /kisskb/src/drivers/input/mouse/bcm5974.c:282:27: note: 'raw_y' was declared here int raw_p, raw_w, raw_x, raw_y; ^ /kisskb/src/drivers/input/mouse/bcm5974.c:308:11: warning: 'raw_x' may be used uninitialized in this function [-Wmaybe-uninitialized] abs_x = int2bound(&c->x, raw_x - c->x.devmin); ^ /kisskb/src/drivers/input/mouse/bcm5974.c:282:20: note: 'raw_x' was declared here int raw_p, raw_w, raw_x, raw_y; ^ /kisskb/src/drivers/input/mouse/bcm5974.c:307:9: warning: 'raw_w' may be used uninitialized in this function [-Wmaybe-uninitialized] abs_w = int2bound(&c->w, raw_w); ^ /kisskb/src/drivers/input/mouse/bcm5974.c:282:13: note: 'raw_w' was declared here int raw_p, raw_w, raw_x, raw_y; ^ /kisskb/src/drivers/isdn/hisax/telespci.c: In function 'setup_telespci': /kisskb/src/drivers/isdn/hisax/telespci.c:303:2: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] if ((dev_tel = pci_find_device (PCI_VENDOR_ID_ZORAN, PCI_DEVICE_ID_ZORAN_36120, dev_tel))) { ^ In file included from /kisskb/src/drivers/pci/hotplug/cpqphp_nvram.c:39:0: /kisskb/src/drivers/pci/hotplug/cpqphp.h: In function 'slot_name': /kisskb/src/drivers/pci/hotplug/cpqphp.h:454:2: warning: return discards 'const' qualifier from pointer target type return hotplug_slot_name(slot->hotplug_slot); ^ /kisskb/src/drivers/net/chelsio/sge.c: In function 'sched_skb': /kisskb/src/drivers/net/chelsio/sge.c:462:11: warning: operation on 's->port' may be undefined [-Wsequence-point] s->port = ++s->port & (MAX_NPORTS - 1); ^ /kisskb/src/drivers/infiniband/core/cma.c: In function 'cma_iw_handler': /kisskb/src/drivers/infiniband/core/cma.c:1247:3: warning: case value '4294967185' not in enumerated type 'enum iw_cm_event_status' [-Wswitch] case -ECONNREFUSED: ^ /kisskb/src/drivers/infiniband/core/cma.c:1250:3: warning: case value '4294967186' not in enumerated type 'enum iw_cm_event_status' [-Wswitch] case -ETIMEDOUT: ^ /kisskb/src/drivers/infiniband/core/cma.c:1246:3: warning: case value '4294967192' not in enumerated type 'enum iw_cm_event_status' [-Wswitch] case -ECONNRESET: ^ /kisskb/src/drivers/isdn/hisax/avm_pci.c: In function 'avm_pci_setup': /kisskb/src/drivers/isdn/hisax/avm_pci.c:838:2: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] if ((dev_avm = pci_find_device(PCI_VENDOR_ID_AVM, ^ /kisskb/src/drivers/media/dvb/frontends/drx397xD.c: In function 'drx397x_set_frontend': /kisskb/src/drivers/media/dvb/frontends/drx397xD.c:1035:42: warning: 'df_tuner' may be used uninitialized in this function [-Wmaybe-uninitialized] ebx = div64_u64(((u64) (s->config.f_if + df_tuner) << 28) + ^ /kisskb/src/drivers/media/dvb/frontends/drx397xD.c:647:10: note: 'df_tuner' was declared here int rc, df_tuner; ^ /kisskb/src/drivers/isdn/hisax/elsa.c: In function 'setup_elsa_pci': /kisskb/src/drivers/isdn/hisax/elsa.c:1038:2: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] if ((dev_qs1000 = pci_find_device(PCI_VENDOR_ID_ELSA, ^ /kisskb/src/drivers/isdn/hisax/elsa.c:1046:2: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] } else if ((dev_qs3000 = pci_find_device(PCI_VENDOR_ID_ELSA, ^ In file included from /kisskb/src/drivers/char/ip2/ip2main.c:283:0: /kisskb/src/drivers/char/ip2/ip2main.c: In function 'set_params': /kisskb/src/drivers/char/ip2/i2cmd.c:207:10: warning: array subscript is above array bounds [-Warray-bounds] pCM->cmd[2] = (unsigned char) (rate >> 8); ^ /kisskb/src/drivers/isdn/hisax/diva.c: In function 'setup_diva_pci': /kisskb/src/drivers/isdn/hisax/diva.c:1162:2: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] if ((dev_diva = pci_find_device(PCI_VENDOR_ID_EICON, ^ /kisskb/src/drivers/isdn/hisax/diva.c:1169:2: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] } else if ((dev_diva_u = pci_find_device(PCI_VENDOR_ID_EICON, ^ /kisskb/src/drivers/isdn/hisax/diva.c:1176:2: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] } else if ((dev_diva201 = pci_find_device(PCI_VENDOR_ID_EICON, ^ /kisskb/src/drivers/isdn/hisax/diva.c:1186:2: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] } else if ((dev_diva202 = pci_find_device(PCI_VENDOR_ID_EICON, ^ /kisskb/src/drivers/scsi/aic94xx/aic94xx_sds.c: In function 'asd_read_flash': /kisskb/src/drivers/scsi/aic94xx/aic94xx_sds.c:596:2: warning: 'offs' may be used uninitialized in this function [-Wmaybe-uninitialized] asd_read_reg_string(asd_ha, buffer, asd_ha->hw_prof.flash.bar+offs, ^ /kisskb/src/drivers/scsi/aic94xx/aic94xx_sds.c:984:6: note: 'offs' was declared here u32 offs, size; ^ In file included from /kisskb/src/drivers/usb/host/ohci-hcd.c:110:0: /kisskb/src/drivers/usb/host/ohci-dbg.c: In function 'fill_registers_buffer': /kisskb/src/drivers/usb/host/ohci-dbg.c:77:11: warning: the comparison will always evaluate as 'true' for the address of 'next' will never be NULL [-Waddress] if (next != NULL) { \ ^ /kisskb/src/drivers/usb/host/ohci-dbg.c:649:2: note: in expansion of macro 'ohci_dbg_sw' ohci_dbg_sw (ohci, &next, &size, ^ /kisskb/src/drivers/usb/host/ohci-dbg.c:77:11: warning: the comparison will always evaluate as 'true' for the address of 'next' will never be NULL [-Waddress] if (next != NULL) { \ ^ /kisskb/src/drivers/usb/host/ohci-dbg.c:668:3: note: in expansion of macro 'ohci_dbg_sw' ohci_dbg_sw (ohci, &next, &size, ^ /kisskb/src/drivers/char/pcmcia/cm4000_cs.c: In function 'monitor_card': /kisskb/src/drivers/char/pcmcia/cm4000_cs.c:844:21: warning: operation on 'ptsreq.protocol' may be undefined [-Wsequence-point] ptsreq.protocol = ptsreq.protocol = ^ /kisskb/src/drivers/isdn/hisax/sedlbauer.c: In function 'setup_sedlbauer_pci': /kisskb/src/drivers/isdn/hisax/sedlbauer.c:612:2: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] if ((dev_sedl = pci_find_device(PCI_VENDOR_ID_TIGERJET, ^ /kisskb/src/drivers/isdn/hisax/nj_u.c: In function 'setup_netjet_u': /kisskb/src/drivers/isdn/hisax/nj_u.c:243:3: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] if ((dev_netjet = pci_find_device(PCI_VENDOR_ID_TIGERJET, ^ /kisskb/src/drivers/isdn/hisax/nj_s.c: In function 'setup_netjet_s': /kisskb/src/drivers/isdn/hisax/nj_s.c:279:3: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] if ((dev_netjet = pci_find_device(PCI_VENDOR_ID_TIGERJET, ^ /kisskb/src/drivers/video/intelfb/intelfbhw.c: In function 'intelfbhw_mode_to_hw': /kisskb/src/drivers/video/intelfb/intelfbhw.c:1113:16: warning: 'p2' may be used uninitialized in this function [-Wmaybe-uninitialized] *dpll |= (p2 << DPLL_P2_SHIFT) | (p1 << DPLL_P1_SHIFT); ^ /kisskb/src/drivers/video/intelfb/intelfbhw.c:1113:40: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized] *dpll |= (p2 << DPLL_P2_SHIFT) | (p1 << DPLL_P1_SHIFT); ^ /kisskb/src/drivers/isdn/hisax/hfc_pci.c: In function 'setup_hfcpci': /kisskb/src/drivers/isdn/hisax/hfc_pci.c:1662:3: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] tmp_hfcpci = pci_find_device(id_list[i].vendor_id, ^ /kisskb/src/drivers/isdn/hisax/niccy.c: In function 'setup_niccy': /kisskb/src/drivers/isdn/hisax/niccy.c:305:3: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] if ((niccy_dev = pci_find_device(PCI_VENDOR_ID_SATSAGEM, ^ /kisskb/src/drivers/isdn/hisax/bkm_a4t.c: In function 'setup_bkm_a4t': /kisskb/src/drivers/isdn/hisax/bkm_a4t.c:343:2: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] while ((dev_a4t = pci_find_device(PCI_VENDOR_ID_ZORAN, ^ /kisskb/src/drivers/isdn/hisax/bkm_a8.c: In function 'setup_sct_quadro': /kisskb/src/drivers/isdn/hisax/bkm_a8.c:304:3: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] while ((dev_a8 = pci_find_device(PCI_VENDOR_ID_PLX, ^ /kisskb/src/drivers/isdn/hisax/gazel.c: In function 'setup_gazelpci': /kisskb/src/drivers/isdn/hisax/gazel.c:549:3: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] if ((dev_tel = pci_find_device(PCI_VENDOR_ID_PLX, ^ /kisskb/src/drivers/video/riva/fbdev.c: In function 'rivafb_probe': /kisskb/src/drivers/video/riva/fbdev.c:854:20: warning: 'modedb.vmode' may be used uninitialized in this function [-Wmaybe-uninitialized] var->vmode = modedb->vmode; ^ /kisskb/src/drivers/video/riva/fbdev.c:1806:22: note: 'modedb.vmode' was declared here struct fb_videomode modedb; ^ /kisskb/src/drivers/video/riva/fbdev.c:853:19: warning: 'modedb.sync' may be used uninitialized in this function [-Wmaybe-uninitialized] var->sync = modedb->sync; ^ /kisskb/src/drivers/video/riva/fbdev.c:1806:22: note: 'modedb.sync' was declared here struct fb_videomode modedb; ^ /kisskb/src/drivers/video/riva/fbdev.c:852:24: warning: 'modedb.vsync_len' may be used uninitialized in this function [-Wmaybe-uninitialized] var->vsync_len = modedb->vsync_len; ^ /kisskb/src/drivers/video/riva/fbdev.c:1806:22: note: 'modedb.vsync_len' was declared here struct fb_videomode modedb; ^ /kisskb/src/drivers/video/riva/fbdev.c:851:24: warning: 'modedb.hsync_len' may be used uninitialized in this function [-Wmaybe-uninitialized] var->hsync_len = modedb->hsync_len; ^ /kisskb/src/drivers/video/riva/fbdev.c:1806:22: note: 'modedb.hsync_len' was declared here struct fb_videomode modedb; ^ /kisskb/src/drivers/video/riva/fbdev.c:850:27: warning: 'modedb.lower_margin' may be used uninitialized in this function [-Wmaybe-uninitialized] var->lower_margin = modedb->lower_margin; ^ /kisskb/src/drivers/video/riva/fbdev.c:1806:22: note: 'modedb.lower_margin' was declared here struct fb_videomode modedb; ^ /kisskb/src/drivers/video/riva/fbdev.c:849:27: warning: 'modedb.upper_margin' may be used uninitialized in this function [-Wmaybe-uninitialized] var->upper_margin = modedb->upper_margin; ^ /kisskb/src/drivers/video/riva/fbdev.c:1806:22: note: 'modedb.upper_margin' was declared here struct fb_videomode modedb; ^ /kisskb/src/drivers/video/riva/fbdev.c:848:27: warning: 'modedb.right_margin' may be used uninitialized in this function [-Wmaybe-uninitialized] var->right_margin = modedb->right_margin; ^ /kisskb/src/drivers/video/riva/fbdev.c:1806:22: note: 'modedb.right_margin' was declared here struct fb_videomode modedb; ^ /kisskb/src/drivers/video/riva/fbdev.c:847:26: warning: 'modedb.left_margin' may be used uninitialized in this function [-Wmaybe-uninitialized] var->left_margin = modedb->left_margin; ^ /kisskb/src/drivers/video/riva/fbdev.c:1806:22: note: 'modedb.left_margin' was declared here struct fb_videomode modedb; ^ /kisskb/src/drivers/video/riva/fbdev.c:846:23: warning: 'modedb.pixclock' may be used uninitialized in this function [-Wmaybe-uninitialized] var->pixclock = modedb->pixclock; ^ /kisskb/src/drivers/video/riva/fbdev.c:1806:22: note: 'modedb.pixclock' was declared here struct fb_videomode modedb; ^ /kisskb/src/drivers/video/riva/fbdev.c:844:24: warning: 'modedb.yres' may be used uninitialized in this function [-Wmaybe-uninitialized] var->yres_virtual = var->yres; ^ /kisskb/src/drivers/video/riva/fbdev.c:1806:22: note: 'modedb.yres' was declared here struct fb_videomode modedb; ^ /kisskb/src/drivers/video/riva/fbdev.c:841:12: warning: 'modedb.xres' may be used uninitialized in this function [-Wmaybe-uninitialized] var->xres = var->xres_virtual = modedb->xres; ^ /kisskb/src/drivers/video/riva/fbdev.c:1806:22: note: 'modedb.xres' was declared here struct fb_videomode modedb; ^ /kisskb/src/drivers/isdn/hisax/enternow_pci.c: In function 'setup_enternow_pci': /kisskb/src/drivers/isdn/hisax/enternow_pci.c:409:3: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] if ((dev_netjet = pci_find_device(PCI_VENDOR_ID_TIGERJET, ^ /kisskb/src/drivers/isdn/hisax/w6692.c: In function 'setup_w6692': /kisskb/src/drivers/isdn/hisax/w6692.c:1012:3: warning: 'pci_find_device' is deprecated (declared at /kisskb/src/include/linux/pci.h:541) [-Wdeprecated-declarations] dev_w6692 = pci_find_device(id_list[id_idx].vendor_id, ^ /kisskb/src/drivers/usb/storage/isd200.c: In function 'isd200_action': /kisskb/src/drivers/usb/storage/isd200.c:532:1: warning: the frame size of 1240 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/net/wan/z85230.c: In function 'z8530_interrupt': /kisskb/src/drivers/net/wan/z85230.c:766:3: warning: 'intr' may be used uninitialized in this function [-Wmaybe-uninitialized] printk(KERN_ERR "%s: interrupt jammed - abort(0x%X)!\n", dev->name, intr); ^ /kisskb/src/drivers/net/tokenring/tms380tr.c: In function 'tms380tr_exec_sifcmd': /kisskb/src/drivers/net/tokenring/tms380tr.c:1260:18: warning: right-hand operand of comma expression has no effect [-Wunused-value] loop_counter = 0,5 * 800000; ^ /kisskb/src/drivers/net/tulip/de4x5.c: In function 'de4x5_sw_reset': /kisskb/src/drivers/net/tulip/de4x5.c:1443:16: warning: operation on 'lp->tx_new' may be undefined [-Wsequence-point] lp->tx_new = (++lp->tx_new) % lp->txRingSize; ^ /kisskb/src/drivers/net/tulip/de4x5.c: In function 'de4x5_queue_pkt': /kisskb/src/drivers/net/tulip/de4x5.c:1503:17: warning: operation on 'lp->tx_new' may be undefined [-Wsequence-point] lp->tx_new = (++lp->tx_new) % lp->txRingSize; ^ /kisskb/src/drivers/net/tulip/de4x5.c: In function 'de4x5_rx': /kisskb/src/drivers/net/tulip/de4x5.c:1656:40: warning: operation on 'lp->rx_old' may be undefined [-Wsequence-point] for (;lp->rx_old!=entry;lp->rx_old=(++lp->rx_old)%lp->rxRingSize) { ^ /kisskb/src/drivers/net/tulip/de4x5.c:1667:13: warning: operation on 'lp->rx_new' may be undefined [-Wsequence-point] lp->rx_new = (++lp->rx_new) % lp->rxRingSize; ^ /kisskb/src/drivers/net/tulip/de4x5.c: In function 'de4x5_tx': /kisskb/src/drivers/net/tulip/de4x5.c:1725:13: warning: operation on 'lp->tx_old' may be undefined [-Wsequence-point] lp->tx_old = (++lp->tx_old) % lp->txRingSize; ^ /kisskb/src/drivers/net/tulip/de4x5.c: In function 'de4x5_rx_ovfc': /kisskb/src/drivers/net/tulip/de4x5.c:1800:13: warning: operation on 'lp->rx_new' may be undefined [-Wsequence-point] lp->rx_new = (++lp->rx_new % lp->rxRingSize); ^ /kisskb/src/drivers/net/tulip/de4x5.c: In function 'set_multicast_list': /kisskb/src/drivers/net/tulip/de4x5.c:1933:17: warning: operation on 'lp->tx_new' may be undefined [-Wsequence-point] lp->tx_new = (++lp->tx_new) % lp->txRingSize; ^ /kisskb/src/drivers/net/tulip/de4x5.c: In function 'ping_media': /kisskb/src/drivers/net/tulip/de4x5.c:3577:13: warning: operation on 'lp->tx_new' may be undefined [-Wsequence-point] lp->tx_new = (++lp->tx_new) % lp->txRingSize; ^ /kisskb/src/drivers/net/tulip/de4x5.c: In function 'de4x5_ioctl': /kisskb/src/drivers/net/tulip/de4x5.c:5512:13: warning: operation on 'lp->tx_new' may be undefined [-Wsequence-point] lp->tx_new = (++lp->tx_new) % lp->txRingSize; ^ /kisskb/src/drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bus_reset_handler': /kisskb/src/drivers/scsi/lpfc/lpfc_scsi.c:1282:27: warning: 'status' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!lpfc_cmd || status != SUCCESS) { ^ /kisskb/src/drivers/net/usb/mcs7830.c: In function 'mcs7830_set_autoneg': /kisskb/src/drivers/net/usb/mcs7830.c:282:19: warning: the omitted middle operand in ?: will always be 'true', suggest explicit middle operand [-Wparentheses] return ret < 0 ? : 0; ^ /kisskb/src/drivers/net/wan/cycx_x25.c: In function 'hex_dump': /kisskb/src/drivers/net/wan/cycx_x25.c:1029:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/scsi/qla4xxx/ql4_init.c: In function 'qla4xxx_initialize_adapter': /kisskb/src/drivers/scsi/qla4xxx/ql4_init.c:874:2: warning: 'extHwConfig.Asuint32_t' may be used uninitialized in this function [-Wmaybe-uninitialized] writel((0xFFFF << 16) | extHwConfig.Asuint32_t, isp_ext_hw_conf(ha)); ^ /kisskb/src/drivers/scsi/qla4xxx/ql4_init.c:836:31: note: 'extHwConfig.Asuint32_t' was declared here union external_hw_config_reg extHwConfig; ^ In file included from /kisskb/src/drivers/net/tokenring/smctr.c:44:0: /kisskb/src/include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" [-Wcpp] #warning "MCA legacy - please move your driver to the new sysfs api" ^ /kisskb/src/drivers/usb/serial/keyspan_pda.c: In function 'keyspan_pda_fake_startup': /kisskb/src/drivers/usb/serial/keyspan_pda.c:763:2: warning: 'fw' may be used uninitialized in this function [-Wmaybe-uninitialized] release_firmware(fw); ^ /kisskb/src/drivers/usb/serial/keyspan.c: In function 'keyspan_fake_startup': /kisskb/src/drivers/usb/serial/keyspan.c:1436:2: warning: 'fw' may be used uninitialized in this function [-Wmaybe-uninitialized] release_firmware(fw); ^ /kisskb/src/drivers/scsi/qla2xxx/qla_init.c: In function 'qla2x00_configure_loop': /kisskb/src/drivers/scsi/qla2xxx/qla_init.c:2646:13: warning: 'wrap.b24' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (new_fcport->d_id.b24 == wrap.b24) { ^ /kisskb/src/drivers/scsi/qla2xxx/qla_init.c:2554:12: note: 'wrap.b24' was declared here port_id_t wrap, nxt_d_id; ^ /kisskb/src/drivers/net/r6040.c: In function 'r6040_multicast_list': /kisskb/src/drivers/net/r6040.c:980:12: warning: right-hand operand of comma expression has no effect [-Wunused-value] for (i = 0, dmi; (i < dev->mc_count) && (i < MCAST_MAX); i++) { ^ /kisskb/src/drivers/scsi/advansys.c:71:2: warning: #warning this driver is still not properly converted to the DMA API [-Wcpp] #warning this driver is still not properly converted to the DMA API ^ In file included from /kisskb/src/drivers/scsi/aha1542.c:41:0: /kisskb/src/include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" [-Wcpp] #warning "MCA legacy - please move your driver to the new sysfs api" ^ In file included from /kisskb/src/drivers/scsi/fd_mcs.c:92:0: /kisskb/src/include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" [-Wcpp] #warning "MCA legacy - please move your driver to the new sysfs api" ^ /kisskb/src/drivers/scsi/aic7xxx_old.c: In function 'aic7xxx_register': /kisskb/src/drivers/scsi/aic7xxx_old.c:7907:5: warning: case value '257' not in enumerated type 'ahc_chip' [-Wswitch] case (AHC_AIC7770|AHC_VL): ^ /kisskb/src/drivers/scsi/aic7xxx_old.c:7904:5: warning: case value '513' not in enumerated type 'ahc_chip' [-Wswitch] case (AHC_AIC7770|AHC_EISA): ^ /kisskb/src/drivers/scsi/aic7xxx_old.c: In function 'aic7xxx_load_seeprom': /kisskb/src/drivers/scsi/aic7xxx_old.c:8523:5: warning: case value '257' not in enumerated type 'ahc_chip' [-Wswitch] case (AHC_AIC7770|AHC_VL): ^ /kisskb/src/drivers/scsi/aic7xxx_old.c:8516:5: warning: case value '513' not in enumerated type 'ahc_chip' [-Wswitch] case (AHC_AIC7770|AHC_EISA): /* None of these adapters have seeproms. */ ^ /kisskb/src/drivers/scsi/scsi_transport_sas.c: In function 'sas_attach_transport': /kisskb/src/drivers/scsi/scsi_transport_sas.c:1696:15: warning: array subscript is above array bounds [-Warray-bounds] i->host_attrs[count] = NULL; ^ /kisskb/src/drivers/scsi/scsi_transport_iscsi.c: In function 'iscsi_add_session': /kisskb/src/drivers/scsi/scsi_transport_iscsi.c:703:6: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] int err; ^ In file included from /kisskb/src/include/net/checksum.h:25:0, from /kisskb/src/include/linux/skbuff.h:27, from /kisskb/src/include/linux/if_ether.h:114, from /kisskb/src/include/linux/netdevice.h:29, from /kisskb/src/drivers/net/sb1000.c:46: /kisskb/src/drivers/net/sb1000.c: In function 'sb1000_dev_ioctl': include2/asm/uaccess.h:182:2: warning: 'frequency' may be used uninitialized in this function [-Wmaybe-uninitialized] asm volatile("call __put_user_" #size : "=a" (__ret_pu) \ ^ /kisskb/src/drivers/net/sb1000.c:998:25: note: 'frequency' was declared here int ioaddr[2], status, frequency; ^ /kisskb/src/drivers/net/wireless/wavelan.c: In function 'wv_ack': /kisskb/src/drivers/net/wireless/wavelan.c:536:9: warning: 'scb_cs' is used uninitialized in this function [-Wuninitialized] scb_cs &= SCB_ST_INT; ^ /kisskb/src/drivers/media/video/dabusb.c: In function 'dabusb_probe': /kisskb/src/drivers/media/video/dabusb.c:356:2: warning: 'fw' may be used uninitialized in this function [-Wmaybe-uninitialized] release_firmware(fw); ^ /kisskb/src/drivers/media/video/dabusb.c:330:25: note: 'fw' was declared here const struct firmware *fw; ^ In file included from /kisskb/src/drivers/net/ne2.c:73:0: /kisskb/src/include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" [-Wcpp] #warning "MCA legacy - please move your driver to the new sysfs api" ^ /kisskb/src/drivers/usb/serial/ti_usb_3410_5052.c: In function 'ti_set_serial_info': /kisskb/src/drivers/usb/serial/ti_usb_3410_5052.c:1463:26: warning: unused variable 'port' [-Wunused-variable] struct usb_serial_port *port = tport->tp_port; ^ /kisskb/src/drivers/scsi/st.c: In function 'st_int_ioctl': /kisskb/src/drivers/scsi/st.c:2904:19: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses] STp->use_pf = !STp->use_pf | PF_TESTED; ^ /kisskb/src/drivers/scsi/mvsas.c: In function 'mvs_slot_err': /kisskb/src/drivers/scsi/mvsas.c:1325:2: warning: case value '5' not in enumerated type 'enum sas_protocol' [-Wswitch] case SAS_PROTOCOL_SATA | SAS_PROTOCOL_STP: ^ /kisskb/src/drivers/scsi/mvsas.c: In function 'mvs_slot_complete': /kisskb/src/drivers/scsi/mvsas.c:1417:2: warning: case value '5' not in enumerated type 'enum sas_protocol' [-Wswitch] case SAS_PROTOCOL_SATA | SAS_PROTOCOL_STP: { ^ /kisskb/src/drivers/scsi/mvsas.c: In function 'mvs_task_exec': /kisskb/src/drivers/scsi/mvsas.c:2110:3: warning: case value '5' not in enumerated type 'enum sas_protocol' [-Wswitch] case SAS_PROTOCOL_SATA | SAS_PROTOCOL_STP: ^ /kisskb/src/drivers/scsi/mvsas.c: In function 'mvs_task_abort': /kisskb/src/drivers/scsi/mvsas.c:2185:2: warning: case value '5' not in enumerated type 'enum sas_protocol' [-Wswitch] case SAS_PROTOCOL_SATA | SAS_PROTOCOL_STP:{ ^ /kisskb/src/drivers/scsi/mvsas.c: In function 'mvs_update_phyinfo': /kisskb/src/drivers/scsi/mvsas.c:2792:34: warning: comparison between 'enum sas_device_type' and 'enum sas_dev_type' [-Wenum-compare] if (phy->identify.device_type == SAS_END_DEV) ^ /kisskb/src/drivers/scsi/mvsas.c:2795:39: warning: comparison between 'enum sas_device_type' and 'enum sas_dev_type' [-Wenum-compare] else if (phy->identify.device_type != NO_DEVICE) ^ /kisskb/src/drivers/net/wireless/airo.c: In function 'proc_stats_rid_open': /kisskb/src/drivers/net/wireless/airo.c:4694:29: warning: 'stats.len' is used uninitialized in this function [-Wuninitialized] int len = le16_to_cpu(stats.len); ^ /kisskb/src/drivers/net/wireless/ath9k/hw.c: In function 'ath9k_hw_get_eeprom': /kisskb/src/drivers/net/wireless/ath9k/hw.c:1281:2: warning: case value '29' not in enumerated type 'enum eeprom_param' [-Wswitch] case AR_EEPROM_MAC(0): ^ /kisskb/src/drivers/net/wireless/ath9k/hw.c:1283:2: warning: case value '30' not in enumerated type 'enum eeprom_param' [-Wswitch] case AR_EEPROM_MAC(1): ^ /kisskb/src/drivers/net/wireless/ath9k/hw.c:1285:2: warning: case value '31' not in enumerated type 'enum eeprom_param' [-Wswitch] case AR_EEPROM_MAC(2): ^ /kisskb/src/drivers/net/wireless/ray_cs.c: In function 'ray_interrupt': /kisskb/src/drivers/net/wireless/ray_cs.c:2475:21: warning: array subscript is above array bounds [-Warray-bounds] if (msg->var[2] == 1) { ^ /kisskb/src/drivers/net/wireless/ray_cs.c:2487:25: warning: array subscript is above array bounds [-Warray-bounds] if (msg->var[2] == 2) { ^ /kisskb/src/drivers/net/wireless/ray_cs.c:2488:30: warning: array subscript is above array bounds [-Warray-bounds] if ((msg->var[3] | msg->var[4]) == 0) { ^ /kisskb/src/drivers/net/wireless/ray_cs.c:2488:44: warning: array subscript is above array bounds [-Warray-bounds] if ((msg->var[3] | msg->var[4]) == 0) { ^ In file included from /kisskb/src/drivers/net/at1700.c:41:0: /kisskb/src/include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" [-Wcpp] #warning "MCA legacy - please move your driver to the new sysfs api" ^ In file included from include2/asm/string.h:2:0, from /kisskb/src/include/linux/string.h:19, from include2/asm/page_32.h:115, from include2/asm/page.h:44, from include2/asm/thread_info.h:11, from /kisskb/src/include/linux/thread_info.h:47, from /kisskb/src/include/linux/preempt.h:9, from /kisskb/src/include/linux/spinlock.h:50, from /kisskb/src/include/linux/seqlock.h:29, from /kisskb/src/include/linux/time.h:8, from /kisskb/src/include/linux/skbuff.h:19, from /kisskb/src/include/linux/if_ether.h:114, from /kisskb/src/include/linux/etherdevice.h:27, from /kisskb/src/drivers/net/wireless/hostap/hostap_80211_rx.c:1: /kisskb/src/drivers/net/wireless/hostap/hostap_80211_rx.c: In function 'hostap_80211_rx': include2/asm/string_32.h:79:22: warning: '*((void *)&src+4)' may be used uninitialized in this function [-Wmaybe-uninitialized] *((short *)to + 2) = *((short *)from + 2); ^ /kisskb/src/drivers/net/wireless/hostap/hostap_80211_rx.c:745:5: note: '*((void *)&src+4)' was declared here u8 src[ETH_ALEN]; ^ In file included from include2/asm/string.h:2:0, from /kisskb/src/include/linux/string.h:19, from include2/asm/page_32.h:115, from include2/asm/page.h:44, from include2/asm/thread_info.h:11, from /kisskb/src/include/linux/thread_info.h:47, from /kisskb/src/include/linux/preempt.h:9, from /kisskb/src/include/linux/spinlock.h:50, from /kisskb/src/include/linux/seqlock.h:29, from /kisskb/src/include/linux/time.h:8, from /kisskb/src/include/linux/skbuff.h:19, from /kisskb/src/include/linux/if_ether.h:114, from /kisskb/src/include/linux/etherdevice.h:27, from /kisskb/src/drivers/net/wireless/hostap/hostap_80211_rx.c:1: include2/asm/string_32.h:78:14: warning: 'src' may be used uninitialized in this function [-Wmaybe-uninitialized] *(int *)to = *(int *)from; ^ /kisskb/src/drivers/net/wireless/hostap/hostap_80211_rx.c:745:5: note: 'src' was declared here u8 src[ETH_ALEN]; ^ In file included from /kisskb/src/drivers/net/3c523.c:105:0: /kisskb/src/include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" [-Wcpp] #warning "MCA legacy - please move your driver to the new sysfs api" ^ /kisskb/src/drivers/net/wireless/airo.c: In function 'airo_get_aplist': /kisskb/src/drivers/net/wireless/airo.c:7102:1: warning: the frame size of 1124 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/media/video/gspca/gspca.c: In function 'vidioc_reqbufs': /kisskb/src/drivers/media/video/gspca/gspca.c:988:2: warning: case value '7' not in enumerated type 'enum v4l2_memory' [-Wswitch] case GSPCA_MEMORY_READ: /* (internal call) */ ^ In file included from /kisskb/src/drivers/net/eexpress.c:115:0: /kisskb/src/include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" [-Wcpp] #warning "MCA legacy - please move your driver to the new sysfs api" ^ In file included from /kisskb/src/drivers/net/3c527.c:96:0: /kisskb/src/include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api" [-Wcpp] #warning "MCA legacy - please move your driver to the new sysfs api" ^ /kisskb/src/drivers/net/depca.c: In function 'depca_rx': /kisskb/src/drivers/net/depca.c:1090:43: warning: operation on 'lp->rx_old' may be undefined [-Wsequence-point] for (; lp->rx_old != entry; lp->rx_old = (++lp->rx_old) & lp->rxRingMask) { ^ /kisskb/src/drivers/net/depca.c:1099:14: warning: operation on 'lp->rx_new' may be undefined [-Wsequence-point] lp->rx_new = (++lp->rx_new) & lp->rxRingMask; ^ /kisskb/src/drivers/net/depca.c: In function 'depca_tx': /kisskb/src/drivers/net/depca.c:1144:14: warning: operation on 'lp->tx_old' may be undefined [-Wsequence-point] lp->tx_old = (++lp->tx_old) & lp->txRingMask; ^ /kisskb/src/drivers/media/video/usbvideo/vicam.c: In function 'vicam_open': /kisskb/src/drivers/media/video/usbvideo/vicam.c:212:2: warning: 'fw' may be used uninitialized in this function [-Wmaybe-uninitialized] release_firmware(fw); ^ /kisskb/src/drivers/media/video/usbvideo/vicam.c:194:25: note: 'fw' was declared here const struct firmware *fw; ^ In file included from /kisskb/src/drivers/media/video/usbvideo/quickcam_messenger.c:39:0: /kisskb/src/drivers/media/video/usbvideo/quickcam_messenger.c: In function 'qcm_sensor_init': /kisskb/src/drivers/media/video/usbvideo/quickcam_messenger.h:17:11: warning: operation on 'ret' may be undefined [-Wsequence-point] if ((ret = expr) < 0) return ret ^ /kisskb/src/drivers/media/video/usbvideo/quickcam_messenger.c:449:2: note: in expansion of macro 'CHECK_RET' CHECK_RET(ret, ret = qcm_stv_setb(uvd->dev, 0x143f, 0x01)); ^ /kisskb/src/drivers/net/wireless/prism54/isl_ioctl.c: In function 'prism54_ioctl': /kisskb/src/drivers/net/wireless/prism54/isl_ioctl.c:2737:14: warning: array subscript is above array bounds [-Warray-bounds] current_ev = prism54_translate_bss(ndev, &info, current_ev, ^ /kisskb/src/drivers/net/wireless/ath9k/main.c: In function 'ath9k_config_interface': /kisskb/src/drivers/net/wireless/ath9k/main.c:629:22: warning: comparison between 'enum ath9k_opmode' and 'enum ieee80211_if_types' [-Wenum-compare] if ((avp->av_opmode != IEEE80211_IF_TYPE_STA)) { ^ In file included from /kisskb/src/drivers/net/wireless/ath9k/core.h:43:0, from /kisskb/src/drivers/net/wireless/ath9k/hw.c:20: /kisskb/src/drivers/net/wireless/ath9k/hw.c: In function 'ath9k_hw_reset': /kisskb/src/drivers/net/wireless/ath9k/ath9k.h:594:36: warning: 'ant_config' may be used uninitialized in this function [-Wmaybe-uninitialized] #define REG_WRITE(_ah, _reg, _val) ath9k_iowrite32((_ah), (_reg), (_val)) ^ /kisskb/src/drivers/net/wireless/ath9k/hw.c:586:6: note: 'ant_config' was declared here u16 ant_config; ^ /kisskb/src/drivers/net/wireless/iwlwifi/iwl-agn-rs.c: In function 'rs_sta_dbgfs_stats_table_read': /kisskb/src/drivers/net/wireless/iwlwifi/iwl-agn-rs.c:2557:1: warning: the frame size of 1044 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/net/wireless/iwlwifi/iwl-agn-rs.c: In function 'rs_sta_dbgfs_scale_table_read': /kisskb/src/drivers/net/wireless/iwlwifi/iwl-agn-rs.c:2524:1: warning: the frame size of 1036 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/net/wireless/iwlwifi/iwl-debugfs.c: In function 'iwl_dbgfs_sram_read': /kisskb/src/drivers/net/wireless/iwlwifi/iwl-debugfs.c:193:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/net/niu.c: In function 'niu_poll': /kisskb/src/drivers/net/niu.c:3044:10: warning: 'link' may be used uninitialized in this function [-Wmaybe-uninitialized] *link = (struct page *) page->mapping; ^ /kisskb/src/drivers/net/niu.c:3030:24: note: 'link' was declared here struct page *page, **link; ^ /kisskb/src/drivers/net/niu.c:3116:10: warning: 'link' may be used uninitialized in this function [-Wmaybe-uninitialized] *link = (struct page *) page->mapping; ^ /kisskb/src/drivers/net/niu.c:3075:24: note: 'link' was declared here struct page *page, **link; ^ make: *** [Makefile:128: sub-make] Error 2 Command 'make -s -j 80 ARCH=i386 O=/kisskb/build/stable-27_i386-allmodconfig_i386-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/i386-linux/bin/i386-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/stable-27_i386-allmodconfig_i386-gcc4.9 # Build took: 0:03:03.859016