7 arch/mips/jz4740/irq.h:21:38: error: 'struct irq_data' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 7 arch/mips/jz4740/irq.h:20:39: error: 'struct irq_data' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 6 include/linux/irqdesc.h:92:33: error: 'NR_IRQS' undeclared here (not in a function) 2 arch/mips/mm/fault.c:321:1: error: the frame size of 1104 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] 1 arch/mips/jz4740/irq.c:91:41: error: 'JZ4740_IRQ_BASE' undeclared (first use in this function) 1 arch/mips/jz4740/irq.c:68:6: error: conflicting types for 'jz4740_irq_resume' 1 arch/mips/jz4740/irq.c:62:6: error: conflicting types for 'jz4740_irq_suspend' 1 arch/mips/jz4740/irq.c:49:39: error: 'JZ4740_IRQ_BASE' undeclared (first use in this function) 1 arch/mips/jz4740/gpio.c:446:22: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] 1 arch/mips/jz4740/gpio.c:445:23: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] 1 arch/mips/jz4740/gpio.c:426:14: error: implicit declaration of function 'JZ4740_IRQ_INTC_GPIO' [-Werror=implicit-function-declaration] 1 arch/mips/jz4740/gpio.c:416:16: error: initializer element is not constant 1 arch/mips/jz4740/gpio.c:415:16: error: initializer element is not constant 1 arch/mips/jz4740/gpio.c:414:16: error: initializer element is not constant 1 arch/mips/jz4740/gpio.c:413:16: error: initializer element is not constant 1 arch/mips/jz4740/gpio.c:268:9: error: implicit declaration of function 'JZ4740_IRQ_GPIO' [-Werror=implicit-function-declaration] 1 arch/arm/kernel/psci.c:287:115: error: redefinition of 'psci_init' 188 net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable] 185 net/ipv6/ip6_offload.c:261:25: warning: 'sit_gro_receive' defined but not used [-Wunused-function] 88 drivers/mtd/mtd_blkdevs.c:100:9: warning: switch condition has boolean value [-Wswitch-bool] 42 fs/nfs/nfs4proc.c:3062:10: warning: switch condition has boolean value [-Wswitch-bool] 37 mm/page_alloc.c:5346:34: warning: array subscript is below array bounds [-Warray-bounds] 27 net/bluetooth/hci_sock.c:980:8: warning: passing argument 2 of 'hci_test_bit' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 23 drivers/mtd/mtd_blkdevs.c:100:2: warning: switch condition has boolean value [-Wswitch-bool] 23 drivers/media/v4l2-core/videobuf2-core.c:3224:26: warning: unused variable 'fileio' [-Wunused-variable] 18 arch/mips/kernel/entry.S:170: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW 16 fs/xfs/xfs_ioctl.c:1098:23: warning: self-comparison always evaluates to false [-Wtautological-compare] 11 kernel/audit.c:653:22: warning: self-comparison always evaluates to false [-Wtautological-compare] 11 drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c:1478:8: warning: 'skb' may be used uninitialized in this function [-Wmaybe-uninitialized] 10 fs/cifs/netmisc.c:941:97: warning: comparison of distinct pointer types lacks a cast 10 fs/cifs/netmisc.c:937:98: warning: comparison of distinct pointer types lacks a cast 8 drivers/usb/gadget/legacy/inode.c:648:10: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] 7 include/linux/sched.h:1975:94: warning: 'noio_flag' may be used uninitialized in this function [-Wmaybe-uninitialized] 7 drivers/iommu/intel-iommu.c:1749:25: warning: unused variable 'drhd' [-Wunused-variable] 7 crypto/algif_hash.c:352:13: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] 7 crypto/algif_hash.c:350:13: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] 6 crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=] 5 net/netfilter/xt_owner.c:26:23: warning: self-comparison always evaluates to false [-Wtautological-compare] 5 fs/coda/psdev.c:275:22: warning: self-comparison always evaluates to false [-Wtautological-compare] 4 fs/nfsd/nfs4state.c:3781:3: warning: 'old_deny_bmap' may be used uninitialized in this function [-Wmaybe-uninitialized] 4 drivers/scsi/qla2xxx/qla_target.c:3078:17: warning: unused variable 'se_cmd' [-Wunused-variable] 4 drivers/net/ethernet/smsc/smc91x.c:558:14: warning: self-comparison always evaluates to true [-Wtautological-compare] 3 kernel/taskstats.c:298:22: warning: self-comparison always evaluates to false [-Wtautological-compare] 3 include/linux/blkdev.h:619:26: warning: switch condition has boolean value [-Wswitch-bool] 3 fs/devpts/inode.c:458:23: warning: self-comparison always evaluates to false [-Wtautological-compare] 3 drivers/usb/renesas_usbhs/common.c:469:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3 drivers/usb/gadget/udc/udc-xilinx.c:2136:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3 drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3 drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3 drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3 drivers/net/wireless/hostap/hostap_hw.c:842:5: warning: 'rec' may be used uninitialized in this function [-Wmaybe-uninitialized] 3 drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp] 3 drivers/connector/cn_proc.c:349:23: warning: self-comparison always evaluates to false [-Wtautological-compare] 3 crypto/wp512.c:987:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] 2 sound/pci/oxygen/oxygen_mixer.c:91:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 2 net/netfilter/nft_reject_inet.c:102:2: warning: enumeration value 'NFT_REJECT_TCP_RST' not handled in switch [-Wswitch] 2 net/netfilter/nft_reject.c:61:2: warning: enumeration value 'NFT_REJECT_TCP_RST' not handled in switch [-Wswitch] 2 net/netfilter/nft_reject.c:61:2: warning: enumeration value 'NFT_REJECT_ICMPX_UNREACH' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_MARK' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_LABELS' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_LABELS' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:166:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_MARK' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_LABELS' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch] 2 net/netfilter/nft_ct.c:123:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch] 2 net/netfilter/nft_compat.c:280:9: warning: switch condition has boolean value [-Wswitch-bool] 2 net/ipv6/netfilter/nft_reject_ipv6.c:29:2: warning: enumeration value 'NFT_REJECT_ICMPX_UNREACH' not handled in switch [-Wswitch] 2 net/ipv4/netfilter/nft_reject_ipv4.c:28:2: warning: enumeration value 'NFT_REJECT_ICMPX_UNREACH' not handled in switch [-Wswitch] 2 net/bridge/netfilter/nft_reject_bridge.c:372:2: warning: enumeration value 'NFT_REJECT_TCP_RST' not handled in switch [-Wswitch] 2 include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address' 2 fs/gfs2/dir.c:987:8: warning: 'leaf_no' may be used uninitialized in this function [-Wmaybe-uninitialized] 2 fs/gfs2/dir.c:768:9: warning: 'leaf_no' may be used uninitialized in this function [-Wmaybe-uninitialized] 2 fs/btrfs/extent_io.c:2166:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2 drivers/spi/spi-dw-mid.c:180:3: warning: return makes integer from pointer without a cast [enabled by default] 2 drivers/spi/spi-dw-mid.c:155:3: warning: return makes integer from pointer without a cast [enabled by default] 2 drivers/scsi/qla2xxx/qla_target.c:3083:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'uint32_t' [-Wformat=] 2 drivers/scsi/qla2xxx/qla_target.c:3081:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'uint32_t {aka unsigned int}' [-Wformat=] 2 drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp] 2 drivers/scsi/be2iscsi/be_main.c:3169:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 2 drivers/scsi/advansys.c:71:2: warning: #warning this driver is still not properly converted to the DMA API [-Wcpp] 2 drivers/net/ethernet/intel/i40e/i40e_debugfs.c:855:1: warning: the frame size of 4104 bytes is larger than 2048 bytes [-Wframe-larger-than=] 2 drivers/mmc/host/sunxi-mmc.c:297:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2 drivers/misc/ioc4.c:194:16: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized] 2 drivers/message/i2o/i2o_config.c:953:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2 drivers/message/i2o/i2o_config.c:893:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2 drivers/media/platform/s3c-camif/camif-capture.c:134:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 2 drivers/media/platform/s3c-camif/camif-capture.c:118:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 2 drivers/clk/at91/clk-usb.c:193:20: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] 2 drivers/clk/at91/clk-usb.c:155:20: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] 2 drivers/block/paride/pg.c:540:28: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 2 drivers/block/paride/pg.c:373:15: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 2 drivers/block/paride/pg.c:344:14: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 2 drivers/block/paride/pg.c:308:15: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 2 drivers/ata/pata_hpt366.c:382:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 2 drivers/ata/pata_hpt366.c:379:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 2 drivers/ata/pata_hpt366.c:376:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 2 crypto/algif_hash.c:352:2: warning: initialization from incompatible pointer type [enabled by default] 2 crypto/algif_hash.c:352:2: warning: (near initialization for 'algif_hash_ops_nokey.recvmsg') [enabled by default] 2 crypto/algif_hash.c:350:2: warning: initialization from incompatible pointer type [enabled by default] 2 crypto/algif_hash.c:350:2: warning: (near initialization for 'algif_hash_ops_nokey.sendmsg') [enabled by default] 2 arch/arm/mm/cache-l2x0.c:195:13: warning: 'l2x0_disable' defined but not used [-Wunused-function] 2 arch/arm/mm/cache-l2x0.c:185:13: warning: 'l2x0_flush_all' defined but not used [-Wunused-function] 2 arch/arm/mm/cache-l2x0.c:168:13: warning: 'l2x0_cache_sync' defined but not used [-Wunused-function] 1 lib/cpumask.c:194:25: warning: the address of 'cpu_all_bits' will always evaluate as 'true' [-Waddress] 1 include/uapi/linux/swab.h:13:15: warning: integer overflow in expression [-Woverflow] 1 include/linux/kernel.h:707:17: warning: comparison of distinct pointer types lacks a cast 1 drivers/usb/gadget/function/f_ncm.c:203:0: warning: "NCAPS" redefined 1 drivers/tty/nozomi.c:857:9: warning: 'size' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 drivers/staging/vt6655/device_main.c:2997:1: warning: the frame size of 1312 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 drivers/scsi/be2iscsi/be_main.c:3169:36: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 1 drivers/scsi/aic94xx/aic94xx_sds.c:597:2: warning: 'offs' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 drivers/pci/host/pcie-xilinx.c:154:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 1 drivers/net/wireless/iwlegacy/3945.c:1022:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] 1 drivers/net/ethernet/ti/cpmac.c:560:88: warning: comparison of distinct pointer types lacks a cast 1 drivers/net/ethernet/ti/cpmac.c:1238:2: warning: #warning FIXME: unhardcode gpio&reset bits [-Wcpp] 1 drivers/net/ethernet/neterion/vxge/vxge-main.c:2149:13: warning: 'adaptive_coalesce_rx_interrupts' defined but not used [-Wunused-function] 1 drivers/net/ethernet/neterion/vxge/vxge-main.c:2121:13: warning: 'adaptive_coalesce_tx_interrupts' defined but not used [-Wunused-function] 1 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1 drivers/net/ethernet/intel/e1000e/ich8lan.c:1016:81: warning: comparison of distinct pointer types lacks a cast 1 drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp] 1 drivers/mtd/maps/pmcmsp-flash.c:149:30: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1 drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 drivers/infiniband/ulp/iser/iser_verbs.c:1206:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 drivers/infiniband/ulp/iser/iser_verbs.c:1201:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 drivers/infiniband/ulp/iser/iser_verbs.c:1175:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 drivers/infiniband/ulp/iser/iser_verbs.c:1174:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined 1 drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined 1 drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined 1 crypto/wp512.c:987:1: warning: the frame size of 1344 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 crypto/wp512.c:987:1: warning: the frame size of 1152 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 crypto/wp512.c:987:1: warning: the frame size of 1144 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 crypto/serpent_generic.c:436:1: warning: the frame size of 1456 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 crypto/serpent_generic.c:436:1: warning: the frame size of 1440 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 arch/mips/ralink/prom.c:64:2: warning: 'argv' is used uninitialized in this function [-Wuninitialized] 1 arch/mips/ralink/prom.c:64:2: warning: 'argc' is used uninitialized in this function [-Wuninitialized] 1 arch/mips/pci/ops-pmcmsp.c:196:19: warning: 'bpci_lock' defined but not used [-Wunused-variable] 1 arch/mips/dec/int-handler.S:198: Warning: macro instruction expanded into multiple instructions in a branch delay slot 1 arch/mips/dec/int-handler.S:149: Warning: macro instruction expanded into multiple instructions in a branch delay slot 1 arch/mips/boot/elf2ecoff.c:270:8: warning: variable 'shstrtab' set but not used [-Wunused-but-set-variable] 1 arch/arm/mach-cns3xxx/pcie.c:313:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 arch/arm/kernel/head-nommu.S:167: Warning: Use of r13 as a source register is deprecated when r15 is the destination register.