Buildresult: cdrx/sh-allmodconfig/sh4-gcc4.9 built on May 14 2020, 03:30
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
May 14 2020, 03:30
Duration:
0:11:20.323436
Builder:
blade4b
Revision:
mtd: spi-nor: aspeed: Add read training support for the AST2600 (
6aa254f8d119df235963fd718d145317512963ac)
Target:
cdrx/sh-allmodconfig/sh4-gcc4.9
Branch:
cdrx
Compiler:
sh4-gcc4.9
(sh4-linux-gcc (GCC) 4.9.4 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
core.c:(.text+0x2a68): undefined reference to `__fpscr_values' core.c:(.text+0x2de8): undefined reference to `__fpscr_values' core.c:(.text+0x3a30): undefined reference to `__fpscr_values' make[1]: *** [Makefile:1094: vmlinux] Error 1 make: *** [Makefile:179: sub-make] Error 2
Possible warnings (56)
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] 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] 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 fs/afs/dynroot.c:117:6: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] mm/memcontrol.c:4924:13: warning: 'mem_cgroup_id_get_many' defined but not used [-Wunused-function] include/linux/kernel.h:37:33: warning: 'clone_src_i_size' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/hwmon/w83627hf.c:1920:20: warning: 'address' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/i2c/busses/i2c-sh_mobile.c:399:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] 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/hwmon/f71805f.c:1508:18: warning: 'address' may be used uninitialized in this function [-Wmaybe-uninitialized] 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] include/linux/spinlock.h:288:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] arch/sh/include/asm/cmpxchg.h:49:3: warning: value computed is not used [-Wunused-value] drivers/hwmon/w83627ehf.c:2822:9: warning: 'address' may be used uninitialized in this function [-Wmaybe-uninitialized] 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/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/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/ethernet/fujitsu/fmvj18x_cs.c:823:17: warning: unused variable 'buf' [-Wunused-variable] drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arch/sh/include/asm/io.h:244:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/staging/octeon/ethernet-tx.c:264:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/staging/octeon/ethernet-tx.c:268:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/staging/octeon/ethernet-tx.c:276:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/staging/octeon/ethernet-tx.c:280:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Full Log
# git rev-parse -q --verify 6aa254f8d119df235963fd718d145317512963ac^{commit} 6aa254f8d119df235963fd718d145317512963ac already have revision, skipping fetch # git checkout -q -f -B kisskb 6aa254f8d119df235963fd718d145317512963ac # git clean -qxdf # < git log -1 # commit 6aa254f8d119df235963fd718d145317512963ac # Author: Cédric Le Goater <clg@kaod.org> # Date: Fri Oct 4 13:24:36 2019 +0200 # # mtd: spi-nor: aspeed: Add read training support for the AST2600 # # The read training algorithm consists of finding the appropriate read # timing delays for the HCLK dividers in range [ 2 - 5 ] and store the # results in the Read Timing Compensation register. The previous AST2500 # and AST2400 SoCs were covering a broader HCLK range [ 1 - 5 ] because # the AHB frequency was lower. # # The algorithm first reads a golden buffer at low speed and then # performs reads with different clocks and delay cycle settings to find # a breaking point. This selects the default clock frequency for the CEx # control register. The current settings are bit optimistic as we pick # the first delay giving good results. A safer approach would be to # determine an interval and choose the middle value. We might change the # approach depending on the results on other systems. # # Signed-off-by: Cédric Le Goater <clg@kaod.org> # < /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 6aa254f8d119df235963fd718d145317512963ac # < make -s -j 24 ARCH=sh O=/kisskb/build/cdrx_sh-allmodconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 24 ARCH=sh O=/kisskb/build/cdrx_sh-allmodconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 24 ARCH=sh O=/kisskb/build/cdrx_sh-allmodconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 24 ARCH=sh O=/kisskb/build/cdrx_sh-allmodconfig_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] 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) ^ /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 /kisskb/src/fs/afs/dynroot.c: In function 'afs_dynroot_lookup': /kisskb/src/fs/afs/dynroot.c:117:6: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = lookup_one_len(name, dentry->d_parent, len); ^ /kisskb/src/fs/afs/dynroot.c:91:6: note: 'len' was declared here int len; ^ /kisskb/src/mm/memcontrol.c:4924:13: warning: 'mem_cgroup_id_get_many' defined but not used [-Wunused-function] static void mem_cgroup_id_get_many(struct mem_cgroup *memcg, unsigned int n) ^ In file included from /kisskb/src/include/linux/list.h:9:0, 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/btrfs/send.c:7: /kisskb/src/fs/btrfs/send.c: In function 'process_extent': /kisskb/src/include/linux/kernel.h:37:33: warning: 'clone_src_i_size' may be used uninitialized in this function [-Wmaybe-uninitialized] #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) ^ /kisskb/src/fs/btrfs/send.c:5088:6: note: 'clone_src_i_size' was declared here u64 clone_src_i_size; ^ /kisskb/src/drivers/hwmon/w83627hf.c: In function 'sensors_w83627hf_init': /kisskb/src/drivers/hwmon/w83627hf.c:1920:20: warning: 'address' may be used uninitialized in this function [-Wmaybe-uninitialized] .start = address + WINB_REGION_OFFSET, ^ /kisskb/src/drivers/hwmon/w83627hf.c:1968:17: note: 'address' was declared here unsigned short address; ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c: In function 'sh_mobile_i2c_isr': /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:399:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] pd->msg->buf[real_pos] = data; ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:372:16: note: 'data' was declared here unsigned char data; ^ /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. ^ /kisskb/src/drivers/hwmon/f71805f.c: In function 'f71805f_init': /kisskb/src/drivers/hwmon/f71805f.c:1508:18: warning: 'address' may be used uninitialized in this function [-Wmaybe-uninitialized] struct resource res = { ^ /kisskb/src/drivers/hwmon/f71805f.c:1614:17: note: 'address' was declared here unsigned short address; ^ /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/include/linux/wait.h:9:0, from /kisskb/src/include/linux/net.h:19, from /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c:8: /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c: In function 'siw_proc_send': /kisskb/src/include/linux/spinlock.h:288:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] _raw_spin_unlock_irqrestore(lock, flags); \ ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c:335:16: note: 'flags' was declared here unsigned long flags; ^ 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:19, 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:2373:3: note: in expansion of macro 'xchg' xchg(&iocb->ki_complete, saved_ki_complete); ^ /kisskb/src/drivers/hwmon/w83627ehf.c: In function 'sensors_w83627ehf_init': /kisskb/src/drivers/hwmon/w83627ehf.c:2822:9: warning: 'address' may be used uninitialized in this function [-Wmaybe-uninitialized] pdev = platform_device_alloc(DRVNAME, address); ^ /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 *); ^ 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/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/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; ^ In file included from /kisskb/src/drivers/staging/octeon/octeon-ethernet.h:41:0, from /kisskb/src/drivers/staging/octeon/ethernet.c:22: /kisskb/src/drivers/staging/octeon/octeon-stubs.h: In function 'cvmx_phys_to_ptr': /kisskb/src/drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void *)(physical_address); ^ In file included from /kisskb/src/drivers/staging/octeon/octeon-ethernet.h:41:0, from /kisskb/src/drivers/staging/octeon/ethernet-mdio.c:16: /kisskb/src/drivers/staging/octeon/octeon-stubs.h: In function 'cvmx_phys_to_ptr': /kisskb/src/drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void *)(physical_address); ^ In file included from /kisskb/src/drivers/staging/octeon/octeon-ethernet.h:41:0, from /kisskb/src/drivers/staging/octeon/ethernet-mem.c:12: /kisskb/src/drivers/staging/octeon/octeon-stubs.h: In function 'cvmx_phys_to_ptr': /kisskb/src/drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void *)(physical_address); ^ 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)); ^ In file included from /kisskb/src/drivers/staging/octeon/octeon-ethernet.h:41:0, from /kisskb/src/drivers/staging/octeon/ethernet-rgmii.c:15: /kisskb/src/drivers/staging/octeon/octeon-stubs.h: In function 'cvmx_phys_to_ptr': /kisskb/src/drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void *)(physical_address); ^ In file included from /kisskb/src/drivers/staging/octeon/octeon-ethernet.h:41:0, from /kisskb/src/drivers/staging/octeon/ethernet-rx.c:26: /kisskb/src/drivers/staging/octeon/octeon-stubs.h: In function 'cvmx_phys_to_ptr': /kisskb/src/drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void *)(physical_address); ^ In file included from /kisskb/src/drivers/staging/octeon/octeon-ethernet.h:41:0, from /kisskb/src/drivers/staging/octeon/ethernet-sgmii.c:14: /kisskb/src/drivers/staging/octeon/octeon-stubs.h: In function 'cvmx_phys_to_ptr': /kisskb/src/drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void *)(physical_address); ^ In file included from /kisskb/src/drivers/staging/octeon/octeon-ethernet.h:41:0, from /kisskb/src/drivers/staging/octeon/ethernet-spi.c:13: /kisskb/src/drivers/staging/octeon/octeon-stubs.h: In function 'cvmx_phys_to_ptr': /kisskb/src/drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void *)(physical_address); ^ In file included from /kisskb/src/drivers/staging/octeon/octeon-ethernet.h:41:0, from /kisskb/src/drivers/staging/octeon/ethernet-tx.c:25: /kisskb/src/drivers/staging/octeon/octeon-stubs.h: In function 'cvmx_phys_to_ptr': /kisskb/src/drivers/staging/octeon/octeon-stubs.h:1205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void *)(physical_address); ^ /kisskb/src/drivers/staging/octeon/ethernet-tx.c: In function 'cvm_oct_xmit': /kisskb/src/drivers/staging/octeon/ethernet-tx.c:264:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hw_buffer.s.addr = XKPHYS_TO_PHYS((u64)skb->data); ^ /kisskb/src/drivers/staging/octeon/octeon-stubs.h:2:30: note: in definition of macro 'XKPHYS_TO_PHYS' #define XKPHYS_TO_PHYS(p) (p) ^ /kisskb/src/drivers/staging/octeon/ethernet-tx.c:268:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hw_buffer.s.addr = XKPHYS_TO_PHYS((u64)skb->data); ^ /kisskb/src/drivers/staging/octeon/octeon-stubs.h:2:30: note: in definition of macro 'XKPHYS_TO_PHYS' #define XKPHYS_TO_PHYS(p) (p) ^ /kisskb/src/drivers/staging/octeon/ethernet-tx.c:276:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] XKPHYS_TO_PHYS((u64)skb_frag_address(fs)); ^ /kisskb/src/drivers/staging/octeon/octeon-stubs.h:2:30: note: in definition of macro 'XKPHYS_TO_PHYS' #define XKPHYS_TO_PHYS(p) (p) ^ /kisskb/src/drivers/staging/octeon/ethernet-tx.c:280:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hw_buffer.s.addr = XKPHYS_TO_PHYS((u64)CVM_OCT_SKB_CB(skb)); ^ /kisskb/src/drivers/staging/octeon/octeon-stubs.h:2:30: note: in definition of macro 'XKPHYS_TO_PHYS' #define XKPHYS_TO_PHYS(p) (p) ^ kernel/bpf/core.o: In function `___bpf_prog_run': core.c:(.text+0x2a68): undefined reference to `__fpscr_values' core.c:(.text+0x2de8): undefined reference to `__fpscr_values' core.c:(.text+0x3a30): undefined reference to `__fpscr_values' make[1]: *** [/kisskb/src/Makefile:1094: vmlinux] Error 1 make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 24 ARCH=sh O=/kisskb/build/cdrx_sh-allmodconfig_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/cdrx_sh-allmodconfig_sh4-gcc4.9 # Build took: 0:11:20.323436
© Michael Ellerman 2006-2018.