Buildresult: linux-next/sh-allyesconfig/sh4-gcc4.9 built on May 14 2020, 03:37
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
May 14 2020, 03:37
Duration:
0:08:47.463127
Builder:
ka3
Revision:
Add linux-next specific files for 20200512 (
e098d7762d602be640c53565ceca342f81e55ad2)
Target:
linux-next/sh-allyesconfig/sh4-gcc4.9
Branch:
linux-next
Compiler:
sh4-gcc4.9
(sh4-linux-gcc (GCC) 4.9.4 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
allyesconfig
(
download
)
Log:
Download original
Possible errors
include/linux/compiler.h:394:38: error: call to '__compiletime_assert_257' declared with attribute error: BUILD_BUG failed include/linux/compiler.h:394:38: error: call to '__compiletime_assert_240' declared with attribute error: BUILD_BUG failed make[2]: *** [scripts/Makefile.build:272: mm/memcontrol.o] Error 1 make[1]: *** [Makefile:1728: mm] Error 2 make: *** [Makefile:180: sub-make] Error 2
Possible warnings (53)
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:204: Warning: overflow in branch to syscall_call; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:352: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:354: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence include/math-emu/single.h:50:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] include/math-emu/double.h:59:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] arch/sh/math-emu/math.c:54:0: warning: "WRITE" redefined arch/sh/math-emu/math.c:55:0: warning: "READ" redefined arch/sh/math-emu/math.c:505:12: warning: 'ieee_fpe_handler' defined but not used [-Wunused-function] kernel/rcu/rcuperf.c:726:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] drivers/mfd/htc-pasic3.c:186:22: warning: unused variable 'asic' [-Wunused-variable] drivers/net/arcnet/arc-rimi.c:346:23: warning: unused variable 'lp' [-Wunused-variable] drivers/thermal/broadcom/ns-thermal.c:78:21: warning: unused variable 'ns_thermal' [-Wunused-variable] drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/ethernet/8390/ax88796.c:808:20: warning: unused variable 'ei_local' [-Wunused-variable] drivers/net/phy/mdio-octeon.c:48:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/net/can/cc770/cc770_platform.c:236:21: warning: unused variable 'priv' [-Wunused-variable] net/smc/smc_llc.c:1145:9: warning: missing braces around initializer [-Wmissing-braces] net/smc/smc_llc.c:1145:9: warning: (near initialization for 'add_llc.hd') [-Wmissing-braces] net/smc/smc_llc.c:1178:9: warning: missing braces around initializer [-Wmissing-braces] net/smc/smc_llc.c:1178:9: warning: (near initialization for 'del_llc.hd') [-Wmissing-braces] net/smc/smc_llc.c:1250:9: warning: missing braces around initializer [-Wmissing-braces] net/smc/smc_llc.c:1250:9: warning: (near initialization for 'delllc.hd') [-Wmissing-braces] drivers/net/ethernet/fujitsu/fmvj18x_cs.c:823:17: warning: unused variable 'buf' [-Wunused-variable] drivers/sh/clk/cpg.c:41:17: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type drivers/sh/clk/cpg.c:46:18: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type drivers/sh/clk/cpg.c:51:18: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type drivers/i2c/busses/i2c-mlxcpld.c:271:10: warning: 'val' is used uninitialized in this function [-Wuninitialized] drivers/i2c/busses/i2c-mlxcpld.c:209:10: warning: 'val' is used uninitialized in this function [-Wuninitialized] drivers/net/ethernet/freescale/fsl_pq_mdio.c:518:27: warning: unused variable 'priv' [-Wunused-variable] drivers/net/ethernet/smsc/smc911x.c:2117:24: warning: unused variable 'lp' [-Wunused-variable] drivers/net/ethernet/smsc/smc91c92_cs.c:958:23: warning: unused variable 'smc' [-Wunused-variable] arch/sh/include/asm/io.h:244:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/iio/adc/ad7606_par.c:21:23: warning: unused variable 'st' [-Wunused-variable] drivers/iio/adc/ad7606_par.c:36:23: warning: unused variable 'st' [-Wunused-variable] arch/sh/include/asm/cmpxchg.h:49:3: warning: value computed is not used [-Wunused-value]
Full Log
# git rev-parse -q --verify e098d7762d602be640c53565ceca342f81e55ad2^{commit} e098d7762d602be640c53565ceca342f81e55ad2 already have revision, skipping fetch # git checkout -q -f -B kisskb e098d7762d602be640c53565ceca342f81e55ad2 # git clean -qxdf # < git log -1 # commit e098d7762d602be640c53565ceca342f81e55ad2 # Author: Stephen Rothwell <sfr@canb.auug.org.au> # Date: Tue May 12 22:34:35 2020 +1000 # # Add linux-next specific files for 20200512 # # Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 e098d7762d602be640c53565ceca342f81e55ad2 # < make -s -j 80 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- allyesconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 80 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 80 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 80 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:204: Warning: overflow in branch to syscall_call; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:352: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:354: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence In file included from /kisskb/src/arch/sh/math-emu/math.c:23:0: /kisskb/src/include/math-emu/single.h:50:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] #if __BYTE_ORDER == __BIG_ENDIAN ^ In file included from /kisskb/src/arch/sh/math-emu/math.c:24:0: /kisskb/src/include/math-emu/double.h:59:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] #if __BYTE_ORDER == __BIG_ENDIAN ^ /kisskb/src/arch/sh/math-emu/math.c:54:0: warning: "WRITE" redefined #define WRITE(d,a) ({if(put_user(d, (typeof (d)*)a)) return -EFAULT;}) ^ In file included from /kisskb/src/arch/sh/math-emu/math.c:10:0: /kisskb/src/include/linux/kernel.h:41:0: note: this is the location of the previous definition #define WRITE 1 ^ /kisskb/src/arch/sh/math-emu/math.c:55:0: warning: "READ" redefined #define READ(d,a) ({if(get_user(d, (typeof (d)*)a)) return -EFAULT;}) ^ In file included from /kisskb/src/arch/sh/math-emu/math.c:10:0: /kisskb/src/include/linux/kernel.h:40:0: note: this is the location of the previous definition #define READ 0 ^ /kisskb/src/arch/sh/math-emu/math.c:505:12: warning: 'ieee_fpe_handler' defined but not used [-Wunused-function] static int ieee_fpe_handler(struct pt_regs *regs) ^ In file included from /kisskb/src/include/linux/kernel.h:15:0, from /kisskb/src/kernel/rcu/rcuperf.c:13: /kisskb/src/kernel/rcu/rcuperf.c: In function 'kfree_perf_init': /kisskb/src/kernel/rcu/rcuperf.c:726:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] pr_alert("kfree object size=%lu\n", kfree_mult * sizeof(struct kfree_obj)); ^ /kisskb/src/include/linux/printk.h:318:35: note: in definition of macro 'pr_alert' printk(KERN_ALERT pr_fmt(fmt), ##__VA_ARGS__) ^ scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead scripts/Makefile.lib:12: 'hostprogs-y' is deprecated. Please use 'hostprogs' instead In file included from /kisskb/src/arch/sh/include/asm/atomic.h:17:0, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/page_counter.h:5, from /kisskb/src/mm/memcontrol.c:25: /kisskb/src/mm/memcontrol.c: In function 'memcg_stat_show': /kisskb/src/include/linux/compiler.h:394:38: error: call to '__compiletime_assert_257' declared with attribute error: BUILD_BUG failed _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/compiler.h:375:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^ /kisskb/src/include/linux/compiler.h:394:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/build_bug.h:59:21: note: in expansion of macro 'BUILD_BUG_ON_MSG' #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") ^ /kisskb/src/include/linux/huge_mm.h:319:28: note: in expansion of macro 'BUILD_BUG' #define HPAGE_PMD_SHIFT ({ BUILD_BUG(); 0; }) ^ /kisskb/src/include/linux/huge_mm.h:115:26: note: in expansion of macro 'HPAGE_PMD_SHIFT' #define HPAGE_PMD_ORDER (HPAGE_PMD_SHIFT-PAGE_SHIFT) ^ /kisskb/src/include/linux/huge_mm.h:116:26: note: in expansion of macro 'HPAGE_PMD_ORDER' #define HPAGE_PMD_NR (1<<HPAGE_PMD_ORDER) ^ /kisskb/src/mm/memcontrol.c:3746:10: note: in expansion of macro 'HPAGE_PMD_NR' nr *= HPAGE_PMD_NR; ^ /kisskb/src/mm/memcontrol.c: In function 'memory_stat_format': /kisskb/src/include/linux/compiler.h:394:38: error: call to '__compiletime_assert_240' declared with attribute error: BUILD_BUG failed _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/compiler.h:375:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^ /kisskb/src/include/linux/compiler.h:394:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/build_bug.h:59:21: note: in expansion of macro 'BUILD_BUG_ON_MSG' #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") ^ /kisskb/src/include/linux/huge_mm.h:319:28: note: in expansion of macro 'BUILD_BUG' #define HPAGE_PMD_SHIFT ({ BUILD_BUG(); 0; }) ^ /kisskb/src/include/linux/huge_mm.h:115:26: note: in expansion of macro 'HPAGE_PMD_SHIFT' #define HPAGE_PMD_ORDER (HPAGE_PMD_SHIFT-PAGE_SHIFT) ^ /kisskb/src/include/linux/huge_mm.h:116:26: note: in expansion of macro 'HPAGE_PMD_ORDER' #define HPAGE_PMD_NR (1<<HPAGE_PMD_ORDER) ^ /kisskb/src/mm/memcontrol.c:1405:10: note: in expansion of macro 'HPAGE_PMD_NR' HPAGE_PMD_NR * PAGE_SIZE); ^ make[2]: *** [/kisskb/src/scripts/Makefile.build:272: mm/memcontrol.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1728: mm] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/mfd/htc-pasic3.c: In function 'pasic3_remove': /kisskb/src/drivers/mfd/htc-pasic3.c:186:22: warning: unused variable 'asic' [-Wunused-variable] struct pasic3_data *asic = platform_get_drvdata(pdev); ^ /kisskb/src/drivers/net/arcnet/arc-rimi.c: In function 'arc_rimi_exit': /kisskb/src/drivers/net/arcnet/arc-rimi.c:346:23: warning: unused variable 'lp' [-Wunused-variable] struct arcnet_local *lp = netdev_priv(dev); ^ /kisskb/src/drivers/thermal/broadcom/ns-thermal.c: In function 'ns_thermal_remove': /kisskb/src/drivers/thermal/broadcom/ns-thermal.c:78:21: warning: unused variable 'ns_thermal' [-Wunused-variable] struct ns_thermal *ns_thermal = platform_get_drvdata(pdev); ^ /kisskb/src/drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:28:0, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_set_mode': /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/arch/sh/include/mach-common/mach/mangle-port.h:41:23: note: in definition of macro 'ioswabq' # define ioswabq(x) (x) ^ /kisskb/src/arch/sh/include/asm/io.h:43:47: note: in expansion of macro '__raw_readq' #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) ^ /kisskb/src/arch/sh/include/asm/io.h:53:31: note: in expansion of macro 'readq_relaxed' #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; }) ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:31: note: in expansion of macro 'readq' #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:21:16: note: in expansion of macro 'oct_mdio_readq' smi_clk.u64 = oct_mdio_readq(p->register_base + SMI_CLK); ^ In file included from /kisskb/src/include/linux/scatterlist.h:9:0, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:24:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_clk.u64, p->register_base + SMI_CLK); ^ /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_c45_addr': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:39:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:47:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:28:0, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/arch/sh/include/mach-common/mach/mangle-port.h:41:23: note: in definition of macro 'ioswabq' # define ioswabq(x) (x) ^ /kisskb/src/arch/sh/include/asm/io.h:43:47: note: in expansion of macro '__raw_readq' #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) ^ /kisskb/src/arch/sh/include/asm/io.h:53:31: note: in expansion of macro 'readq_relaxed' #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; }) ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:31: note: in expansion of macro 'readq' #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:54:16: note: in expansion of macro 'oct_mdio_readq' smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); ^ In file included from /kisskb/src/include/linux/scatterlist.h:9:0, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_read': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:86:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:28:0, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/arch/sh/include/mach-common/mach/mangle-port.h:41:23: note: in definition of macro 'ioswabq' # define ioswabq(x) (x) ^ /kisskb/src/arch/sh/include/asm/io.h:43:47: note: in expansion of macro '__raw_readq' #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) ^ /kisskb/src/arch/sh/include/asm/io.h:53:31: note: in expansion of macro 'readq_relaxed' #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; }) ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:31: note: in expansion of macro 'readq' #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:93:16: note: in expansion of macro 'oct_mdio_readq' smi_rd.u64 = oct_mdio_readq(p->register_base + SMI_RD_DAT); ^ In file included from /kisskb/src/include/linux/scatterlist.h:9:0, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.c: In function 'cavium_mdiobus_write': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:125:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_wr.u64, p->register_base + SMI_WR_DAT); ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:131:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_cmd.u64, p->register_base + SMI_CMD); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:28:0, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/phy.h:16, from /kisskb/src/drivers/net/phy/mdio-cavium.c:8: /kisskb/src/drivers/net/phy/mdio-cavium.h:114:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/arch/sh/include/mach-common/mach/mangle-port.h:41:23: note: in definition of macro 'ioswabq' # define ioswabq(x) (x) ^ /kisskb/src/arch/sh/include/asm/io.h:43:47: note: in expansion of macro '__raw_readq' #define readq_relaxed(c) ({ u64 __v = ioswabq(__raw_readq(c)); __v; }) ^ /kisskb/src/arch/sh/include/asm/io.h:53:31: note: in expansion of macro 'readq_relaxed' #define readq(a) ({ u64 r_ = readq_relaxed(a); rmb(); r_; }) ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:114:31: note: in expansion of macro 'readq' #define oct_mdio_readq(addr) readq((void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-cavium.c:138:16: note: in expansion of macro 'oct_mdio_readq' smi_wr.u64 = oct_mdio_readq(p->register_base + SMI_WR_DAT); ^ /kisskb/src/drivers/net/ethernet/8390/ax88796.c: In function 'ax_remove': /kisskb/src/drivers/net/ethernet/8390/ax88796.c:808:20: warning: unused variable 'ei_local' [-Wunused-variable] struct ei_device *ei_local = netdev_priv(dev); ^ /kisskb/src/drivers/net/phy/mdio-octeon.c: In function 'octeon_mdiobus_probe': /kisskb/src/drivers/net/phy/mdio-octeon.c:48:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (u64)devm_ioremap(&pdev->dev, mdio_phys, regsize); ^ In file included from /kisskb/src/include/linux/io.h:13:0, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/drivers/net/phy/mdio-octeon.c:7: /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-octeon.c:56:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-octeon.c:77:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); ^ /kisskb/src/drivers/net/phy/mdio-octeon.c: In function 'octeon_mdiobus_remove': /kisskb/src/drivers/net/phy/mdio-cavium.h:113:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/arch/sh/include/asm/io.h:33:71: note: in definition of macro '__raw_writeq' #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) ^ /kisskb/src/arch/sh/include/asm/io.h:58:32: note: in expansion of macro 'writeq_relaxed' #define writeq(v,a) ({ wmb(); writeq_relaxed((v),(a)); }) ^ /kisskb/src/drivers/net/phy/mdio-cavium.h:113:36: note: in expansion of macro 'writeq' #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr) ^ /kisskb/src/drivers/net/phy/mdio-octeon.c:91:2: note: in expansion of macro 'oct_mdio_writeq' oct_mdio_writeq(smi_en.u64, bus->register_base + SMI_EN); ^ /kisskb/src/drivers/net/can/cc770/cc770_platform.c: In function 'cc770_platform_remove': /kisskb/src/drivers/net/can/cc770/cc770_platform.c:236:21: warning: unused variable 'priv' [-Wunused-variable] struct cc770_priv *priv = netdev_priv(dev); ^ /kisskb/src/net/smc/smc_llc.c: In function 'smc_llc_srv_add_link_local': /kisskb/src/net/smc/smc_llc.c:1145:9: warning: missing braces around initializer [-Wmissing-braces] struct smc_llc_msg_add_link add_llc = {0}; ^ /kisskb/src/net/smc/smc_llc.c:1145:9: warning: (near initialization for 'add_llc.hd') [-Wmissing-braces] /kisskb/src/net/smc/smc_llc.c: In function 'smc_llc_srv_delete_link_local': /kisskb/src/net/smc/smc_llc.c:1178:9: warning: missing braces around initializer [-Wmissing-braces] struct smc_llc_msg_del_link del_llc = {0}; ^ /kisskb/src/net/smc/smc_llc.c:1178:9: warning: (near initialization for 'del_llc.hd') [-Wmissing-braces] /kisskb/src/net/smc/smc_llc.c: In function 'smc_llc_send_link_delete_all': /kisskb/src/net/smc/smc_llc.c:1250:9: warning: missing braces around initializer [-Wmissing-braces] struct smc_llc_msg_del_link delllc = {0}; ^ /kisskb/src/net/smc/smc_llc.c:1250:9: warning: (near initialization for 'delllc.hd') [-Wmissing-braces] /kisskb/src/drivers/net/ethernet/fujitsu/fmvj18x_cs.c: In function 'fjn_start_xmit': /kisskb/src/drivers/net/ethernet/fujitsu/fmvj18x_cs.c:823:17: warning: unused variable 'buf' [-Wunused-variable] unsigned char *buf = skb->data; ^ /kisskb/src/drivers/sh/clk/cpg.c: In function 'r8': /kisskb/src/drivers/sh/clk/cpg.c:41:17: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type return ioread8(addr); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:21:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread8(void __iomem *); ^ /kisskb/src/drivers/sh/clk/cpg.c: In function 'r16': /kisskb/src/drivers/sh/clk/cpg.c:46:18: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type return ioread16(addr); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:21:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:30:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread16(void __iomem *); ^ /kisskb/src/drivers/sh/clk/cpg.c: In function 'r32': /kisskb/src/drivers/sh/clk/cpg.c:51:18: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type return ioread32(addr); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:21:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread32(void __iomem *); ^ /kisskb/src/drivers/i2c/busses/i2c-mlxcpld.c: In function 'mlxcpld_i2c_check_busy': /kisskb/src/drivers/i2c/busses/i2c-mlxcpld.c:271:10: warning: 'val' is used uninitialized in this function [-Wuninitialized] if (val & MLXCPLD_LPCI2C_TRANS_END) ^ /kisskb/src/drivers/i2c/busses/i2c-mlxcpld.c: In function 'mlxcpld_i2c_check_status': /kisskb/src/drivers/i2c/busses/i2c-mlxcpld.c:209:10: warning: 'val' is used uninitialized in this function [-Wuninitialized] if (val & MLXCPLD_LPCI2C_TRANS_END) { ^ /kisskb/src/drivers/net/ethernet/freescale/fsl_pq_mdio.c: In function 'fsl_pq_mdio_remove': /kisskb/src/drivers/net/ethernet/freescale/fsl_pq_mdio.c:518:27: warning: unused variable 'priv' [-Wunused-variable] struct fsl_pq_mdio_priv *priv = bus->priv; ^ /kisskb/src/drivers/net/ethernet/smsc/smc911x.c: In function 'smc911x_drv_remove': /kisskb/src/drivers/net/ethernet/smsc/smc911x.c:2117:24: warning: unused variable 'lp' [-Wunused-variable] struct smc911x_local *lp = netdev_priv(ndev); ^ /kisskb/src/drivers/net/ethernet/smsc/smc91c92_cs.c: In function 'smc91c92_release': /kisskb/src/drivers/net/ethernet/smsc/smc91c92_cs.c:958:23: warning: unused variable 'smc' [-Wunused-variable] struct smc_private *smc = netdev_priv(dev); ^ In file included from /kisskb/src/include/linux/scatterlist.h:9:0, from /kisskb/src/include/linux/dma-mapping.h:11, from /kisskb/src/include/linux/skbuff.h:31, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/drivers/staging/octeon/ethernet-mem.c:9: /kisskb/src/drivers/staging/octeon/ethernet-mem.c: In function 'cvm_oct_free_hw_memory': /kisskb/src/arch/sh/include/asm/io.h:244:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define phys_to_virt(address) ((void *)(address)) ^ /kisskb/src/drivers/staging/octeon/ethernet-mem.c:123:18: note: in expansion of macro 'phys_to_virt' fpa = (char *)phys_to_virt(cvmx_ptr_to_phys(fpa)); ^ /kisskb/src/drivers/iio/adc/ad7606_par.c: In function 'ad7606_par16_read_block': /kisskb/src/drivers/iio/adc/ad7606_par.c:21:23: warning: unused variable 'st' [-Wunused-variable] struct ad7606_state *st = iio_priv(indio_dev); ^ /kisskb/src/drivers/iio/adc/ad7606_par.c: In function 'ad7606_par8_read_block': /kisskb/src/drivers/iio/adc/ad7606_par.c:36:23: warning: unused variable 'st' [-Wunused-variable] struct ad7606_state *st = iio_priv(indio_dev); ^ In file included from /kisskb/src/arch/sh/include/asm/atomic.h:19:0, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/sh/include/asm/bitops.h:25, from /kisskb/src/include/linux/bitops.h:29, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/ocfs2/file.c:13: /kisskb/src/fs/ocfs2/file.c: In function 'ocfs2_file_write_iter': /kisskb/src/arch/sh/include/asm/cmpxchg.h:49:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__xchg((ptr),(unsigned long)(x), sizeof(*(ptr)))) ^ /kisskb/src/fs/ocfs2/file.c:2419:3: note: in expansion of macro 'xchg' xchg(&iocb->ki_complete, saved_ki_complete); ^ make: *** [Makefile:180: sub-make] Error 2 Command 'make -s -j 80 ARCH=sh O=/kisskb/build/linux-next_sh-allyesconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_sh-allyesconfig_sh4-gcc4.9 # Build took: 0:08:47.463127
© Michael Ellerman 2006-2018.