Buildresult: kbuild/m68k-defconfig/m68k-gcc13 built on Apr 27, 01:10
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Apr 27, 01:10
Duration:
0:02:04.704796
Builder:
ka7
Revision:
kconfig: remove 'optional' property support (
15989401e52470508e8d7f73e2264fda2161f679)
Target:
kbuild/m68k-defconfig/m68k-gcc13
Branch:
kbuild
Compiler:
m68k-gcc13
(m68k-linux-gcc (GCC) 13.1.0 / GNU ld (GNU Binutils) 2.40)
Config:
defconfig
(
download
)
Log:
Download original
Possible warnings (1)
fs/bcachefs/btree_io.c:891:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 12 has type 'unsigned int' [-Wformat=]
Full Log
# git rev-parse -q --verify 15989401e52470508e8d7f73e2264fda2161f679^{commit} 15989401e52470508e8d7f73e2264fda2161f679 already have revision, skipping fetch # git checkout -q -f -B kisskb 15989401e52470508e8d7f73e2264fda2161f679 # git clean -qxdf # < git log -1 # commit 15989401e52470508e8d7f73e2264fda2161f679 # Author: Masahiro Yamada <masahiroy@kernel.org> # Date: Tue Apr 23 01:41:04 2024 +0900 # # kconfig: remove 'optional' property support # # The 'choice' statement is primarily used to exclusively select one # option, but the 'optional' property allows all entries to be disabled. # # In the following example, both A and B can be disabled simultaneously: # # choice # prompt "choose A, B, or nothing" # optional # # config A # bool "A" # # config B # bool "B" # # endchoice # # You can achieve the equivalent outcome by other means. # # A common solution is to add another option to guard the choice block. # In the following example, you can set ENABLE_A_B_CHOICE=n to disable # the entire choice block: # # choice # prompt "choose A or B" # depends on ENABLE_A_B_CHOICE # # config A # bool "A" # # config B # bool "B" # # endchoice # # Another approach is to insert one more entry: # # choice # prompt "choose A, B, or disable both" # # config A # bool "A" # # config B # bool "B" # # config DISABLE_A_AND_B # bool "choose this to disable both A and B" # # endchoice # # Some real examples are DEBUG_INFO_NONE, INITRAMFS_COMPRESSION_NONE, # LTO_NONE, etc. # # The 'optional' property is even more unnecessary for a tristate choice. # # Without the 'optional' property, you can disable A and B; you can set # 'm' in the choice prompt, and disable A and B individually: # # choice # prompt "choose one built-in or make them modular" # # config A # tristate "A" # # config B # tristate "B" # # endchoice # # In conclusion, the 'optional' property was unneeded. # # Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> # Reviewed-by: Nicolas Schier <n.schier@avm.de> # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 15989401e52470508e8d7f73e2264fda2161f679 # make -s -j 32 ARCH=m68k O=/kisskb/build/kbuild_defconfig_m68k-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/m68k-linux/bin/m68k-linux- defconfig # < make -s -j 32 ARCH=m68k O=/kisskb/build/kbuild_defconfig_m68k-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 32 ARCH=m68k O=/kisskb/build/kbuild_defconfig_m68k-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 32 ARCH=m68k O=/kisskb/build/kbuild_defconfig_m68k-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/m68k-linux/bin/m68k-linux- /kisskb/src/fs/bcachefs/btree_io.c: In function 'validate_bset_keys': /kisskb/src/fs/bcachefs/btree_io.c:891:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 12 has type 'unsigned int' [-Wformat=] 891 | "bad k->u64s %u (min %u max %lu)", k->u64s, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/bcachefs/btree_io.c:603:32: note: in definition of macro 'btree_err' 603 | msg, ##__VA_ARGS__); \ | ^~~ /kisskb/src/fs/bcachefs/btree_io.c:887:21: note: in expansion of macro 'btree_err_on' 887 | if (btree_err_on(!bkeyp_u64s_valid(&b->format, k), | ^~~~~~~~~~~~ /kisskb/src/fs/bcachefs/btree_io.c:891:64: note: format string is defined here 891 | "bad k->u64s %u (min %u max %lu)", k->u64s, | ~~^ | | | long unsigned int | %u Completed OK # rm -rf /kisskb/build/kbuild_defconfig_m68k-gcc13 # Build took: 0:02:04.704796
© Michael Ellerman 2006-2018.