Thread (107 messages) 107 messages, 7 authors, 2026-04-05

Re: [PATCH 29/33] docs: rust: general-information: simplify Kconfig example

From: Tamir Duberstein <tamird@kernel.org>
Date: 2026-04-01 23:01:47
Also in: dri-devel, linux-block, linux-doc, linux-kbuild, linux-kselftest, linux-riscv, lkml, llvm, nouveau, rust-for-linux

On Wed, 01 Apr 2026 13:45:36 +0200, Miguel Ojeda [off-list ref] wrote:
There is no need to use `def_bool y if <expr>` -- one can simply write
`def_bool <expr>`.

In fact, the simpler form is how we actually use them in practice in
`init/Kconfig`.

Thus simplify the example.

[...]
Reviewed-by: Tamir Duberstein <tamird@kernel.org>

-- 
Tamir Duberstein [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help