From nobody Fri Dec 19 15:02:30 2025 Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF3F13612F7 for ; Fri, 5 Dec 2025 15:25:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.16 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764948335; cv=none; b=bJwbg+98ctu3tez8n1Nhjja52FPdgAOS8t/N1A0d6RSxCmVe+bHVbNKWTeodkSO2YaE9c27uggECKXhG0xaukCLCpO5CkUJJjLNoptOsSQ1Sa1HNMycmHTAVeBDFhSl8E2e74pY9KUltJJQA6xZsPzvFo9IRZq5ObzYQ3mWEr3k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764948335; c=relaxed/simple; bh=6QFK4Xpuy5D8hnzxovzyyV9e5Cd4OCgd+j0NBmEAvWw=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=G1tXVw3iQY78ublelk3iD7p39NdHq397RUdzK5hvSWFGAmqsZOZhbXf8JbEWCKqTrJvVF5lspOGBfOZ/nvdKZbSySiRyF32wrgNisyr6bSv9VGBuXkCJxRNsJOsOmM3TtXtey1GEJgcG7T24XEn8n+9pJWRCzNCE/aeWpg210bc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=goodmis.org; spf=pass smtp.mailfrom=goodmis.org; arc=none smtp.client-ip=216.40.44.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=goodmis.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=goodmis.org Received: from omf10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id C7B451DFEB6; Fri, 5 Dec 2025 15:25:29 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: rostedt@goodmis.org) by omf10.hostedemail.com (Postfix) with ESMTPA id 5DE3B41; Fri, 5 Dec 2025 15:25:28 +0000 (UTC) Date: Fri, 5 Dec 2025 10:26:35 -0500 From: Steven Rostedt To: Linus Torvalds Cc: LKML , John 'Warthog9' Hawley Subject: [GIT PULL] ktest.pl: Fix for v6.19 Message-ID: <20251205102635.1761621f@gandalf.local.home> X-Mailer: Claws Mail 3.20.0git84 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Stat-Signature: 9afs8rh7hck4j77w8zpmmc789qqfrbtd X-Rspamd-Server: rspamout04 X-Rspamd-Queue-Id: 5DE3B41 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Session-ID: U2FsdGVkX19LUqxFhnzqxf9VyX7u32xSp/0oCUwV/g0= X-HE-Tag: 1764948328-660197 X-HE-Meta: U2FsdGVkX19ZJHmHYEEEfT4/vfy+CsHYOO0xCA4tKSBoGHa1rYFSozQ4xcu3JRMuEcv8cxYvbKvXfYo4I04FdoAYiEwGpnYxJaj5Nt6X3e6Rlbm74RJqTA+OzqQisWXaLe1OmK1I5PMzCYerGHWdvTX3w5gZM8U7QAihCEo7luy3gbatzIpiQoJYzLYJeZhFSvff8P086gUjwEhNQ8c51TU8jUmtgXBR4YxpJ4hxZn9AyfvBcfrsFgR9nv0weHP+l2FsowxMg8HHJapn4djy7xcLIXTeXPc+f+xuNTalvuGjwtxxoj4VASCDYtQ/D/Aq2NnpwqS8EReXUjWwiMoBemikHGUGeeSgzhVfICehYBoiMPaP6u2ykGY2WP9hooUHDUl5e90el3km+vV8hSR79EwIKNSQick8ytgZ4rKcByQm7FcAgm3YDh1eWxyevYAhsZNItomjHsMETJae3yJdzhZxSlCHztC7XH1ypnaBn/OFBVTRAV8acFjgWNzzwmG1 Content-Type: text/plain; charset="utf-8" Linus, ktest: Fix for v6.19: - Fix incorrect variable in error message in config-bisect.pl If the old config file fails to get copied as the last good or bad config file, then it fails the program and prints an error message. But the variable used to print what the old config's name was incorrect. It was $config when it should have been $output_config. Please pull the latest ktest-v6.19 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest.git ktest-v6.19 Tag SHA1: 896fb88396c2dd1074782e89d84a70a6f9940765 Head SHA1: d3042cbe84a060b4df764eb6c5300bbe20d125ca Steven Rostedt (1): ktest.pl: Fix uninitialized var in config-bisect.pl ---- tools/testing/ktest/config-bisect.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --------------------------- commit d3042cbe84a060b4df764eb6c5300bbe20d125ca Author: Steven Rostedt Date: Wed Dec 3 18:09:24 2025 -0500 ktest.pl: Fix uninitialized var in config-bisect.pl =20 The error path of copying the old config used the wrong variable in the error message: =20 $ mkdir /tmp/build $ ./tools/testing/ktest/config-bisect.pl -b /tmp/build config-good /tm= p/config-bad $ chmod 0 /tmp/build $ ./tools/testing/ktest/config-bisect.pl -b /tmp/build config-good /tm= p/config-bad good cp /tmp/build//.config config-good.tmp ... [0 seconds] FAILED! Use of uninitialized value $config in concatenation (.) or string at .= /tools/testing/ktest/config-bisect.pl line 744. failed to copy to config-good.tmp =20 When it should have shown: =20 failed to copy /tmp/build//.config to config-good.tmp =20 Cc: stable@vger.kernel.org Cc: John 'Warthog9' Hawley Fixes: 0f0db065999cf ("ktest: Add standalone config-bisect.pl program") Link: https://patch.msgid.link/20251203180924.6862bd26@gandalf.local.ho= me Reported-by: "John W. Krahn" Signed-off-by: Steven Rostedt diff --git a/tools/testing/ktest/config-bisect.pl b/tools/testing/ktest/con= fig-bisect.pl index 6fd864935319..bee7cb34a289 100755 --- a/tools/testing/ktest/config-bisect.pl +++ b/tools/testing/ktest/config-bisect.pl @@ -741,9 +741,9 @@ if ($start) { die "Can not find file $bad\n"; } if ($val eq "good") { - run_command "cp $output_config $good" or die "failed to copy $config to $= good\n"; + run_command "cp $output_config $good" or die "failed to copy $output_conf= ig to $good\n"; } elsif ($val eq "bad") { - run_command "cp $output_config $bad" or die "failed to copy $config to $b= ad\n"; + run_command "cp $output_config $bad" or die "failed to copy $output_confi= g to $bad\n"; } }