From nobody Sat Jun 13 22:18:36 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 675EF47D95D; Tue, 5 May 2026 10:56:26 +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=1777978587; cv=none; b=Zr8S5VWgXYy63phLiq+CGPN8+/lRUD77Z8fNcx5IwgJj7A7QWNg3n1z6n5kqLvHtU42NT3MFRleOMBz78d5U4h9UAiOH1uStrHMH8a80hfDGpj0dz4Y+2Jv9Ac1jdmUP0PlMYeLGpFKvB4lwJhDrbsfdw19e34ci2ZSllELe32s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777978587; c=relaxed/simple; bh=/QapVWkFWtX9fl8TQkguUC+7ZOAdtRsEw2AX/k+2Qmo=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=fL96WdbsUopcLTgCsLIChHapWYx7/J4YlMuf03hGr5gR2/gIOKPcqiGp8kb2YlmOTwdX3Dbt4KZ8LHC/L8h9AlacEn5baCMQ/guEye7GCK3Txqydr2ik48kNw7FyB2GO3NS+CDiISOv7gKXqDG33bgJL/sqcCsKqUPk7YNKGmdQ= 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=I4XNahXh; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=wWaf4suW; 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="I4XNahXh"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="wWaf4suW" Date: Tue, 05 May 2026 10:56:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1777978585; 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=/BHaKeKELmkiJmCwO0liGq9V+Y8djloSeuNdLqlzATs=; b=I4XNahXhmqYs7uajH0XzoJLKluelyKEW6mJxlArxV6GZjdEM8Tn3Qk9uwGcCZZbr+b2ug7 exI5vRXfUofYcSSWEdMNPIQ4uYu0+EKbpmYZI3ghwPJU+9d0adrIKsG6fVUwT48OFwDS+e TgWXMcIo9qrE+RPBEVb8ozDr20vy6fiA8DSSo1+tV82KtUbrBPsEwA6Y0D+3wZaZw4sGCp 2qqLsvFpga//KYZSY7868F+FHapTB2S2D2qzuL7cav9lmYGHltXUGsAcVa63NHqGjKX29+ g94Om3HlfvDbeGDNBFHOg5udZ3X5JiIZVy/9x1xkarkZKwlcdj2kYr4wMzd1Rw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1777978585; 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=/BHaKeKELmkiJmCwO0liGq9V+Y8djloSeuNdLqlzATs=; b=wWaf4suWyf7mDBnYUpuZnknHkVqZnCsrfIuhQLUqWUQEhMEyby27jw7dY3Pa5zVzCFwfLh YRZOKwbTSGU9o6DA== 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: Validate patch file existence Cc: Song Liu , Miroslav Benes , 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: <177797858390.424702.17950365006655360998.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: b3ece3019e8ebcda5e8451580e34bfbc97ef33e3 Gitweb: https://git.kernel.org/tip/b3ece3019e8ebcda5e8451580e34bfbc9= 7ef33e3 Author: Josh Poimboeuf AuthorDate: Thu, 02 Apr 2026 19:48:45 -07:00 Committer: Josh Poimboeuf CommitterDate: Mon, 04 May 2026 21:16:03 -07:00 klp-build: Validate patch file existence Make sure all patch files actually exist. Otherwise there can be confusing errors later. Acked-by: Song Liu Reviewed-by: Miroslav Benes Signed-off-by: Josh Poimboeuf --- scripts/livepatch/klp-build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/livepatch/klp-build b/scripts/livepatch/klp-build index 68d61b7..13709d2 100755 --- a/scripts/livepatch/klp-build +++ b/scripts/livepatch/klp-build @@ -157,6 +157,7 @@ process_args() { local short local long local args + local patch =20 short=3D"hfj:o:vdS:T" long=3D"help,show-first-changed,jobs:,output:,no-replace,verbose,debug,sh= ort-circuit:,keep-tmp" @@ -235,6 +236,10 @@ process_args() { =20 KEEP_TMP=3D"$keep_tmp" PATCHES=3D("$@") + + for patch in "${PATCHES[@]}"; do + [[ -f "$patch" ]] || die "$patch doesn't exist" + done } =20 # temporarily disable xtrace for especially verbose code