# 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-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 19e68b2aec3c0a2bd770d3c358a296a1849f308a # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- randconfig KCONFIG_SEED=0x2AB76EA0 # 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 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/drivers/dma-buf/reservation.c: In function 'reservation_object_add_shared_replace': /kisskb/src/drivers/dma-buf/reservation.c:207:2: warning: 'k' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma-buf/reservation.c:210:7: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/bridge/br_netlink.c: In function 'br_process_vlan_info.isra.26': /kisskb/src/net/bridge/br_netlink.c:577:10: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1439:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1268:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/rcu/srcutree.c: In function 'init_srcu_struct_nodes': /kisskb/src/kernel/rcu/srcutree.c:146:32: warning: 'levelspread[]' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/input/rmi4/rmi_f11.c: In function 'rmi_f11_finger_handler': /kisskb/src/drivers/input/rmi4/rmi_f11.c:631:3: warning: 'abs_fingers' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c: In function 'gk104_top_oneinit': /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c:101:1: warning: 'inst' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c:101:1: warning: 'type' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'serial_unlink_irq_chain': /kisskb/src/drivers/tty/serial/8250/8250_core.c:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/nv50_display.c: In function 'nv50_head_lut_load': /kisskb/src/arch/powerpc/include/asm/io.h:178:1: warning: 'b' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/nv50_display.c:1813:18: note: 'b' was declared here /kisskb/src/arch/powerpc/include/asm/io.h:178:1: warning: 'g' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/nv50_display.c:1813:15: note: 'g' was declared here /kisskb/src/arch/powerpc/include/asm/io.h:178:1: warning: 'r' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/nv50_display.c:1813:12: note: 'r' was declared here WARNING: vmlinux.o(.text.unlikely+0x3c8): Section mismatch in reference from the function .init_fallback_flush() to the function .init.text:.ppc64_bolted_size() The function .init_fallback_flush() references the function __init .ppc64_bolted_size(). This is often because .init_fallback_flush lacks a __init annotation or the annotation of .ppc64_bolted_size is wrong. WARNING: vmlinux.o(.text.unlikely+0x3f4): Section mismatch in reference from the function .init_fallback_flush() to the function .init.text:.memblock_alloc_base() The function .init_fallback_flush() references the function __init .memblock_alloc_base(). This is often because .init_fallback_flush lacks a __init annotation or the annotation of .memblock_alloc_base is wrong. WARNING: drivers/hwmon/ibmpowernv.o(.text+0xbac): Section mismatch in reference from the function .create_device_attrs() to the function .init.text:.make_sensor_label() The function .create_device_attrs() references the function __init .make_sensor_label(). This is often because .create_device_attrs lacks a __init annotation or the annotation of .make_sensor_label is wrong. Completed OK # rm -rf /kisskb/build/powerpc-next_powerpc-randconfig_powerpc # Build took: 0:03:39.787487