From: John 'Warthog9' Hawley (VMware) Date: Tue, 20 Apr 2021 00:29:26 +0000 (-0700) Subject: ktest: Minor cleanup with uninitialized variable $build_options X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=da2e56634b262fddfa40b2cfedd24de841418cd3;p=linux.git ktest: Minor cleanup with uninitialized variable $build_options Signed-off-by: John 'Warthog9' Hawley (VMware) Signed-off-by: Steven Rostedt (VMware) --- diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 4e24509645173..18fd4fd117dd3 100755 --- a/tools/testing/ktest/ktest.pl +++ b/tools/testing/ktest/ktest.pl @@ -2594,6 +2594,9 @@ sub build { # Run old config regardless, to enforce min configurations make_oldconfig; + if (not defined($build_options)){ + $build_options = ""; + } my $build_ret = run_command "$make $build_options", $buildlog; if (defined($post_build)) {