summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDirk Gouders <dirk@gouders.net>2018-06-21 15:30:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-24 13:09:06 +0200
commit2f9e98dbccf7fe27eb6fc218d81befc5d3056ca2 (patch)
treee6a89c7dd5f2b9a0ce84f313d68287aa8693460c /arch
parent5a64e0870cc1db2be77bbb95d209d7dcb2186686 (diff)
downloadlinux-stable-2f9e98dbccf7fe27eb6fc218d81befc5d3056ca2.tar.gz
linux-stable-2f9e98dbccf7fe27eb6fc218d81befc5d3056ca2.tar.bz2
linux-stable-2f9e98dbccf7fe27eb6fc218d81befc5d3056ca2.zip
kconfig: fix line numbers for if-entries in menu tree
[ Upstream commit b2d00d7c61c84edd150310af3f556f8a3c6e2e67 ] The line numers for if-entries in the menu tree are off by one or more lines which is confusing when debugging for correctness of unrelated changes. According to the git log, commit a02f0570ae201c49 (kconfig: improve error handling in the parser) was the last one that changed that part of the parser and replaced "if_entry: T_IF expr T_EOL" by "if_entry: T_IF expr nl" but the commit message does not state why this has been done. When reverting that part of the commit, only the line numers are corrected (checked with cdebug = DEBUG_PARSE in zconf.y), otherwise the menu tree remains unchanged (checked with zconfdump() enabled in conf.c). An example for the corrected line numbers: drivers/soc/Kconfig:15:source drivers/soc/tegra/Kconfig drivers/soc/tegra/Kconfig:4:if drivers/soc/tegra/Kconfig:6:if changes to: drivers/soc/Kconfig:15:source drivers/soc/tegra/Kconfig drivers/soc/tegra/Kconfig:1:if drivers/soc/tegra/Kconfig:4:if Signed-off-by: Dirk Gouders <dirk@gouders.net> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions