# git rev-parse -q --verify 50560ce6a0bdab2fc37384c52aa02c7043909d2c^{commit} 50560ce6a0bdab2fc37384c52aa02c7043909d2c already have revision, skipping fetch # git checkout -q -f -B kisskb 50560ce6a0bdab2fc37384c52aa02c7043909d2c # git clean -qxdf # < git log -1 # commit 50560ce6a0bdab2fc37384c52aa02c7043909d2c # Merge: 29c8c18363ee 1e24078113ae # Author: Linus Torvalds # Date: Fri Mar 25 11:48:01 2022 -0700 # # Merge tag 'kbuild-gnu11-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild # # Pull Kbuild update for C11 language base from Masahiro Yamada: # "Kbuild -std=gnu11 updates for v5.18 # # Linus pointed out the benefits of C99 some years ago, especially # variable declarations in loops [1]. At that time, we were not ready # for the migration due to old compilers. # # Recently, Jakob Koschel reported a bug in list_for_each_entry(), which # leaks the invalid pointer out of the loop [2]. In the discussion, we # agreed that the time had come. Now that GCC 5.1 is the minimum # compiler version, there is nothing to prevent us from going to # -std=gnu99, or even straight to -std=gnu11. # # Discussions for a better list iterator implementation are ongoing, but # this patch set must land first" # # [1] https://lore.kernel.org/all/CAHk-=wgr12JkKmRd21qh-se-_Gs69kbPgR9x4C+Es-yJV2GLkA@mail.gmail.com/ # [2] https://lore.kernel.org/lkml/86C4CE7D-6D93-456B-AA82-F8ADEACA40B7@gmail.com/ # # * tag 'kbuild-gnu11-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: # Kbuild: use -std=gnu11 for KBUILD_USERCFLAGS # Kbuild: move to -std=gnu11 # Kbuild: use -Wdeclaration-after-statement # Kbuild: add -Wno-shift-negative-value where -Wextra is used # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 50560ce6a0bdab2fc37384c52aa02c7043909d2c # < make -s -j 48 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- allmodconfig # Added to kconfig CONFIG_64BIT=n # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_HAVE_FTRACE_MCOUNT_RECORD=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 48 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- help # make -s -j 48 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- olddefconfig # make -s -j 48 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/arch/sparc/include/asm/cacheflush.h:11:0, from /kisskb/src/include/linux/cacheflush.h:5, from /kisskb/src/drivers/crypto/xilinx/zynqmp-sha.c:6: /kisskb/src/arch/sparc/include/asm/cacheflush_32.h:38:37: error: 'struct page' declared inside parameter list [-Werror] void sparc_flush_page_to_ram(struct page *page); ^ /kisskb/src/arch/sparc/include/asm/cacheflush_32.h:38:37: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:288: drivers/crypto/xilinx/zynqmp-sha.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/crypto/xilinx] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/crypto] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1832: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 48 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_sparc-allmodconfig_sparc64 # Build took: 0:11:19.347802