kconfig: add unexpected data itself to warning
authorPaul Bolle <pebolle@tiscali.nl>
Wed, 16 Mar 2016 20:27:27 +0000 (21:27 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 5 Nov 2017 17:19:42 +0000 (18:19 +0100)
commitca03c6bb54ee989a3eedf88ba589914d6f897b8c
treed721ab0669342e6ab54150b9b0b64c760fe4afeb
parent7138f716f5d7e978d6a510409ea1e4fc03665b80
kconfig: add unexpected data itself to warning

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@tiscali.nl>
Signed-off-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/confdata.c