# 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/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc-gcc --version # < /opt/cross/kisskb/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc-ld --version # < git log --format=%s --max-count=1 b1b11d0063aab28aaf65f63cff56470bc01dc290 # < make -s -j 48 ARCH=arc O=/kisskb/build/linus_axs101_defconfig_arcompact CROSS_COMPILE=/opt/cross/kisskb/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc- axs101_defconfig # Added to kconfig CONFIG_INITRAMFS_SOURCE="" # < make -s -j 48 ARCH=arc O=/kisskb/build/linus_axs101_defconfig_arcompact CROSS_COMPILE=/opt/cross/kisskb/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc- help # make -s -j 48 ARCH=arc O=/kisskb/build/linus_axs101_defconfig_arcompact CROSS_COMPILE=/opt/cross/kisskb/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc- olddefconfig # make -s -j 48 ARCH=arc O=/kisskb/build/linus_axs101_defconfig_arcompact CROSS_COMPILE=/opt/cross/kisskb/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc- In file included from /kisskb/src/include/linux/compiler_types.h:68:0, from :0: /kisskb/src/include/linux/compiler-gcc.h:15:3: error: #error Sorry, your compiler is too old - please upgrade it. # error Sorry, your compiler is too old - please upgrade it. ^ In file included from /kisskb/src/include/linux/compiler_types.h:68:0, from :0: /kisskb/src/include/linux/compiler-gcc.h:15:3: error: #error Sorry, your compiler is too old - please upgrade it. # error Sorry, your compiler is too old - please upgrade it. ^ make[2]: *** [/kisskb/src/scripts/Makefile.build:281: scripts/mod/empty.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/string.h:6:0, from /kisskb/src/include/linux/uuid.h:12, from /kisskb/src/include/linux/mod_devicetable.h:13, from /kisskb/src/scripts/mod/devicetable-offsets.c:3: /kisskb/src/include/linux/compiler.h: In function '__read_once_word_nocheck': /kisskb/src/include/linux/compiler.h:309:2: error: implicit declaration of function '_Generic' [-Werror=implicit-function-declaration] return __READ_ONCE(*(unsigned long *)addr); ^ In file included from :0:0: /kisskb/src/include/linux/compiler_types.h:265:5: error: expected expression before 'char' char: (char)0, \ ^ /kisskb/src/include/linux/compiler.h:280:42: note: in expansion of macro '__unqual_scalar_typeof' #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x)) ^ /kisskb/src/include/linux/compiler.h:309:9: note: in expansion of macro '__READ_ONCE' return __READ_ONCE(*(unsigned long *)addr); ^ cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:114: scripts/mod/devicetable-offsets.s] Error 1 make[1]: *** [/kisskb/src/Makefile:1174: prepare0] Error 2 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 48 ARCH=arc O=/kisskb/build/linus_axs101_defconfig_arcompact CROSS_COMPILE=/opt/cross/kisskb/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_axs101_defconfig_arcompact # Build took: 0:00:04.762958