# git rev-parse -q --verify 18bf34080c4c3beb6699181986cc97dd712498fe^{commit} 18bf34080c4c3beb6699181986cc97dd712498fe already have revision, skipping fetch # git checkout -q -f -B kisskb 18bf34080c4c3beb6699181986cc97dd712498fe # git clean -qxdf # < git log -1 # commit 18bf34080c4c3beb6699181986cc97dd712498fe # Merge: 8160a563cfff cf01699ee220 # Author: Linus Torvalds # Date: Tue Apr 21 13:26:54 2020 -0700 # # Merge branch 'akpm' (patches from Andrew) # # Merge misc fixes from Andrew Morton: # "15 fixes" # # * emailed patches from Andrew Morton : # tools/vm: fix cross-compile build # coredump: fix null pointer dereference on coredump # mm: shmem: disable interrupt when acquiring info->lock in userfaultfd_copy path # shmem: fix possible deadlocks on shmlock_user_lock # vmalloc: fix remap_vmalloc_range() bounds checks # mm/shmem: fix build without THP # mm/ksm: fix NULL pointer dereference when KSM zero page is enabled # tools/build: tweak unused value workaround # checkpatch: fix a typo in the regex for $allocFunctions # mm, gup: return EINTR when gup is interrupted by fatal signals # mm/hugetlb: fix a addressing exception caused by huge_pte_offset # MAINTAINERS: add an entry for kfifo # mm/userfaultfd: disable userfaultfd-wp on x86_32 # slub: avoid redzone when choosing freepointer location # sh: fix build error in mm/init.c # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 18bf34080c4c3beb6699181986cc97dd712498fe # < make -s -j 24 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- randconfig KCONFIG_SEED=0xFFF89920 WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [y]: - OCXL [=y] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] # 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 CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 24 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- olddefconfig .config:6121:warning: override: reassigning to symbol MODULE_SIG .config:6122:warning: override: reassigning to symbol CPU_BIG_ENDIAN .config:6122:warning: override: CPU_BIG_ENDIAN changes choice state .config:6126:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:6130:warning: override: reassigning to symbol TRIM_UNUSED_KSYMS WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [y]: - OCXL [=y] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] # make -s -j 24 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [y]: - OCXL [=y] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [y]: - OCXL [=y] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [y]: - OCXL [=y] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] /kisskb/src/block/blk-sysfs.c: In function 'queue_wb_lat_store': /kisskb/src/block/blk-sysfs.c:471:7: warning: 'val' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/ext4/extents.c: In function 'ext4_convert_unwritten_io_end_vec': /kisskb/src/fs/ext4/extents.c:4774:23: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/kernel/eeh.c:1676:12: warning: 'proc_eeh_show' defined but not used [-Wunused-function] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/include/linux/compiler.h:199:2: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c:1763:15: note: 'page' was declared here /kisskb/src/mm/slub.c: In function 'kmem_cache_free_bulk': /kisskb/src/mm/slub.c:3013:3: warning: 'df.s' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/slub.c:3154:28: note: 'df.s' was declared here /kisskb/src/drivers/rapidio/devices/rio_mport_cdev.c: In function 'rio_mport_maint_rd': /kisskb/src/drivers/rapidio/devices/rio_mport_cdev.c:266:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/trace/ftrace.c: In function 'pid_open': /kisskb/src/kernel/trace/ftrace.c:7166:6: warning: 'seq_ops' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/trace/ftrace.c: In function 'pid_write': /kisskb/src/kernel/trace/ftrace.c:7261:9: warning: 'other_pids' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/trace/ftrace.c:7244:23: warning: 'filtered_pids' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/f2fs/file.c: In function 'f2fs_precache_extents': /kisskb/src/fs/f2fs/file.c:3268:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/block/bfq-wf2q.c: In function '__bfq_entity_update_weight_prio': /kisskb/src/block/bfq-wf2q.c:810:24: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/trace/trace_events.c: In function 'event_create_dir': /kisskb/src/kernel/trace/trace_events.c:2189:3: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/core/pcm_iec958.c: In function 'create_iec958_consumer': /kisskb/src/sound/core/pcm_iec958.c:77:9: warning: 'ws' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/fbdev/omap2/omapfb/dss/dispc.c: In function 'mgr_fld_write': /kisskb/src/include/linux/spinlock.h:408:2: warning: 'flags' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/video/fbdev/omap2/omapfb/dss/dispc.c:271:16: note: 'flags' was declared here /kisskb/src/drivers/soc/qcom/qcom-geni-se.c: In function 'geni_se_config_packing': /kisskb/src/drivers/soc/qcom/qcom-geni-se.c:409:16: warning: array subscript is below array bounds [-Warray-bounds] /kisskb/src/fs/f2fs/node.c: In function '__set_nat_cache_dirty': /kisskb/src/include/linux/list.h:70:13: warning: 'head' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/f2fs/node.c:236:24: note: 'head' was declared here /kisskb/src/drivers/iommu/io-pgtable-arm-v7s.c: In function '__arm_v7s_map.constprop.15': /kisskb/src/drivers/iommu/io-pgtable-arm-v7s.c:480:7: warning: 'cptep' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/hda/hdac_regmap.c: In function 'hda_reg_write': /kisskb/src/sound/hda/hdac_regmap.c:284:16: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/serial_core.c: In function 'uart_put_char': /kisskb/src/include/linux/spinlock.h:408:2: warning: 'flags' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/serial_core.c:553:16: note: 'flags' was declared here /kisskb/src/drivers/tty/serial/serial_core.c: In function 'uart_write': /kisskb/src/include/linux/spinlock.h:408:2: warning: 'flags' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/serial_core.c:583:16: note: 'flags' was declared here /kisskb/src/drivers/nfc/pn533/pn533.c: In function 'pn533_autopoll_complete': /kisskb/src/drivers/nfc/pn533/pn533.c:1424:6: warning: 'rc' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2598:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1859:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regcache-rbtree.c: In function 'regcache_rbtree_write': /kisskb/src/drivers/base/regmap/regcache-rbtree.c:440:8: warning: 'new_top_reg' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regcache-rbtree.c:440:8: warning: 'new_base_reg' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c: In function 'futex_atomic_op_inuser': /kisskb/src/kernel/futex.c:1686:3: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/kexec_file.c: In function 'kexec_apply_relocations': /kisskb/src/kernel/kexec_file.c:1008:3: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/bpf/test_run.c: In function 'bpf_prog_test_run_flow_dissector': /kisskb/src/net/bpf/test_run.c:606:6: warning: 'retval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/btrfs/zlib.c: In function 'zlib_compress_pages': /kisskb/src/fs/btrfs/zlib.c:227:8: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/da7219-aad.c: In function 'da7219_aad_hptest_work': /kisskb/src/sound/soc/codecs/da7219-aad.c:316:2: warning: 'pll_ctrl' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/btrfs/backref.c: In function 'is_shared_data_backref': /kisskb/src/fs/btrfs/backref.c:394:9: warning: missing braces around initializer [-Wmissing-braces] /kisskb/src/fs/btrfs/backref.c:394:9: warning: (near initialization for 'target.rbnode') [-Wmissing-braces] /kisskb/src/drivers/mtd/ubi/eba.c: In function 'try_write_vid_and_data': /kisskb/src/drivers/mtd/ubi/eba.c:988:7: warning: 'opnum' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/usb/core/config.c: In function 'usb_get_configuration': /kisskb/src/drivers/usb/core/config.c:868:6: warning: 'result' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/btrfs/reflink.c: In function 'btrfs_extent_same': /kisskb/src/fs/btrfs/reflink.c:575:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/btrfs/ref-verify.c: In function 'process_extent_item.isra.1': /kisskb/src/fs/btrfs/ref-verify.c:492:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/rt5665.c: In function 'rt5665_i2s_pin_event': /kisskb/src/sound/soc/codecs/rt5665.c:2663:33: warning: 'val2' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/rt5665.c:2660:33: warning: 'val1' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c: In function 'sh_mobile_i2c_isr_rx': /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:396:26: warning: 'data' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/io_uring.c: In function '__io_sqe_files_update': /kisskb/src/fs/io_uring.c:6701:13: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mptcp/protocol.c: In function 'mptcp_sendmsg_frag': /kisskb/src/net/mptcp/protocol.c:606:3: warning: 'dfrag_collapsed' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/hwmon/drivetemp.c: In function 'drivetemp_get_smarttemp': /kisskb/src/drivers/hwmon/drivetemp.c:250:20: warning: 'temp_raw' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/fsi/fsi-master-ast-cf.c: In function 'dump_ucode_trace': /kisskb/src/drivers/fsi/fsi-master-ast-cf.c:459:5: warning: 'p' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/sctp/output.c: In function 'sctp_packet_config': /kisskb/src/include/net/sock.h:2013:19: warning: 'sk' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/sctp/output.c:79:15: note: 'sk' was declared here WARNING: modpost: vmlinux.o(.text.unlikely+0x1fdc): Section mismatch in reference from the function .smp_setup_pacas() to the function .init.text:.allocate_paca() The function .smp_setup_pacas() references the function __init .allocate_paca(). This is often because .smp_setup_pacas lacks a __init annotation or the annotation of .allocate_paca is wrong. WARNING: modpost: vmlinux.o(.text.unlikely+0x64cc): Section mismatch in reference from the function .allocate_dart() to the function .init.text:.memblock_alloc_try_nid_raw() The function .allocate_dart() references the function __init .memblock_alloc_try_nid_raw(). This is often because .allocate_dart lacks a __init annotation or the annotation of .memblock_alloc_try_nid_raw is wrong. WARNING: modpost: vmlinux.o(.text.unlikely+0x6520): Section mismatch in reference from the function .allocate_dart() to the function .init.text:.memblock_phys_alloc_range() The function .allocate_dart() references the function __init .memblock_phys_alloc_range(). This is often because .allocate_dart lacks a __init annotation or the annotation of .memblock_phys_alloc_range is wrong. Inconsistent kallsyms data Try make KALLSYMS_EXTRA_PASS=1 as a workaround make[1]: *** [/kisskb/src/Makefile:1106: vmlinux] Error 1 make: *** [Makefile:180: sub-make] Error 2 Command 'make -s -j 24 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 # Build took: 0:06:41.965326