# git rev-parse -q --verify 19e68b2aec3c0a2bd770d3c358a296a1849f308a^{commit} 19e68b2aec3c0a2bd770d3c358a296a1849f308a already have revision, skipping fetch # git checkout -q -f -B kisskb 19e68b2aec3c0a2bd770d3c358a296a1849f308a # git clean -qxdf # < git log -1 # commit 19e68b2aec3c0a2bd770d3c358a296a1849f308a # 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.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux-gcc --version # < git log --format=%s --max-count=1 19e68b2aec3c0a2bd770d3c358a296a1849f308a # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig+STRICT_RWX_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- powernv_defconfig # Added to kconfig CONFIG_RELOCATABLE=n # Added to kconfig CONFIG_STRICT_KERNEL_RWX=y # yes \n | make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig+STRICT_RWX_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig+STRICT_RWX_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- WARNING: modpost: Found 4 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' Completed OK # rm -rf /kisskb/build/powerpc-next_powernv_defconfig+STRICT_RWX_ppc64le # Build took: 0:01:26.493099