Skip to content
Snippets Groups Projects
Commit a73fbfce authored by Randy Dunlap's avatar Randy Dunlap Committed by Masahiro Yamada
Browse files

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: c027b02d ("streamline_config.pl: add LMC_KEEP to preserve some kconfigs")
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Acked-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 91a9d502
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment