# git rev-parse -q --verify 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d^{commit} 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d already have revision, skipping fetch # git checkout -q -f -B kisskb 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d # git clean -qxdf # < git log -1 # commit 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d # Author: Linus Torvalds # Date: Sun Dec 27 10:56:33 2020 -0800 # # proc mountinfo: make splice available again # # Since commit 36e2c7421f02 ("fs: don't allow splice read/write without # explicit ops") we've required that file operation structures explicitly # enable splice support, rather than falling back to the default handlers. # # Most /proc files use the indirect 'struct proc_ops' to describe their # file operations, and were fixed up to support splice earlier in commits # 40be821d627c..b24c30c67863, but the mountinfo files interact with the # VFS directly using their own 'struct file_operations' and got missed as # a result. # # This adds the necessary support for splice to work for /proc/*/mountinfo # and friends. # # Reported-by: Joan Bruguera Micó # Reported-by: Jussi Kivilinna # Link: https://bugzilla.kernel.org/show_bug.cgi?id=209971 # Cc: Greg Kroah-Hartman # Cc: Christoph Hellwig # Signed-off-by: Linus Torvalds # < /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 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d # < 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- /kisskb/src/drivers/net/ethernet/freescale/fec_main.c: In function 'fec_restart': /kisskb/src/drivers/net/ethernet/freescale/fec_main.c:947: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:1665: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:35.561730