# git rev-parse -q --verify 353f7988dd8413c47718f7ca79c030b6fb62cfe5^{commit} 353f7988dd8413c47718f7ca79c030b6fb62cfe5 already have revision, skipping fetch # git checkout -q -f -B kisskb 353f7988dd8413c47718f7ca79c030b6fb62cfe5 # git clean -qxdf # < git log -1 # commit 353f7988dd8413c47718f7ca79c030b6fb62cfe5 # Author: Linus Torvalds # Date: Tue Jul 19 11:09:01 2022 -0700 # # watchqueue: make sure to serialize 'wqueue->defunct' properly # # When the pipe is closed, we mark the associated watchqueue defunct by # calling watch_queue_clear(). However, while that is protected by the # watchqueue lock, new watchqueue entries aren't actually added under that # lock at all: they use the pipe->rd_wait.lock instead, and looking up # that pipe happens without any locking. # # The watchqueue code uses the RCU read-side section to make sure that the # wqueue entry itself hasn't disappeared, but that does not protect the # pipe_info in any way. # # So make sure to actually hold the wqueue lock when posting watch events, # properly serializing against the pipe being torn down. # # Reported-by: Noam Rathaus # Cc: Greg KH # Cc: David Howells # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 353f7988dd8413c47718f7ca79c030b6fb62cfe5 # < make -s -j 120 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=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_BPF_PRELOAD=n # Added to kconfig # < make -s -j 120 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 120 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:5574:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:5579:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY # make -s -j 120 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- In file included from /kisskb/src/include/linux/mtd/spi-nor.h:10, from /kisskb/src/drivers/spi/spi-intel.c:13: /kisskb/src/include/linux/mtd/cfi.h:62:2: error: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Werror=cpp] 62 | #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. | ^~~~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:249: drivers/spi/spi-intel.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:466: drivers/spi] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1843: drivers] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 120 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 # Build took: 0:01:16.045716