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

From: Sergey Senozhatsky
Date: Wed Aug 16 2023 - 23:45:32 EST


On (23/08/17 10:19), Sergey Senozhatsky wrote:
> The listunknownconfig option reads old .config and lists
> all unrecognized symbols. This is especially useful for
> continuous kernel uprevs when some symbols can be either
> removed or renamed between kernel releases (which can go
> unnoticed otherwise).
>
> A recent real-life example of such a symbol rename
> that quietly disabled some drivers after kernel uprev
> is MFD_RK808 rename.
>
> Example:
> Suppose old .config has the following two options which
> were removed from the recent kernel:
>
> $ cat .config
> CONFIG_DISABLE_BUGS=y

Uh, I see what happened there. The correct output is

$ cat .config
CONFIG_DISABLE_BUGS=y
# CONFIG_ENABLE_WINAPI is not set