# 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 80 ARCH=powerpc O=/kisskb/build/powerpc-next_c2k_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- c2k_defconfig arch/powerpc/platforms/Kconfig.cputype:99:warning: prompt redefined warning: (PPC_C2K && AMIGAONE) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || PPC_8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON) warning: (PPC_C2K && AMIGAONE) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || PPC_8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON) # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_c2k_defconfig_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 warning: (PPC_C2K && AMIGAONE) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || PPC_8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON) warning: (PPC_C2K && AMIGAONE) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || PPC_8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON) INFO: Uncompressed kernel (size 0x6b7f84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-4.16.0-rc4-g1aef885 Created: Sun Apr 1 02:28:00 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3285529 Bytes = 3208.52 kB = 3.13 MB Load Address: 00700000 Entry Point: 00700508 Completed OK # rm -rf /kisskb/build/powerpc-next_c2k_defconfig_powerpc-5.3 # Build took: 0:01:43.710790