diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2020-08-26 23:21:43 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-09-03 05:16:30 +0200 |
commit | a73fbfce2cc28883f659414d598e6e60ca2214b4 (patch) | |
tree | d70bdad14355bd6d5ae9c6705eaea09ea6b07d04 /Documentation/kbuild/makefiles.rst | |
parent | Documentation/llvm: Improve formatting of commands, variables, and arguments (diff) | |
download | linux-a73fbfce2cc28883f659414d598e6e60ca2214b4.tar.xz linux-a73fbfce2cc28883f659414d598e6e60ca2214b4.zip |
kconfig: streamline_config.pl: check defined(ENV variable) before using it
A user reported:
'Use of uninitialized value $ENV{"LMC_KEEP"} in split at
./scripts/kconfig/streamline_config.pl line 596.'
so first check that $ENV{LMC_KEEP} is defined before trying
to use it.
Fixes: c027b02d89fd ("streamline_config.pl: add LMC_KEEP to preserve some kconfigs")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'Documentation/kbuild/makefiles.rst')
0 files changed, 0 insertions, 0 deletions