# git rev-parse -q --verify b1b11d0063aab28aaf65f63cff56470bc01dc290^{commit} b1b11d0063aab28aaf65f63cff56470bc01dc290 already have revision, skipping fetch # git checkout -q -f -B kisskb b1b11d0063aab28aaf65f63cff56470bc01dc290 # git clean -qxdf # < git log -1 # commit b1b11d0063aab28aaf65f63cff56470bc01dc290 # Merge: 1bfde037425d 775802c0571f # Author: Linus Torvalds # Date: Fri Jul 10 09:45:15 2020 -0700 # # Merge tag 'cleanup-kernel_read_write' of git://git.infradead.org/users/hch/misc # # Pull in-kernel read and write op cleanups from Christoph Hellwig: # "Cleanup in-kernel read and write operations # # Reshuffle the (__)kernel_read and (__)kernel_write helpers, and ensure # all users of in-kernel file I/O use them if they don't use iov_iter # based methods already. # # The new WARN_ONs in combination with syzcaller already found a missing # input validation in 9p. The fix should be on your way through the # maintainer ASAP". # # [ This is prep-work for the real changes coming 5.9 ] # # * tag 'cleanup-kernel_read_write' of git://git.infradead.org/users/hch/misc: # fs: remove __vfs_read # fs: implement kernel_read using __kernel_read # integrity/ima: switch to using __kernel_read # fs: add a __kernel_read helper # fs: remove __vfs_write # fs: implement kernel_write using __kernel_write # fs: check FMODE_WRITE in __kernel_write # fs: unexport __kernel_write # bpfilter: switch to kernel_write # autofs: switch to kernel_write # cachefiles: switch to kernel_write # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 b1b11d0063aab28aaf65f63cff56470bc01dc290 # < make -s -j 80 ARCH=sh O=/kisskb/build/linus_hp6xx_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- hp6xx_defconfig # < make -s -j 80 ARCH=sh O=/kisskb/build/linus_hp6xx_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 80 ARCH=sh O=/kisskb/build/linus_hp6xx_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 80 ARCH=sh O=/kisskb/build/linus_hp6xx_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1511:2: warning: #warning syscall clone3 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:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/drivers/sh/clk/cpg.c: In function 'r8': /kisskb/src/drivers/sh/clk/cpg.c:41:17: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type return ioread8(addr); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:21:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread8(void __iomem *); ^ /kisskb/src/drivers/sh/clk/cpg.c: In function 'r16': /kisskb/src/drivers/sh/clk/cpg.c:46:18: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type return ioread16(addr); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:21:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:30:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread16(void __iomem *); ^ /kisskb/src/drivers/sh/clk/cpg.c: In function 'r32': /kisskb/src/drivers/sh/clk/cpg.c:51:18: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type return ioread32(addr); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:21:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread32(void __iomem *); ^ Kernel: arch/sh/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_hp6xx_defconfig_sh4-gcc4.9 # Build took: 0:00:31.382232