From nobody Sat Jun 13 22:11:23 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 50F8D401A26; Tue, 5 May 2026 10:56:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777978591; cv=none; b=bjsuss8IfAqMuBjlUD1eIJv5bgPEiGTo0Ip7uGLqObziOcYYztUh4CCDf3HX6YX4D5jsxDP2J0EURDj2iCFnUs9/AnR049nawoOW0YVRJrMMANhCDO90xp9r2yHRqKzmK1wJiGExcMq6endB9nC+mZH9I99ZQFQIzCRdnZiiqno= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777978591; c=relaxed/simple; bh=exsdiAs4o9OpptnXgGSrIMR91UtFtCl2EqG/VqnF9gs=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=qPRziznXEMqRtdJ5iczFvrxtrtpca/6IRQd13mxaDxmSOsobCBpGDfN8OMQZWfYdiS8IyUF+pKBvwb/I2akpldtmy5Bnh8odLQ+w9UT2a3NJ/PM0it9YDStyRIEk0kUZLGotduLn2ugx6VqA0Oy4u0aj0PZEPZZH3a9ovxzMg/8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=rjBKv9gx; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=gO0Tzh45; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="rjBKv9gx"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="gO0Tzh45" Date: Tue, 05 May 2026 10:56:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1777978588; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rTDbWJBWGVU+To2ueZM+AvpSC3wkpoi9jmFqgvJxOrs=; b=rjBKv9gx7fVbX6Oe9dPaqOMAJBDzVFFvVtC2k/0m/+AdReNg+YoXb0NxrZdNY+f/AkRLUC YUQeGT65Qnmm27QULpOHj4W8PV4AYoC3XIuh8utWOfmmylG7XvoluahaSg+Zu730FoC+1I LzzX6KsvU6R1gdiTxRUdYg0s+9vW9dHshrem+VMzIfM9nwIwX4Ahc6fUNQ8eqrkgu0G59a q6+umlNMoyjjMV9hsqUg3SISUH1rr3PjCbp8ABMl0FEmkm2yS7INa+5BipYkhuK5INenP4 P2ldhgH+ejqm83KmZ87wB9mWcGCKokffGtbna9p7ygwUiuyGckUJrH54xHBfKg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1777978588; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rTDbWJBWGVU+To2ueZM+AvpSC3wkpoi9jmFqgvJxOrs=; b=gO0Tzh45Kneo9cT/njPK89aua9DCgK9nl6fdWkIVMSp/XUtJ2tSGFQ1Umu6meKddXDPZ9W OOfGg5d5Wkp9V3Ag== From: "tip-bot2 for Josh Poimboeuf" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: objtool/core] klp-build: Fix hang on out-of-date .config Cc: Song Liu , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177797858746.424702.14168122372511756147.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the objtool/core branch of tip: Commit-ID: cc39ccce7d5bc623100f07dcda070cef1bf690f6 Gitweb: https://git.kernel.org/tip/cc39ccce7d5bc623100f07dcda070cef1= bf690f6 Author: Josh Poimboeuf AuthorDate: Thu, 02 Apr 2026 19:47:10 -07:00 Committer: Josh Poimboeuf CommitterDate: Mon, 04 May 2026 21:16:02 -07:00 klp-build: Fix hang on out-of-date .config If .config is out of date with the kernel source, 'make syncconfig' hangs while waiting for user input on new config options. Detect the mismatch and return an error. Fixes: 6f93f7b06810 ("livepatch/klp-build: Fix inconsistent kernel version") Acked-by: Song Liu Signed-off-by: Josh Poimboeuf --- scripts/livepatch/klp-build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/livepatch/klp-build b/scripts/livepatch/klp-build index 0ad7e66..e19d93b 100755 --- a/scripts/livepatch/klp-build +++ b/scripts/livepatch/klp-build @@ -306,7 +306,12 @@ set_kernelversion() { =20 stash_file "$file" =20 - kernelrelease=3D"$(cd "$SRC" && make syncconfig &>/dev/null && make -s ke= rnelrelease)" + if [[ -n "$(make -s listnewconfig 2>/dev/null)" ]]; then + die ".config mismatch, check your .config or run 'make olddefconfig'" + fi + make syncconfig &>/dev/null || die "make syncconfig failed" + + kernelrelease=3D"$(make -s kernelrelease)" [[ -z "$kernelrelease" ]] && die "failed to get kernel version" =20 sed -i "2i echo $kernelrelease; exit 0" scripts/setlocalversion