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

From: Paul Bolle
Date: Wed Apr 27 2016 - 15:20:26 EST


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?

Thanks,


Paul Bolle