Buildresult: linus/edosk7705_defconfig/sh4-gcc4.9 built on Jun 5 2020, 01:16
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Jun 5 2020, 01:16
Duration:
0:00:25.669794
Builder:
ka1
Revision:
atomisp: avoid warning about unused function (
6929f71e46bdddbf1c4d67c2728648176c67c555)
Target:
linus/edosk7705_defconfig/sh4-gcc4.9
Branch:
linus
Compiler:
sh4-gcc4.9
(sh4-linux-gcc (GCC) 4.9.4 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
edosk7705_defconfig
(
download
)
Log:
Download original
Possible warnings (6)
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] arch/sh/kernel/cpu/sh3/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence arch/sh/kernel/cpu/sh3/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence 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
Full Log
# git rev-parse -q --verify 6929f71e46bdddbf1c4d67c2728648176c67c555^{commit} 6929f71e46bdddbf1c4d67c2728648176c67c555 already have revision, skipping fetch # git checkout -q -f -B kisskb 6929f71e46bdddbf1c4d67c2728648176c67c555 # git clean -qxdf # < git log -1 # commit 6929f71e46bdddbf1c4d67c2728648176c67c555 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Wed Jun 3 21:22:46 2020 -0700 # # atomisp: avoid warning about unused function # # The atomisp_mrfld_power() function isn't actually ever called, because # the two call-sites have commented out the use because it breaks on some # platforms. That results in: # # drivers/staging/media/atomisp/pci/atomisp_v4l2.c:764:12: warning: ‘atomisp_mrfld_power’ defined but not used [-Wunused-function] # 764 | static int atomisp_mrfld_power(struct atomisp_device *isp, bool enable) # | ^~~~~~~~~~~~~~~~~~~ # # during the build. # # Rather than commenting out the use entirely, just disable it # semantically instead (using a "0 &&" construct), leaving the call in # place from a syntax standpoint, and avoiding the warning. # # I really don't want my builds to have any warnings that can then hide # real issues. # # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.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 6929f71e46bdddbf1c4d67c2728648176c67c555 # < make -s -j 48 ARCH=sh O=/kisskb/build/linus_edosk7705_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- edosk7705_defconfig # < make -s -j 48 ARCH=sh O=/kisskb/build/linus_edosk7705_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 48 ARCH=sh O=/kisskb/build/linus_edosk7705_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 48 ARCH=sh O=/kisskb/build/linus_edosk7705_defconfig_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/sh3/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /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 *); ^ Kernel: arch/sh/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_edosk7705_defconfig_sh4-gcc4.9 # Build took: 0:00:25.669794
© Michael Ellerman 2006-2018.