diff options
author | 2024-02-03 00:57:59 +0900 | |
---|---|---|
committer | 2024-02-19 18:20:40 +0900 | |
commit | af8bbce92044dc58e4cc039ab94ee5d470a621f5 (patch) | |
tree | 4d16ce74f9cf1c79047ad0e41304aeb212df267a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Revert "kbuild/mkspec: clean boot loader configuration on rpm removal" (diff) | |
download | wireguard-linux-af8bbce92044dc58e4cc039ab94ee5d470a621f5.tar.xz wireguard-linux-af8bbce92044dc58e4cc039ab94ee5d470a621f5.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions