# git rev-parse -q --verify 932bba9c9c94d08fe4c8075bf55cafa0a5c16e2b^{commit} 932bba9c9c94d08fe4c8075bf55cafa0a5c16e2b already have revision, skipping fetch # git checkout -q -f -B kisskb 932bba9c9c94d08fe4c8075bf55cafa0a5c16e2b # git clean -qxdf # < git log -1 # commit 932bba9c9c94d08fe4c8075bf55cafa0a5c16e2b # Author: Christophe Leroy # Date: Wed Jan 22 17:52:50 2020 +0000 # # powerpc/32s: Drop NULL addr verification # # NULL addr is a user address. Don't waste time checking it. If # someone tries to access it, it will SIGFAULT the same way as for # address 1, so no need to make it special. # # The special case is when not doing a write, in that case we want # to drop the entire function. This is now handled by 'dir' param # and not by the nulity of 'to' anymore. # # Also make beginning of prevent_user_access() similar # to beginning of allow_user_access(), and tell the compiler # that writing in kernel space or with a 0 length is unlikely # # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/d79cb9f680f4e971e05262303103a4b94baa91ce.1579715466.git.christophe.leroy@c-s.fr # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 932bba9c9c94d08fe4c8075bf55cafa0a5c16e2b # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0xD18DC5AC # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=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_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/arch/powerpc/xmon/xmon.c:64: /kisskb/src/arch/powerpc/xmon/dis-asm.h: In function 'print_insn_powerpc': /kisskb/src/arch/powerpc/xmon/dis-asm.h:16:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%.8x", insn); ~~~^ ~~~~ %.8lx /kisskb/src/arch/powerpc/xmon/dis-asm.h: In function 'print_insn_spu': /kisskb/src/arch/powerpc/xmon/dis-asm.h:22:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%.8x", insn); ~~~^ ~~~~ %.8lx /kisskb/src/kernel/trace/trace_events_inject.c: In function 'event_inject_write': /kisskb/src/kernel/trace/trace_events_inject.c:215:10: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] char *addr = (char *)(unsigned long) val; ^~~~ /kisskb/src/kernel/trace/trace_events_inject.c:198:6: note: 'val' was declared here u64 val; ^~~ /kisskb/src/kernel/watchdog.c:47:23: warning: 'watchdog_allowed_mask' defined but not used [-Wunused-variable] static struct cpumask watchdog_allowed_mask __read_mostly; ^~~~~~~~~~~~~~~~~~~~~ Failed to generate BTF for vmlinux Try to disable CONFIG_DEBUG_INFO_BTF make[1]: *** [/kisskb/src/Makefile:1078: vmlinux] Error 1 make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc8 # Build took: 0:04:49.841233