Buildresult: linus/xtensa-defconfig/xtensa-gcc8 built on Jun 5 2020, 00:05
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Jun 5 2020, 00:05
Duration:
0:00:32.070276
Builder:
ka1
Revision:
atomisp: avoid warning about unused function (
6929f71e46bdddbf1c4d67c2728648176c67c555)
Target:
linus/xtensa-defconfig/xtensa-gcc8
Branch:
linus
Compiler:
xtensa-gcc8
(xtensa-linux-gcc.br_real (Buildroot 2016.11-git-00613-ge98b4dd) 5.4.0 / GNU ld (GNU Binutils) 2.26.1)
Config:
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/br-xtensa-full-2016.08-613-ge98b4dd/bin/xtensa-linux-gcc --version # < /opt/cross/kisskb/br-xtensa-full-2016.08-613-ge98b4dd/bin/xtensa-linux-ld --version # < git log --format=%s --max-count=1 6929f71e46bdddbf1c4d67c2728648176c67c555 # < make -s -j 48 ARCH=xtensa O=/kisskb/build/linus_xtensa-defconfig_xtensa CROSS_COMPILE=/opt/cross/kisskb/br-xtensa-full-2016.08-613-ge98b4dd/bin/xtensa-linux- defconfig # < make -s -j 48 ARCH=xtensa O=/kisskb/build/linus_xtensa-defconfig_xtensa CROSS_COMPILE=/opt/cross/kisskb/br-xtensa-full-2016.08-613-ge98b4dd/bin/xtensa-linux- help # make -s -j 48 ARCH=xtensa O=/kisskb/build/linus_xtensa-defconfig_xtensa CROSS_COMPILE=/opt/cross/kisskb/br-xtensa-full-2016.08-613-ge98b4dd/bin/xtensa-linux- olddefconfig # make -s -j 48 ARCH=xtensa O=/kisskb/build/linus_xtensa-defconfig_xtensa CROSS_COMPILE=/opt/cross/kisskb/br-xtensa-full-2016.08-613-ge98b4dd/bin/xtensa-linux- /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_xtensa-defconfig_xtensa # Build took: 0:00:32.070276
© Michael Ellerman 2006-2018.