mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
Hengelein's master thesis about Kconfig from 2015 wrote that 'select' does not work on member options inside of a 'choice'. So I've re-implemented his check as part of kconfirm: https://github.com/julianbraha/kconfirm and discovered several instances of these dead selects in use, and fixing them is not always trivial. For example, see: https://lore.kernel.org/all/a3b7a752-8cc4-492a-bb62-43121b852c41@app.fastmail.com/ Let's add a warning to the documentation (a place where developers are more likely to see it than a master's thesis...) Signed-off-by: Julian Braha <julianbraha@gmail.com> Reviewed-by: Kees Cook <kees@kernel.org> Link: https://patch.msgid.link/20260715220149.48700-1-julianbraha@gmail.com Signed-off-by: Nicolas Schier <nsc@kernel.org>