# git rev-parse -q --verify 6929f71e46bdddbf1c4d67c2728648176c67c555^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify 6929f71e46bdddbf1c4d67c2728648176c67c555^{commit} 6929f71e46bdddbf1c4d67c2728648176c67c555 # 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-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 6929f71e46bdddbf1c4d67c2728648176c67c555 # < make -s -j 24 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig KCONFIG_SEED=0x7DEC4B6E # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # < make -s -j 24 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 24 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:5930:warning: override: reassigning to symbol STANDALONE .config:5931:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD # make -s -j 24 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- /kisskb/src/security/smack/smack_lsm.c: In function 'smack_socket_connect': /kisskb/src/security/smack/smack_lsm.c:2838:24: warning: unused variable 'sip' [-Wunused-variable] struct sockaddr_in6 *sip = (struct sockaddr_in6 *)sap; ^~~ /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]; ^~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c: In function 'amdgpu_bo_support_uswc': /kisskb/src/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:494:2: warning: #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance thanks to write-combining [-Wcpp] #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance \ ^~~~~~~ /kisskb/src/drivers/gpu/drm/radeon/radeon_object.c: In function 'radeon_bo_create': /kisskb/src/drivers/gpu/drm/radeon/radeon_object.c:243:2: warning: #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance thanks to write-combining [-Wcpp] #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance \ ^~~~~~~ arch/x86/tools/insn_decoder_test: success: Decoded and checked 6650315 instructions arch/x86/tools/insn_sanity: Success: decoded and checked 1000000 random instructions with 0 errors (seed:0xfc42e519) Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 # Build took: 0:07:47.384231