Re: kconfig: list unknown symbols in the old .config

From: Jesse T
Date: Sat Aug 19 2023 - 20:12:26 EST


On Sat, Aug 19, 2023 at 3:37 PM Sergey Senozhatsky
<senozhatsky@xxxxxxxxxxxx> wrote:
>
> Hi,
>
> We recently were hit (unnecessarily hard) when after kernel uprev we
> figured that something wasn't working. The root cause was a rename of
> the CONFIG_FOO option between kernel releases, which make oldconfig
> doesn't warn/notify about.
>
> Would it be possible to add either a new --listunknown mode to conf or
> to somehow make it conf_warning("unknown symbol: %s\n", line) when it
> reads a line from oldconf that it cannot sym_find()?

This makes sense and I brought up this scenario a couple of days ago
on a recent patch.
I can make a patch for this if needed.

Thanks,
Jesse Taube

>
> That would save a ton of time.