# git rev-parse -q --verify a1833a54033e4ca760ad58fa2a6469ad59b3fa1a^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify a1833a54033e4ca760ad58fa2a6469ad59b3fa1a^{commit} a1833a54033e4ca760ad58fa2a6469ad59b3fa1a # git checkout -q -f -B kisskb a1833a54033e4ca760ad58fa2a6469ad59b3fa1a # git clean -qxdf # < git log -1 # commit a1833a54033e4ca760ad58fa2a6469ad59b3fa1a # Author: Linus Torvalds # Date: Sun Jul 25 11:06:37 2021 -0700 # # smpboot: fix duplicate and misplaced inlining directive # # gcc doesn't care, but clang quite reasonably pointed out that the recent # commit e9ba16e68cce ("smpboot: Mark idle_init() as __always_inlined to # work around aggressive compiler un-inlining") did some really odd # things: # # kernel/smpboot.c:50:20: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier] # static inline void __always_inline idle_init(unsigned int cpu) # ^ # # which not only has that duplicate inlining specifier, but the new # __always_inline was put in the wrong place of the function definition. # # We put the storage class specifiers (ie things like "static" and # "extern") first, and the type information after that. And while the # compiler may not care, we put the inline specifier before the types. # # So it should be just # # static __always_inline void idle_init(unsigned int cpu) # # instead. # # Cc: Ingo Molnar # Cc: Thomas Gleixner # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 a1833a54033e4ca760ad58fa2a6469ad59b3fa1a # < make -s -j 24 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.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 24 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 24 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:4415:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4418:warning: override: reassigning to symbol GCC_PLUGIN_CYC_COMPLEXITY .config:4420:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:4421:warning: override: reassigning to symbol BPF_PRELOAD # make -s -j 24 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- /kisskb/src/kernel/trace/trace_osnoise.c: In function 'start_kthread': /kisskb/src/kernel/trace/trace_osnoise.c:1461:8: warning: 'main' is usually a function [-Wmain] void *main = osnoise_main; ^~~~ Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 # Build took: 0:04:43.162173