# git rev-parse -q --verify 1aef88518678831a752fdf57fa2208114575b08f^{commit} 1aef88518678831a752fdf57fa2208114575b08f already have revision, skipping fetch # git checkout -q -f -B kisskb 1aef88518678831a752fdf57fa2208114575b08f # git clean -qxdf # < git log -1 # commit 1aef88518678831a752fdf57fa2208114575b08f # Author: Mathieu Malaterre # Date: Thu Mar 22 22:03:18 2018 +0100 # # powerpc/mm/radix: Fix always false comparison against MMU_NO_CONTEXT # # In commit 9690c1574268 ("powerpc/mm/radix: Fix always false comparison # against MMU_NO_CONTEXT") an issue was discovered where `mm->context.id` was # being truncated to an `unsigned int`, while the PID is actually an # `unsigned long`. Update the earlier patch by fixing one remaining # occurrence. Discovered during a compilation with W=1: # # arch/powerpc/mm/tlb-radix.c:702:19: error: comparison is always false due to limited range of data type [-Werror=type-limits] # # Signed-off-by: Mathieu Malaterre # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 1aef88518678831a752fdf57fa2208114575b08f # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-randconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0x3668A850 arch/powerpc/platforms/Kconfig.cputype:99:warning: prompt redefined # 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 # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-randconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-randconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- arch/powerpc/platforms/Kconfig.cputype:99:warning: prompt redefined lib/raid6/int8.c: In function 'raid6_int8_xor_syndrome': lib/raid6/int8.c:328:1: warning: the frame size of 2128 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ /kisskb/src/crypto/twofish_common.c: In function '__twofish_setkey': /kisskb/src/crypto/twofish_common.c:699:1: warning: the frame size of 3536 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^ In file included from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:40:0: /kisskb/src/drivers/net/ethernet/aurora/nb8800.h:92:0: warning: "TCR_DIE" redefined #define TCR_DIE BIT(7) ^ In file included from /kisskb/src/arch/powerpc/include/asm/reg.h:19:0, from /kisskb/src/arch/powerpc/include/asm/processor.h:13, from /kisskb/src/arch/powerpc/include/asm/thread_info.h:26, from /kisskb/src/include/linux/thread_info.h:38, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:23: /kisskb/src/arch/powerpc/include/asm/reg_booke.h:554:0: note: this is the location of the previous definition #define TCR_DIE TCR_PIE /* DEC Interrupt Enable */ ^ ERROR: start_text address is c000000000000200, should be c000000000000100 ERROR: try to enable LD_HEAD_STUB_CATCH config option ERROR: see comments in arch/powerpc/tools/head_check.sh /kisskb/src/arch/powerpc/Makefile.postlink:30: recipe for target 'vmlinux' failed make[2]: *** [vmlinux] Error 1 /kisskb/src/Makefile:1032: recipe for target 'vmlinux' failed make[1]: *** [vmlinux] Error 2 Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-randconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_powerpc-randconfig_powerpc-5.3 # Build took: 0:05:25.258375