# git rev-parse -q --verify d7b66b4ab0344dcc4bf169e0bbfda6234cdf6966^{commit} d7b66b4ab0344dcc4bf169e0bbfda6234cdf6966 already have revision, skipping fetch # git checkout -q -f -B kisskb d7b66b4ab0344dcc4bf169e0bbfda6234cdf6966 # git clean -qxdf # < git log -1 # commit d7b66b4ab0344dcc4bf169e0bbfda6234cdf6966 # Merge: d883c6c d501473 # Author: Linus Torvalds # Date: Thu May 24 11:47:43 2018 -0700 # # Merge tag 'for-4.17-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux # # Pull btrfs fix from David Sterba: # "A one-liner that prevents leaking an internal error value 1 out of the # ftruncate syscall. # # This has been observed in practice. The steps to reproduce make a # common pattern (open/write/fync/ftruncate) but also need the # application to not check only for negative values and happens only for # compressed inlined files. # # The conditions are narrow but as this could break userspace I think # it's better to merge it now and not wait for the merge window" # # * tag 'for-4.17-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux: # Btrfs: fix error handling in btrfs_truncate() # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 d7b66b4ab0344dcc4bf169e0bbfda6234cdf6966 # < make -s -j 48 ARCH=sh O=/kisskb/build/linus_sh-randconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- randconfig KCONFIG_SEED=0x6343C10E # Added to kconfig CONFIG_STANDALONE=y # yes \n | make -s -j 48 ARCH=sh O=/kisskb/build/linus_sh-randconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 48 ARCH=sh O=/kisskb/build/linus_sh-randconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1317:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] :1320:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] :1323:2: warning: #warning syscall pkey_free not implemented [-Wcpp] :1326:2: warning: #warning syscall statx not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:89: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:208: Warning: overflow in branch to syscall_call; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:356: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:358: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:389: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence In file included from /kisskb/src/arch/sh/math-emu/math.c:23:0: /kisskb/src/include/math-emu/single.h:50:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] In file included from /kisskb/src/arch/sh/math-emu/math.c:24:0: /kisskb/src/include/math-emu/double.h:59:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] /kisskb/src/arch/sh/math-emu/math.c:54:0: warning: "WRITE" redefined [enabled by default] /kisskb/src/include/linux/kernel.h:65:0: note: this is the location of the previous definition /kisskb/src/arch/sh/math-emu/math.c:55:0: warning: "READ" redefined [enabled by default] /kisskb/src/include/linux/kernel.h:64:0: note: this is the location of the previous definition /kisskb/src/arch/sh/math-emu/math.c: In function 'fcmp_gt': /kisskb/src/arch/sh/math-emu/math.c:81:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:81:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c: In function 'fcmp_eq': /kisskb/src/arch/sh/math-emu/math.c:92:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:92:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c: In function 'fadd': /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:108:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: In function 'fsub': /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:115:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: In function 'fmul': /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:122:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: In function 'fdiv': /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:129:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: In function 'fmac': /kisskb/src/arch/sh/math-emu/math.c:145:2: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:145:2: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:147:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:147:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:147:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: In function 'ffloat': /kisskb/src/arch/sh/math-emu/math.c:294:3: warning: right shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:294:3: warning: right shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:294:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:294:3: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:294:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:294:3: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:294:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:296:3: warning: right shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:296:3: warning: right shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:296:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:296:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:296:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: In function 'ftrc': /kisskb/src/arch/sh/math-emu/math.c:310:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:310:1: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:310:1: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:310:1: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:310:1: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c: In function 'fcnvsd': /kisskb/src/arch/sh/math-emu/math.c:323:2: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:324:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:324:2: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:324:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:324:2: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:324:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: In function 'fcnvds': /kisskb/src/arch/sh/math-emu/math.c:333:1: warning: left shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:334:2: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:334:2: warning: left shift count >= width of type [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:334:2: warning: right shift count is negative [enabled by default] /kisskb/src/arch/sh/math-emu/math.c:335:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:335:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c:335:1: warning: statement with no effect [-Wunused-value] /kisskb/src/arch/sh/math-emu/math.c: At top level: /kisskb/src/arch/sh/math-emu/math.c:505:12: warning: 'ieee_fpe_handler' defined but not used [-Wunused-function] /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/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/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2497: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:1819:6: warning: 'ret' 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:282:16: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/nobootmem.c: In function '__alloc_memory_core_early': /kisskb/src/mm/nobootmem.c:65:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:340:21: note: 'pdeo' was declared here /kisskb/src/sound/soc/codecs/arizona.c: In function 'arizona_hw_params': /kisskb/src/sound/soc/codecs/arizona.c:1893:3: warning: 'aif_rx_state' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/arizona.c:1890:3: warning: 'aif_tx_state' 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:318:17: warning: 'pll_ctrl' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma-buf/reservation.c: In function 'reservation_object_add_shared_replace': /kisskb/src/drivers/dma-buf/reservation.c:155:1: warning: 'k' 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:2666:33: warning: 'val2' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/rt5665.c:2663:33: warning: 'val1' 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/mfd/arizona-core.c: In function 'arizona_dev_init': /kisskb/src/drivers/mfd/arizona-core.c:1387:6: warning: 'n_subdevs' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/sh/clk/cpg.c: In function 'r8': /kisskb/src/drivers/sh/clk/cpg.c:41:2: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r16': /kisskb/src/drivers/sh/clk/cpg.c:46:2: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:30:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r32': /kisskb/src/drivers/sh/clk/cpg.c:51:2: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/mfd/htc-pasic3.c: In function 'pasic3_remove': /kisskb/src/drivers/mfd/htc-pasic3.c:189:22: warning: unused variable 'asic' [-Wunused-variable] /kisskb/src/drivers/net/ethernet/freescale/fsl_pq_mdio.c: In function 'fsl_pq_mdio_remove': /kisskb/src/drivers/net/ethernet/freescale/fsl_pq_mdio.c:523:27: warning: unused variable 'priv' [-Wunused-variable] Kernel: arch/sh/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_sh-randconfig_sh4 # Build took: 0:02:00.758046