# git rev-parse -q --verify 7e74e235bb31a1fefc28d5303da0718b88627ea8^{commit} 7e74e235bb31a1fefc28d5303da0718b88627ea8 already have revision, skipping fetch # git checkout -q -f -B kisskb 7e74e235bb31a1fefc28d5303da0718b88627ea8 # git clean -qxdf # < git log -1 # commit 7e74e235bb31a1fefc28d5303da0718b88627ea8 # Author: Linus Torvalds # Date: Wed May 1 12:19:20 2019 -0700 # # gcc-9: don't warn about uninitialized btrfs extent_type variable # # The 'extent_type' variable does seem to be reliably initialized, but # it's _very_ non-obvious, since there's a "goto next" case that jumps # over the normal initialization. That will then always trigger the # "start >= extent_end" test, which will end up never falling through to # the use of that variable. # # But the code is certainly not obvious, and the compiler warning looks # reasonable. Make 'extent_type' an int, and initialize it to an invalid # negative value, which seems to be the common pattern in other places. # # 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 7e74e235bb31a1fefc28d5303da0718b88627ea8 # < make -s -j 120 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 KCONFIG_SEED=0xC25E2B38 # 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 # yes \n | make -s -j 120 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- oldconfig yes: standard output: Broken pipe # make -s -j 120 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- Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 # Build took: 0:02:23.649957