Thread (23 messages) 23 messages, 3 authors, 2023-12-28

Re: [RFC][PATCH] kconfig: introduce listunknownconfig

From: Masahiro Yamada <masahiroy@kernel.org>
Date: 2023-08-26 01:13:50
Also in: linux-kbuild, lkml

On Thu, Aug 24, 2023 at 7:50 PM Sergey Senozhatsky
[off-list ref] wrote:
On (23/08/24 10:00), Masahiro Yamada wrote:
quoted
For the MFD_RK808 case particularly,
I believe Kconfig showed MFD_RK8XX_I2C
as a new option.
I think there were some other unmet dependencies for MFD_RK8XX_I2C and
I don't think the new config was shown. But even if it was, we still
would have no idea that this meant "MFD_RK808 is not available anymore
and the corresponding code won't get compiled". So the "this is not
recognized anymore" is still needed and is quite helpful.

Would you be OK with "list missing" being a warning (not a terminal
condition)?

I am fine with implementing both.

But, I'd like to implement them as separate options.
(one option for warn unknown symbols,
another for for turning warnings into errors)



As I replied to Tomasz, I am considering about
env variables vs command line options associated with W= option.





--
Best Regards
Masahiro Yamada
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help