From nobody Mon Apr 6 18:56:34 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 82B7037DEAF; Wed, 18 Mar 2026 08:25:23 +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=1773822324; cv=none; b=XOZYa++vbknT05VUPSFJS4TKbXwhfad9CM76IzfyGyEZOp0JhMdlm2VBXa7z1N0zJHwUJg4T+ixkQiMPkHP7/ESGCF6Y43+0p36NiQUlm8sKSpGV2GlLhEZjfq8AXPjTrIk5H0CCYXG8oKeNuMtqiqlSPyi+ZBk0DmG7kUjmRYg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773822324; c=relaxed/simple; bh=3OaoSdjuRyunwyifQ0O8Wlz+MKTbV0vqPPDxPTRtpy8=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=NL57odoEEyVRa3ldwW5H5RU2xlJWqJzI54duQEZLXSajPRV0QFuuJKD6bcXrZp9MkhkKXGebqNyCA/u0KMsldkQ5YFox1EgLaLJlzjKV2lcuyHPLMprw4jpkMM/IkrYaodSUHXmQQq8qXvqg/2PJSo9tJF2N/01iMGZ6wX+0OXU= 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=JjMFIpzR; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=6kBhqC82; 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="JjMFIpzR"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="6kBhqC82" Date: Wed, 18 Mar 2026 08:25:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1773822318; 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: in-reply-to:in-reply-to:references:references; bh=KwvPMfVh1DdkmdE/Fox32kv4y2Qsb6oIwF49Y0Qy1VE=; b=JjMFIpzRtwypGaofmxgIoSEUpl4fy0Yy1u/yKFWEa0DsdCXLTg3/bONPbpI9TWbRUS432D O5otta0VK+0yp3zU3pGwyNMv0MiqOn7/PJh19x2CcI1J3t1y8Uv3wbnWu82x7Z5kWy9oo6 vO07H6O9tp7H+vCMHiRyJRgXUWS5AjBQGFaq9LsRm3Q6iPL50Y1/1KDW0guYaNgZaRaJuc yvkAV27XNkSus79nZ2qjLQECvxuhFvFIWZ3Tx7ShpaFri30gu1a5U8WcAba1BtcTSZgp/3 6rOqZMoLc3VOFhdoaf/WSU19A9vn3BvRJCai0LoI8LvcvyJR5GmXNCGrMOgQ5Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1773822318; 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: in-reply-to:in-reply-to:references:references; bh=KwvPMfVh1DdkmdE/Fox32kv4y2Qsb6oIwF49Y0Qy1VE=; b=6kBhqC823Sr+OIBRjpBTVI4EKn1U4iW4SFKY1ETLBZk5n/BYGpBY7OyKfXsbpyijVseYwY UEN/4wst7n4zoCDQ== From: "tip-bot2 for Joe Lawrence" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: objtool/core] livepatch/klp-build: add Makefile with check target Cc: Song Liu , Joe Lawrence , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260310203751.1479229-7-joe.lawrence@redhat.com> References: <20260310203751.1479229-7-joe.lawrence@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177382231724.1647592.6234143161013382405.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: 0573bcc4ffca498a6c644b0e1ccbe1a6d9b96a5c Gitweb: https://git.kernel.org/tip/0573bcc4ffca498a6c644b0e1ccbe1a6d= 9b96a5c Author: Joe Lawrence AuthorDate: Tue, 10 Mar 2026 16:37:45 -04:00 Committer: Josh Poimboeuf CommitterDate: Mon, 16 Mar 2026 12:46:48 -07:00 livepatch/klp-build: add Makefile with check target Add a standalone Makefile with a 'check' target that runs static code analysis (shellcheck) on the klp-build script(s). This is intended strictly as a development aid. Acked-by: Song Liu Signed-off-by: Joe Lawrence Link: https://patch.msgid.link/20260310203751.1479229-7-joe.lawrence@redhat= .com Signed-off-by: Josh Poimboeuf --- scripts/livepatch/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 scripts/livepatch/Makefile diff --git a/scripts/livepatch/Makefile b/scripts/livepatch/Makefile new file mode 100644 index 0000000..17b5902 --- /dev/null +++ b/scripts/livepatch/Makefile @@ -0,0 +1,20 @@ +# SPDX-License-Identifier: GPL-2.0 +# Standalone Makefile for developer tooling (not part of kbuild). + +SHELLCHECK :=3D $(shell which shellcheck 2> /dev/null) + +SRCS :=3D \ + klp-build + +.DEFAULT_GOAL :=3D help +.PHONY: help +help: + @echo " check - Run shellcheck on $(SRCS)" + @echo " help - Show this help message" + +.PHONY: check +check: +ifndef SHELLCHECK + $(error shellcheck is not installed. Please install it to run checks) +endif + @$(SHELLCHECK) $(SHELLCHECK_OPTIONS) $(SRCS)