# 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-8.1.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 b1b11d0063aab28aaf65f63cff56470bc01dc290 # < make -s -j 24 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- m5272c3_defconfig # < make -s -j 24 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 24 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 24 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/arch/m68k/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/spinlock.h:460, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:13, from /kisskb/src/net/core/filter.c:20: /kisskb/src/net/core/filter.c: In function 'bpf_clear_redirect_map': /kisskb/src/arch/m68k/include/asm/cmpxchg.h:137:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr), (unsigned long)(o),\ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned long)(n), sizeof(*(ptr)))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/cmpxchg.h:106:28: note: in expansion of macro 'cmpxchg_local' #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) ^~~~~~~~~~~~~ /kisskb/src/net/core/filter.c:3569:4: note: in expansion of macro 'cmpxchg' cmpxchg(&ri->map, map, NULL); ^~~~~~~ /kisskb/src/drivers/net/ethernet/freescale/fec_main.c: In function 'fec_restart': /kisskb/src/drivers/net/ethernet/freescale/fec_main.c:949:6: warning: unused variable 'val' [-Wunused-variable] u32 val; ^~~ /kisskb/src/drivers/net/ethernet/freescale/fec_main.c: In function 'fec_get_mac': /kisskb/src/drivers/net/ethernet/freescale/fec_main.c:1692:28: warning: unused variable 'pdata' [-Wunused-variable] struct fec_platform_data *pdata = dev_get_platdata(&fep->pdev->dev); ^~~~~ Completed OK # rm -rf /kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 # Build took: 0:00:37.002523