# git rev-parse -q --verify 39d5b46d86e7226eafa32556ddd7abb0382c01b1^{commit} 39d5b46d86e7226eafa32556ddd7abb0382c01b1 already have revision, skipping fetch # git checkout -q -f -B kisskb 39d5b46d86e7226eafa32556ddd7abb0382c01b1 # git clean -qxdf # < git log -1 # commit 39d5b46d86e7226eafa32556ddd7abb0382c01b1 # Author: Masahiro Yamada # Date: Mon Nov 6 03:10:47 2023 +0900 # # kconfig: do not clear SYMBOL_DEF_USER when the value is out of range # # When a user-supplied value is out of range, (NEW) and an incorrect default # value are shown. # # [Test Kconfig] # # config FOO # int "foo" # range 10 20 # # [Test .config] # # CONFIG_FOO=30 # # [Result without this fix] # # $ make config # * # * Main menu # * # foo (FOO) [10] (NEW) # # [Result with this fix] # # $ make config # * # * Main menu # * # foo (FOO) [20] # # Currently, the SYMBOL_DEF_USER is cleared if the user input does not # reside within the range. Kconfig forgets the initial value 30, and # prints (NEW) and an incorrect default [10]. # # Kconfig should remember the user's input. The default should be [20] # because the user's input, 30, is closer to the upper limit of the range. # # Please note it will not show up in "make oldconfig" because it is no # longer considered as a new symbol. It also fixes the inconsistent # behavior in listnewconfig/helpnewconfig. # # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 39d5b46d86e7226eafa32556ddd7abb0382c01b1 # make -s -j 160 ARCH=sparc64 O=/kisskb/build/kbuild_defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- defconfig # < make -s -j 160 ARCH=sparc64 O=/kisskb/build/kbuild_defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 160 ARCH=sparc64 O=/kisskb/build/kbuild_defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 160 ARCH=sparc64 O=/kisskb/build/kbuild_defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] cc1: warning: unrecognized command line option '-Wno-shift-negative-value' WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned. Is "_mcount" prototyped in ? kernel: arch/sparc/boot/image is ready kernel: arch/sparc/boot/zImage is ready Completed OK # rm -rf /kisskb/build/kbuild_defconfig_sparc64-gcc5 # Build took: 0:01:24.350589