From nobody Sat Jun 13 22:14:12 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 99C2547DD7C; Tue, 5 May 2026 10:56:27 +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=1777978588; cv=none; b=si+yJuBu5ZpX489LOmh2uZtjq/76jNH2CbLtKUXm9z+TEweOY1WhZwwjEwQSpkiG+D/KnnWp7oo9oDUwcnLhkxA71pqUpFTGXWqdTEeo2MJ1157BYnuB03wGSCs7vys1LGM0QvoyB2v4YUGvtlfiLkA3NJXC2Dd7nKPqITuGeYQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777978588; c=relaxed/simple; bh=yikRNDpnkTBODC62ybSzs05RRiM8J7CJlFJ46EM+4Os=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=Z3+f6W5Ne1ZYXw395b2mUET9hbjdfTNTgJA6xJTEedeAwF7bspeXp5yp0agoDnfvK7ajcapPfmPC4SCSvwLbn4d8RYXBA9QqCV5QdU+x2mxXcqUoBc92M5bfFNLfD4/i6QslQWHEJFA7/THqkfxQDrh7Gq89x4udhktOs9JAijQ= 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=gAs/JWAQ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=a3s++MW5; 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="gAs/JWAQ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="a3s++MW5" Date: Tue, 05 May 2026 10:56:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1777978586; 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=RCLHf7FjDac1PlF2cNn0EmZ6vWXWb4uMmcAZjUE4ii8=; b=gAs/JWAQc0M66Va693+CU1SkSeOEW5bMkAsRjQY6pDdECitvm6g+E2ikwh/MqWQcBpEolC lN/qs3vXLjeHRyldkxmiwlAYTZdbsRn6mW9dk+UThKNvGEafdaJJ0qbFFXV8/eez7hLcPH Y7qOB99fcKt3uluu3sQUEuIhTrLxWU/qAr+3Ip7Ff5iaQLUxpavpv0qd+vxvk1ZzH6cHQx gaVH/rmAsHCiUxk+M9jH11sDpY+Tu+14l1Nxr9SZ6Yda/k/C8y1J7DH9l7KpQ/iuVc0zJV /08W7RFYq7tbRQtSZ+kiR+Zzr5f9aid8Z6+InQRP4gssduT5oNAlkiEVNDKLnw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1777978586; 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=RCLHf7FjDac1PlF2cNn0EmZ6vWXWb4uMmcAZjUE4ii8=; b=a3s++MW58orBwqVHdAkOmw+TfOwu/ey4V0JKbDaAnz/VQU66R0vgxX0aZ+CDOyFFolmyin ffnZvCYKxhUPD4DA== 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: Don't use errexit 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: <177797858506.424702.11851029598465336956.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: 946d3510fe19dca5cf8c1ea5d5eedff47a72ddc3 Gitweb: https://git.kernel.org/tip/946d3510fe19dca5cf8c1ea5d5eedff47= a72ddc3 Author: Josh Poimboeuf AuthorDate: Sun, 05 Apr 2026 16:17:08 -07:00 Committer: Josh Poimboeuf CommitterDate: Mon, 04 May 2026 21:16:03 -07:00 klp-build: Don't use errexit The errtrace option (combined with the ERR trap) already serves the same function (and more) as errexit, so errexit is redundant. And it has more pitfalls. Remove it. Acked-by: Song Liu Reviewed-by: Miroslav Benes Signed-off-by: Josh Poimboeuf --- scripts/livepatch/klp-build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/livepatch/klp-build b/scripts/livepatch/klp-build index 8f0ea56..68d61b7 100755 --- a/scripts/livepatch/klp-build +++ b/scripts/livepatch/klp-build @@ -3,7 +3,7 @@ # # Build a livepatch module =20 -# shellcheck disable=3DSC1090,SC2155 +# shellcheck disable=3DSC1090,SC2155,SC2164 =20 if (( BASH_VERSINFO[0] < 4 || \ (BASH_VERSINFO[0] =3D=3D 4 && BASH_VERSINFO[1] < 4) )); then @@ -11,13 +11,12 @@ if (( BASH_VERSINFO[0] < 4 || \ exit 1 fi =20 -set -o errexit set -o errtrace set -o pipefail set -o nounset =20 # Allow doing 'cmd | mapfile -t array' instead of 'mapfile -t array < <(cm= d)'. -# This helps keep execution in pipes so pipefail+errexit can catch errors. +# This helps keep execution in pipes so pipefail+ERR trap can catch errors. shopt -s lastpipe =20 unset DEBUG_CLONE DIFF_CHECKSUM SKIP_CLEANUP XTRACE