Buildresult: linus/h5000_defconfig/arm-gcc4.9 built on Jun 4 2020, 23:32
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Jun 4 2020, 23:32
Duration:
0:00:40.286306
Builder:
ka1
Revision:
atomisp: avoid warning about unused function (
6929f71e46bdddbf1c4d67c2728648176c67c555)
Target:
linus/h5000_defconfig/arm-gcc4.9
Branch:
linus
Compiler:
arm-gcc4.9
(arm-linux-gnueabi-gcc (GCC) 4.9.4 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
h5000_defconfig
(
download
)
Log:
Download original
Possible warnings (3)
net/core/filter.c:4291:6: warning: unused variable 'ifindex' [-Wunused-variable] net/core/filter.c:4290:14: warning: unused variable 'net' [-Wunused-variable] net/core/filter.c:4289:7: warning: unused variable 'devname' [-Wunused-variable]
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/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-ld --version # < git log --format=%s --max-count=1 6929f71e46bdddbf1c4d67c2728648176c67c555 # < make -s -j 48 ARCH=arm O=/kisskb/build/linus_h5000_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- h5000_defconfig # < make -s -j 48 ARCH=arm O=/kisskb/build/linus_h5000_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- help # make -s -j 48 ARCH=arm O=/kisskb/build/linus_h5000_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- olddefconfig # make -s -j 48 ARCH=arm O=/kisskb/build/linus_h5000_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- /kisskb/src/net/core/filter.c: In function '_bpf_setsockopt': /kisskb/src/net/core/filter.c:4291:6: warning: unused variable 'ifindex' [-Wunused-variable] int ifindex; ^ /kisskb/src/net/core/filter.c:4290:14: warning: unused variable 'net' [-Wunused-variable] struct net *net; ^ /kisskb/src/net/core/filter.c:4289:7: warning: unused variable 'devname' [-Wunused-variable] char devname[IFNAMSIZ]; ^ Completed OK # rm -rf /kisskb/build/linus_h5000_defconfig_arm-gcc4.9 # Build took: 0:00:40.286306
© Michael Ellerman 2006-2018.