diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-03 00:57:59 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-19 18:20:40 +0900 |
commit | af8bbce92044dc58e4cc039ab94ee5d470a621f5 (patch) | |
tree | 4d16ce74f9cf1c79047ad0e41304aeb212df267a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fee9b6d14acde447805d14c0a0a926ced18aa8fa (diff) |
kconfig: fix infinite loop when expanding a macro at the end of file
A macro placed at the end of a file with no newline causes an infinite
loop.
[Test Kconfig]
$(info,hello)
\ No newline at end of file
I realized that flex-provided input() returns 0 instead of EOF when it
reaches the end of a file.
Fixes: 104daea149c4 ("kconfig: reference environment variables directly and remove 'option env='")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions