Buildresult: linus/mips-allmodconfig/mips-gcc4.6 built on Feb 2 2019, 07:26
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Feb 2 2019, 07:26
Duration:
0:12:17.387958
Builder:
ka2
Revision:
x86: explicitly align IO accesses in memcpy_{to,from}io (
c228d294f2040c3a5f5965ff04d4947d0bf6e7da)
Target:
linus/mips-allmodconfig/mips-gcc4.6
Branch:
linus
Compiler:
mips-gcc4.6
(mips-linux-gcc (GCC) 4.6.3 / GNU ld (GNU Binutils) 2.22)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible warnings (80)
arch/mips/boot/dts/xilfpga/nexys4ddr.dts:109.16-112.8: Warning (i2c_bus_reg): /i2c@10A00000/ad7420@4B: I2C bus unit address format error, expected "4b" kernel/cgroup/cgroup-v1.c:1263:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] kernel/printk/printk.c:186:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] kernel/rcu/srcutree.c:152:32: warning: 'levelspread[<U1280>]' may be used uninitialized in this function [-Wuninitialized] drivers/base/regmap/regmap.c:2594:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] drivers/base/regmap/regmap.c:1855:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] kernel/trace/trace_dynevent.c:89:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] fs/afs/dynroot.c:126:6: warning: 'len' may be used uninitialized in this function [-Wuninitialized] sound/hda/hdac_regmap.c:282:16: warning: 'err' may be used uninitialized in this function [-Wuninitialized] net/bridge/br_netlink.c:591:10: warning: 'err' may be used uninitialized in this function [-Wuninitialized] net/core/sysctl_net_core.c:285:1: warning: 'proc_dointvec_minmax_bpf_restricted' defined but not used [-Wunused-function] sound/soc/codecs/arizona.c:1893:3: warning: 'aif_rx_state' may be used uninitialized in this function [-Wuninitialized] sound/soc/codecs/arizona.c:1890:3: warning: 'aif_tx_state' may be used uninitialized in this function [-Wuninitialized] net/ncsi/ncsi-manage.c:676:19: warning: 'vid' may be used uninitialized in this function [-Wuninitialized] drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:593:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] drivers/clk/sunxi-ng/ccu_mux.c:153:22: warning: 'best_parent' may be used uninitialized in this function [-Wuninitialized] sound/soc/codecs/da7219-aad.c:321:17: warning: 'pll_ctrl' may be used uninitialized in this function [-Wuninitialized] fs/f2fs/file.c:2937:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized] net/mac80211/mlme.c:1522:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] fs/gfs2/bmap.c:566:6: warning: 'len' may be used uninitialized in this function [-Wuninitialized] fs/gfs2/bmap.c:922:18: warning: 'height' may be used uninitialized in this function [-Wuninitialized] drivers/iommu/io-pgtable-arm-v7s.c:438:7: warning: 'cptep' may be used uninitialized in this function [-Wuninitialized] drivers/input/joystick/analog.c:172:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:1474:10: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:1474:10: warning: (near initialization for 'task_info.process_name') [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:323:10: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:323:10: warning: (near initialization for 'task_info.process_name') [-Wmissing-braces] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] fs/btrfs/ref-verify.c:503:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] fs/btrfs/ref-verify.c:555:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] sound/soc/codecs/rt5665.c:2666:33: warning: 'val2' may be used uninitialized in this function [-Wuninitialized] sound/soc/codecs/rt5665.c:2663:33: warning: 'val1' may be used uninitialized in this function [-Wuninitialized] include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] fs/nfsd/nfs4xdr.c:2076:9: warning: 'str' may be used uninitialized in this function [-Wuninitialized] fs/nfsd/nfs4xdr.c:2081:42: warning: 'end' may be used uninitialized in this function [-Wuninitialized] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:4589:9: warning: missing braces around initializer [-Wmissing-braces] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:4589:9: warning: (near initialization for 'stream_update.src') [-Wmissing-braces] drivers/soc/qcom/rpmh.c:355:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] drivers/spi/spi-sh-msiof.c:74:0: warning: "STR" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] arch/mips/include/asm/sibyte/bcm1480_scd.h:274:0: warning: "M_SPC_CFG_CLEAR" redefined [enabled by default] arch/mips/include/asm/sibyte/bcm1480_scd.h:275:0: warning: "M_SPC_CFG_ENABLE" redefined [enabled by default] drivers/media/usb/dvb-usb/pctv452e.c:922:2: warning: value computed is not used [-Wunused-value] drivers/net/tun.c:1846:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] drivers/net/tun.c:1756:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c:102:1: warning: 'inst' may be used uninitialized in this function [-Wuninitialized] drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c:102:1: warning: 'type' may be used uninitialized in this function [-Wuninitialized] drivers/net/wireless/broadcom/b43/phy_n.c:203:21: warning: 'val_addr' may be used uninitialized in this function [-Wuninitialized] drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:835:5: warning: 'err' may be used uninitialized in this function [-Wuninitialized] drivers/net/ethernet/mellanox/mlx5/core/events.c:238:3: warning: 'error_str' may be used uninitialized in this function [-Wuninitialized] drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c:896:16: warning: 'type' may be used uninitialized in this function [-Wuninitialized] drivers/net/ethernet/mellanox/mlx5/core/en_stats.c:217:1: warning: the frame size of 1248 bytes is larger than 1024 bytes [-Wframe-larger-than=] include/linux/unaligned/le_byteshift.h:26:7: warning: array subscript is above array bounds [-Warray-bounds] drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:3485:23: warning: 'rf_amode' may be used uninitialized in this function [-Wuninitialized] WARNING: vmlinux.o(.text+0x32fd0): Section mismatch in reference from the function setup_scache() to the function .init.text:loongson3_sc_init() WARNING: vmlinux.o(.text+0x37b34): Section mismatch in reference from the function mips_sc_init() to the function .init.text:mips_sc_probe_cm3()
Full Log
# git rev-parse -q --verify c228d294f2040c3a5f5965ff04d4947d0bf6e7da^{commit} c228d294f2040c3a5f5965ff04d4947d0bf6e7da already have revision, skipping fetch # git checkout -q -f -B kisskb c228d294f2040c3a5f5965ff04d4947d0bf6e7da # git clean -qxdf # < git log -1 # commit c228d294f2040c3a5f5965ff04d4947d0bf6e7da # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Thu Jan 31 11:10:20 2019 -0800 # # x86: explicitly align IO accesses in memcpy_{to,from}io # # In commit 170d13ca3a2f ("x86: re-introduce non-generic memcpy_{to,from}io") # I made our copy from IO space use a separate copy routine rather than # rely on the generic memcpy. I did that because our generic memory copy # isn't actually well-defined when it comes to internal access ordering or # alignment, and will in fact depend on various CPUID flags. # # In particular, the default memcpy() for a modern Intel CPU will # generally be just a "rep movsb", which works reasonably well for # medium-sized memory copies of regular RAM, since the CPU will turn it # into fairly optimized microcode. # # However, for non-cached memory and IO, "rep movs" ends up being # horrendously slow and will just do the architectural "one byte at a # time" accesses implied by the movsb. # # At the other end of the spectrum, if you _don't_ end up using the "rep # movsb" code, you'd likely fall back to the software copy, which does # overlapping accesses for the tail, and may copy things backwards. # Again, for regular memory that's fine, for IO memory not so much. # # The thinking was that clearly nobody really cared (because things # worked), but some people had seen horrible performance due to the byte # accesses, so let's just revert back to our long ago version that dod # "rep movsl" for the bulk of the copy, and then fixed up the potentially # last few bytes of the tail with "movsw/b". # # Interestingly (and perhaps not entirely surprisingly), while that was # our original memory copy implementation, and had been used before for # IO, in the meantime many new users of memcpy_*io() had come about. And # while the access patterns for the memory copy weren't well-defined (so # arguably _any_ access pattern should work), in practice the "rep movsb" # case had been very common for the last several years. # # In particular Jarkko Sakkinen reported that the memcpy_*io() change # resuled in weird errors from his Geminilake NUC TPM module. # # And it turns out that the TPM TCG accesses according to spec require # that the accesses be # # (a) done strictly sequentially # # (b) be naturally aligned # # otherwise the TPM chip will abort the PCI transaction. # # And, in fact, the tpm_crb.c driver did this: # # memcpy_fromio(buf, priv->rsp, 6); # ... # memcpy_fromio(&buf[6], &priv->rsp[6], expected - 6); # # which really should never have worked in the first place, but back # before commit 170d13ca3a2f it *happened* to work, because the # memcpy_fromio() would be expanded to a regular memcpy, and # # (a) gcc would expand the first memcpy in-line, and turn it into a # 4-byte and a 2-byte read, and they happened to be in the right # order, and the alignment was right. # # (b) gcc would call "memcpy()" for the second one, and the machines that # had this TPM chip also apparently ended up always having ERMS # ("Enhanced REP MOVSB/STOSB instructions"), so we'd use the "rep # movbs" for that copy. # # In other words, basically by pure luck, the code happened to use the # right access sizes in the (two different!) memcpy() implementations to # make it all work. # # But after commit 170d13ca3a2f, both of the memcpy_fromio() calls # resulted in a call to the routine with the consistent memory accesses, # and in both cases it started out transferring with 4-byte accesses. # Which worked for the first copy, but resulted in the second copy doing a # 32-bit read at an address that was only 2-byte aligned. # # Jarkko is actually fixing the fragile code in the TPM driver, but since # this is an excellent example of why we absolutely must not use a generic # memcpy for IO accesses, _and_ an IO-specific one really should strive to # align the IO accesses, let's do exactly that. # # Side note: Jarkko also noted that the driver had been used on ARM # platforms, and had worked. That was because on 32-bit ARM, memcpy_*io() # ends up always doing byte accesses, and on 64-bit ARM it first does byte # accesses to align to 8-byte boundaries, and then does 8-byte accesses # for the bulk. # # So ARM actually worked by design, and the x86 case worked by pure luck. # # We *might* want to make x86-64 do the 8-byte case too. That should be a # pretty straightforward extension, but let's do one thing at a time. And # generally MMIO accesses aren't really all that performance-critical, as # shown by the fact that for a long time we just did them a byte at a # time, and very few people ever noticed. # # Reported-and-tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> # Tested-by: Jerry Snitselaar <jsnitsel@redhat.com> # Cc: David Laight <David.Laight@aculab.com> # Fixes: 170d13ca3a2f ("x86: re-introduce non-generic memcpy_{to,from}io") # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 c228d294f2040c3a5f5965ff04d4947d0bf6e7da # < make -s -j 48 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MIPS_CPS_NS16550_BASE=0x1b0003f8 # Added to kconfig CONFIG_MIPS_CPS_NS16550_SHIFT=0 # yes \n | make -s -j 48 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux- oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux- /kisskb/src/arch/mips/vdso/Makefile:38: MIPS VDSO requires binutils >= 2.25 /kisskb/src/arch/mips/boot/dts/xilfpga/nexys4ddr.dts:109.16-112.8: Warning (i2c_bus_reg): /i2c@10A00000/ad7420@4B: I2C bus unit address format error, expected "4b" /kisskb/src/arch/mips/vdso/Makefile:38: MIPS VDSO requires binutils >= 2.25 /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1263:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:186:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/rcu/srcutree.c: In function 'init_srcu_struct_nodes': /kisskb/src/kernel/rcu/srcutree.c:152:32: warning: 'levelspread[<U1280>]' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2594:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1855:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/trace/trace_dynevent.c: In function 'create_dyn_event': /kisskb/src/kernel/trace/trace_dynevent.c:89:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/afs/dynroot.c: In function 'afs_lookup_atcell': /kisskb/src/fs/afs/dynroot.c:126:6: warning: 'len' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/hda/hdac_regmap.c: In function 'hda_reg_write': /kisskb/src/sound/hda/hdac_regmap.c:282:16: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/bridge/br_netlink.c: In function 'br_process_vlan_info': /kisskb/src/net/bridge/br_netlink.c:591:10: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/core/sysctl_net_core.c:285:1: warning: 'proc_dointvec_minmax_bpf_restricted' defined but not used [-Wunused-function] /kisskb/src/sound/soc/codecs/arizona.c: In function 'arizona_hw_params': /kisskb/src/sound/soc/codecs/arizona.c:1893:3: warning: 'aif_rx_state' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/arizona.c:1890:3: warning: 'aif_tx_state' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/ncsi/ncsi-manage.c: In function 'set_one_vid': /kisskb/src/net/ncsi/ncsi-manage.c:676:19: warning: 'vid' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c: In function 'amdgpu_set_pp_od_clk_voltage': /kisskb/src/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:593:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/clk/sunxi-ng/ccu_mux.c: In function 'ccu_mux_helper_determine_rate': /kisskb/src/drivers/clk/sunxi-ng/ccu_mux.c:153:22: warning: 'best_parent' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/da7219-aad.c: In function 'da7219_aad_hptest_work': /kisskb/src/sound/soc/codecs/da7219-aad.c:321:17: warning: 'pll_ctrl' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/f2fs/file.c: In function 'f2fs_precache_extents': /kisskb/src/fs/f2fs/file.c:2937:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_handle_pwr_constr': /kisskb/src/net/mac80211/mlme.c:1522:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/gfs2/bmap.c: In function 'gfs2_iomap_get': /kisskb/src/fs/gfs2/bmap.c:566:6: warning: 'len' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/gfs2/bmap.c:818:6: note: 'len' was declared here /kisskb/src/fs/gfs2/bmap.c:922:18: warning: 'height' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/iommu/io-pgtable-arm-v7s.c: In function '__arm_v7s_map.constprop.1': /kisskb/src/drivers/iommu/io-pgtable-arm-v7s.c:438:7: warning: 'cptep' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/input/joystick/analog.c:172:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] /kisskb/src/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c: In function 'gmc_v8_0_process_interrupt': /kisskb/src/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:1474:10: warning: missing braces around initializer [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:1474:10: warning: (near initialization for 'task_info.process_name') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c: In function 'gmc_v9_0_process_interrupt': /kisskb/src/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:323:10: warning: missing braces around initializer [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:323:10: warning: (near initialization for 'task_info.process_name') [-Wmissing-braces] In file included from /kisskb/src/drivers/infiniband/hw/bnxt_re/main.c:66:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:523:0: note: this is the location of the previous definition /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:499:0: note: this is the location of the previous definition /kisskb/src/fs/btrfs/ref-verify.c: In function 'process_extent_item': /kisskb/src/fs/btrfs/ref-verify.c:503:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/btrfs/ref-verify.c: In function 'process_leaf': /kisskb/src/fs/btrfs/ref-verify.c:555:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/rt5665.c: In function 'rt5665_i2s_pin_event': /kisskb/src/sound/soc/codecs/rt5665.c:2666:33: warning: 'val2' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/rt5665.c:2663:33: warning: 'val1' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:339:21: note: 'pdeo' was declared here /kisskb/src/fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_components_esc': /kisskb/src/fs/nfsd/nfs4xdr.c:2076:9: warning: 'str' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/nfsd/nfs4xdr.c:2081:42: warning: 'end' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 'amdgpu_dm_do_flip': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:4589:9: warning: missing braces around initializer [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:4589:9: warning: (near initialization for 'stream_update.src') [-Wmissing-braces] /kisskb/src/drivers/soc/qcom/rpmh.c: In function 'rpmh_write_batch': /kisskb/src/drivers/soc/qcom/rpmh.c:355:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'serial_unlink_irq_chain': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.c:58:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:523:0: note: this is the location of the previous definition /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:499:0: note: this is the location of the previous definition /kisskb/src/drivers/spi/spi-sh-msiof.c:74:0: warning: "STR" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/mipsregs.h:30:0: note: this is the location of the previous definition In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c:18:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:523:0: note: this is the location of the previous definition /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:499:0: note: this is the location of the previous definition In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:22:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:523:0: note: this is the location of the previous definition /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:499:0: note: this is the location of the previous definition In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c:20:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:523:0: note: this is the location of the previous definition /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:499:0: note: this is the location of the previous definition In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:24:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:523:0: note: this is the location of the previous definition /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:499:0: note: this is the location of the previous definition In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c:19:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:523:0: note: this is the location of the previous definition /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:499:0: note: this is the location of the previous definition In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:17:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:523:0: note: this is the location of the previous definition /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:499:0: note: this is the location of the previous definition In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c:12:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:523:0: note: this is the location of the previous definition /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:499:0: note: this is the location of the previous definition In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:13:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:523:0: note: this is the location of the previous definition /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:499:0: note: this is the location of the previous definition In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c:22:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:523:0: note: this is the location of the previous definition /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:499:0: note: this is the location of the previous definition In file included from /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:15:0: /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1654:0: warning: "writeq" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:523:0: note: this is the location of the previous definition /kisskb/src/drivers/net/ethernet/broadcom/bnxt/bnxt.h:1662:0: warning: "writeq_relaxed" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/io.h:499:0: note: this is the location of the previous definition In file included from /kisskb/src/arch/mips/include/asm/sibyte/sb1250.h:41:0, from /kisskb/src/drivers/watchdog/sb_wdog.c:58: /kisskb/src/arch/mips/include/asm/sibyte/bcm1480_scd.h:274:0: warning: "M_SPC_CFG_CLEAR" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/sibyte/sb1250_scd.h:405:0: note: this is the location of the previous definition /kisskb/src/arch/mips/include/asm/sibyte/bcm1480_scd.h:275:0: warning: "M_SPC_CFG_ENABLE" redefined [enabled by default] /kisskb/src/arch/mips/include/asm/sibyte/sb1250_scd.h:406:0: note: this is the location of the previous definition /kisskb/src/drivers/media/usb/dvb-usb/pctv452e.c: In function 'pctv452e_frontend_attach': /kisskb/src/drivers/media/usb/dvb-usb/pctv452e.c:922:2: warning: value computed is not used [-Wunused-value] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1846:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1756:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c: In function 'gk104_top_oneinit': /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c:102:1: warning: 'inst' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c:102:1: warning: 'type' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/wireless/broadcom/b43/phy_n.c: In function 'b43_nphy_rf_ctl_override_rev7': /kisskb/src/drivers/net/wireless/broadcom/b43/phy_n.c:203:21: warning: 'val_addr' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c: In function 'update_root_ft_create': /kisskb/src/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:835:5: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/mellanox/mlx5/core/events.c: In function 'port_module': /kisskb/src/drivers/net/ethernet/mellanox/mlx5/core/events.c:238:3: warning: 'error_str' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c: In function 'hclgevf_bind_ring_to_vector': /kisskb/src/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c:896:16: warning: 'type' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/mellanox/mlx5/core/en_stats.c: In function 'mlx5e_grp_sw_update_stats': /kisskb/src/drivers/net/ethernet/mellanox/mlx5/core/en_stats.c:217:1: warning: the frame size of 1248 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/drivers/usb/wusbcore/security.c: In function 'wusb_dev_4way_handshake': /kisskb/src/include/linux/unaligned/le_byteshift.h:26:7: warning: array subscript is above array bounds [-Warray-bounds] /kisskb/src/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c: In function 'rtl8723a_phy_lc_calibrate': /kisskb/src/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:3485:23: warning: 'rf_amode' may be used uninitialized in this function [-Wuninitialized] WARNING: vmlinux.o(.text+0x32fd0): Section mismatch in reference from the function setup_scache() to the function .init.text:loongson3_sc_init() The function setup_scache() references the function __init loongson3_sc_init(). This is often because setup_scache lacks a __init annotation or the annotation of loongson3_sc_init is wrong. WARNING: vmlinux.o(.text+0x37b34): Section mismatch in reference from the function mips_sc_init() to the function .init.text:mips_sc_probe_cm3() The function mips_sc_init() references the function __init mips_sc_probe_cm3(). This is often because mips_sc_init lacks a __init annotation or the annotation of mips_sc_probe_cm3 is wrong. FIT description: Linux 5.0.0-rc4+ Created: Sat Feb 2 07:37:04 2019 Image 0 (kernel@0) Description: Linux 5.0.0-rc4+ Created: Sat Feb 2 07:37:04 2019 Type: Kernel Image Compression: gzip compressed Data Size: 6120028 Bytes = 5976.59 KiB = 5.84 MiB Architecture: MIPS OS: Linux Load Address: 0x84000000 Entry Point: 0x8497c650 Hash algo: sha1 Hash value: f52bd177cd5654c4311161b6728db14fdd768974 Image 1 (fdt@boston) Description: img,boston Device Tree Created: Sat Feb 2 07:37:04 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 3793 Bytes = 3.70 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 4799f50d688573234da6e9d7701234d394759ef4 Image 2 (fdt@ni169445) Description: NI 169445 device tree Created: Sat Feb 2 07:37:04 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 1871 Bytes = 1.83 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 51b89b31605ee62038c8468c429af091dfc75ec7 Image 3 (fdt@ocelot_pcb123) Description: MSCC Ocelot PCB123 Device Tree Created: Sat Feb 2 07:37:04 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 4603 Bytes = 4.50 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 33e429f316125d86bb863c2fe8d9c42fbcf90bfb Image 4 (fdt@ocelot_pcb120) Description: MSCC Ocelot PCB120 Device Tree Created: Sat Feb 2 07:37:04 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 5162 Bytes = 5.04 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 0c5db3f23ba8b80fafd8c8e4eacfcb8ad62a91ae Image 5 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Sat Feb 2 07:37:04 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 2708 Bytes = 2.64 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 509ce58e44c561d54539e64e9d4b47054e696fc6 Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Configuration 1 (conf@boston) Description: Boston Linux kernel Kernel: kernel@0 FDT: fdt@boston Configuration 2 (conf@ni169445) Description: NI 169445 Linux Kernel Kernel: kernel@0 FDT: fdt@ni169445 Configuration 3 (conf@ocelot_pcb123) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb123 Configuration 4 (conf@ocelot_pcb120) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb120 Configuration 5 (conf@xilfpga) Description: MIPSfpga Linux kernel Kernel: kernel@0 FDT: fdt@xilfpga Completed OK # rm -rf /kisskb/build/linus_mips-allmodconfig_mips # Build took: 0:12:17.387958
© Michael Ellerman 2006-2018.