Re: [PATCH v2] kconfig: add unexpected data itself to warning

From: Michal Marek
Date: Tue May 10 2016 - 11:21:20 EST


On Wed, Apr 27, 2016 at 09:20:17PM +0200, Paul Bolle wrote:
> Hi Michal,
>
> On wo, 2016-03-16 at 21:27 +0100, Paul Bolle wrote:
> > If the .config parser runs into unexpected data it emits warnings
> > like:
> > .config:6911:warning: unexpected data
> >
> > Add the unexpected data itself to this warning. That makes it easier to
> > discover what is actually going wrong:
> > .config:6911:warning: unexpected data: CONFOG_CHARGER_TPS65217=m
> >
> > Signed-off-by: Paul Bolle <pebolle@xxxxxxxxxx>
> > ---
> > This v2 uses strcspn, as Michal suggesed. That turns a two patch series into a
> > more elegant oneliner. It apparently pays off to know what string.h has to
> > offer!
>
> Nothing happened after I sent v2, as far as I can tell. Did this
> oneliner fall through the cracks?

The kbuild maintainer has fallen through cracks for a while ;). Applied
to kbuild.git#kconfig now.

Michal