# git rev-parse -q --verify f8ad8187c3b536ee2b10502a8340c014204a1af0^{commit} f8ad8187c3b536ee2b10502a8340c014204a1af0 already have revision, skipping fetch # git checkout -q -f -B kisskb f8ad8187c3b536ee2b10502a8340c014204a1af0 # git clean -qxdf # < git log -1 # commit f8ad8187c3b536ee2b10502a8340c014204a1af0 # Author: Johannes Berg # Date: Mon Jan 25 10:16:15 2021 +0100 # # fs/pipe: allow sendfile() to pipe again # # After commit 36e2c7421f02 ("fs: don't allow splice read/write # without explicit ops") sendfile() could no longer send data # from a real file to a pipe, breaking for example certain cgit # setups (e.g. when running behind fcgiwrap), because in this # case cgit will try to do exactly this: sendfile() to a pipe. # # Fix this by using iter_file_splice_write for the splice_write # method of pipes, as suggested by Christoph. # # Cc: stable@vger.kernel.org # Fixes: 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops") # Suggested-by: Christoph Hellwig # Reviewed-by: Christoph Hellwig # Tested-by: Johannes Berg # Signed-off-by: Johannes Berg # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 f8ad8187c3b536ee2b10502a8340c014204a1af0 # < make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 allyesconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_KCOV=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_GCC_PLUGIN_STRUCTLEAK=n # Added to kconfig CONFIG_GCC_PLUGIN_RANDSTRUCT=n # Added to kconfig CONFIG_UML_NET=n # Added to kconfig CONFIG_UML_NET_ETHERTAP=n # Added to kconfig CONFIG_UML_NET_TUNTAP=n # Added to kconfig CONFIG_UML_NET_SLIP=n # Added to kconfig CONFIG_UML_NET_DAEMON=n # Added to kconfig CONFIG_UML_NET_VDE=n # Added to kconfig CONFIG_UML_NET_MCAST=n # Added to kconfig CONFIG_UML_NET_PCAP=n # Added to kconfig CONFIG_UML_NET_SLIRP=n # Added to kconfig CONFIG_GCOV_KERNEL=n # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig CONFIG_BPF_PRELOAD=n # < make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig .config:4522:warning: override: reassigning to symbol GCC_PLUGIN_CYC_COMPLEXITY .config:4524:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:4528:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:4530:warning: override: reassigning to symbol UML_NET_SLIP .config:4533:warning: override: reassigning to symbol UML_NET_MCAST .config:4535:warning: override: reassigning to symbol UML_NET_SLIRP # make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 drivers/soc/litex/litex_soc_ctrl.o: In function `litex_soc_ctrl_probe': /kisskb/src/drivers/soc/litex/litex_soc_ctrl.c:159: undefined reference to `devm_platform_ioremap_resource' drivers/net/ethernet/xilinx/ll_temac_main.o: In function `temac_probe': /kisskb/src/drivers/net/ethernet/xilinx/ll_temac_main.c:1409: undefined reference to `devm_platform_ioremap_resource_byname' /kisskb/src/drivers/net/ethernet/xilinx/ll_temac_main.c:1476: undefined reference to `devm_of_iomap' /kisskb/src/drivers/net/ethernet/xilinx/ll_temac_main.c:1502: undefined reference to `devm_platform_ioremap_resource' drivers/net/ethernet/xilinx/xilinx_axienet_main.o: In function `axienet_probe': /kisskb/src/drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1822: undefined reference to `devm_ioremap_resource' drivers/rtc/rtc-zynqmp.o: In function `xlnx_rtc_probe': /kisskb/src/drivers/rtc/rtc-zynqmp.c:232: undefined reference to `devm_platform_ioremap_resource' drivers/i3c/master/mipi-i3c-hci/core.o: In function `i3c_hci_probe': /kisskb/src/drivers/i3c/master/mipi-i3c-hci/core.c:742: undefined reference to `devm_platform_ioremap_resource' drivers/iio/adc/adi-axi-adc.o: In function `adi_axi_adc_probe': /kisskb/src/drivers/iio/adc/adi-axi-adc.c:415: undefined reference to `devm_platform_ioremap_resource' collect2: error: ld returned 1 exit status make[1]: *** [/kisskb/src/Makefile:1170: vmlinux] Error 1 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_um-allyesconfig_um-x86_64 # Build took: 0:06:07.060409