# 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.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 19e68b2aec3c0a2bd770d3c358a296a1849f308a # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:10:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:77:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc8ddc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842206 Bytes = 5705.28 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842190 Bytes = 5705.26 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842114 Bytes = 5705.19 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5844604 Bytes = 5707.62 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5818404 Bytes = 5682.04 kB = 5.55 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842078 Bytes = 5705.15 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842210 Bytes = 5705.28 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5844715 Bytes = 5707.73 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5841938 Bytes = 5705.02 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842398 Bytes = 5705.47 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5843824 Bytes = 5706.86 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5844019 Bytes = 5707.05 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842106 Bytes = 5705.18 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842158 Bytes = 5705.23 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842111 Bytes = 5705.19 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-g19e68b2 Created: Mon Apr 2 19:39:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842079 Bytes = 5705.16 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-5.3 # Build took: 0:01:10.717351