# 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 # 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 # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 6929f71e46bdddbf1c4d67c2728648176c67c555 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:666:13: warning: 'cxgb4_uld_in_use' defined but not used [-Wunused-function] static bool cxgb4_uld_in_use(struct adapter *adap) ^ WARNING: modpost: vmlinux.o(.text.unlikely+0x2b0): Section mismatch in reference from the function early_init_mmu() to the function .init.text:radix__early_init_mmu() The function early_init_mmu() references the function __init radix__early_init_mmu(). This is often because early_init_mmu lacks a __init annotation or the annotation of radix__early_init_mmu is wrong. WARNING: modpost: vmlinux.o(.text.unlikely+0x2bc): Section mismatch in reference from the function early_init_mmu() to the function .init.text:hash__early_init_mmu() The function early_init_mmu() references the function __init hash__early_init_mmu(). This is often because early_init_mmu lacks a __init annotation or the annotation of hash__early_init_mmu is wrong. Completed OK # rm -rf /kisskb/build/linus_ppc64le_defconfig_powerpc-gcc5 # Build took: 0:03:06.626446