From nobody Mon Apr 6 19:02:21 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 E346837E2E8; 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=1773822325; cv=none; b=uYpt3LKaev4+BWzn+VdaVxhl50tbIXBoMUwpkxB2mjSEEf3nzdTTGebL2/RKrkzLn4/craftEnOQqWjjQor8rUFLfXu/rHkf6TzytfoJg01qsyZ5vB+sld1jsYTkloPVQXLJC/7DwH8oXGDdQHmeOemLJXPHUphrgqZ4cVhj14U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773822325; c=relaxed/simple; bh=nCjRoabE4327XtxjwqWeyQU/VkYBJQC9inLO6rAytXc=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=fWWQwCl/r8uMbAV6DHK7Jw/24JOgIDYs9CAst/rcfh7l8qPaYv26CYGe+yI7INtVPAwIOmEWPU4AVDMeNcF1tFrGFLxYWwcDolirYt1xkqvGI0tC++x8m1+2msOaM0HnU4Jr6fyOilpmKXDocdnjfEaiy5477/2H1gdYhsiWNXQ= 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=s1/7kOj6; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=YswF5kDq; 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="s1/7kOj6"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="YswF5kDq" Date: Wed, 18 Mar 2026 08:25:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1773822317; 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=cQnFe8C2YH+YC5lnrl7cvx+1cLf2m5uTGqZVFQfhkJA=; b=s1/7kOj6OjCrkJmP0KFdi65EyLSElEf/X+TZPS02N2oTnEpaRsSoySb4UMDeIJEI1Dmvr0 G4RZBabm+nttaotHOUucqS8dEBr+ejfjopTRA09WC781VFFWQ+Rw0zUxONvPB8wbSZ7A18 E5SV8HmWofWfyejM0rmmw1t/UJ4hZI+JcA27LgU1hP5MOtHiX6WWvyGHnT6YWGO+k4fKew HJdobGReKRs/OL3LCIJKRs1vChGmqecYj6tCs+B358Wgky1d6sH5GvqZto3VkPG6rDRnEP wB5wCmhUmae4lWsTTnuMLZ5nxbFnbjCPous1OY8nx1rCVAdwspn3CQpGGnqtfQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1773822317; 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=cQnFe8C2YH+YC5lnrl7cvx+1cLf2m5uTGqZVFQfhkJA=; b=YswF5kDq44TNWyjKy2vOlx4HX+OSnjriYa650po4KnnvDm5VePwOArF99EizIfQkXGTk+t AKLXBbSKqCtoyOBg== 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: fix shellcheck complaints Cc: Song Liu , Joe Lawrence , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260310203751.1479229-8-joe.lawrence@redhat.com> References: <20260310203751.1479229-8-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: <177382231617.1647592.15208866819500842748.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: b4a53519393521c68ec65f43bfebd64f178e6220 Gitweb: https://git.kernel.org/tip/b4a53519393521c68ec65f43bfebd64f1= 78e6220 Author: Joe Lawrence AuthorDate: Tue, 10 Mar 2026 16:37:46 -04:00 Committer: Josh Poimboeuf CommitterDate: Mon, 16 Mar 2026 12:46:49 -07:00 livepatch/klp-build: fix shellcheck complaints Fix or suppress the following shellcheck warnings: In klp-build line 57: command grep "$@" || true ^--^ SC2317 (info): Command appears to be un= reachable. Check usage (or ignore if invoked indirectly). Fix the following warning: In klp-build line 565: local file_dir=3D"$(dirname "$file")" ^------^ SC2034 (warning): file_dir appears unused.= Verify use (or export if used externally). Acked-by: Song Liu Signed-off-by: Joe Lawrence Link: https://patch.msgid.link/20260310203751.1479229-8-joe.lawrence@redhat= .com Signed-off-by: Josh Poimboeuf --- scripts/livepatch/klp-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/livepatch/klp-build b/scripts/livepatch/klp-build index cf6c2bf..374e126 100755 --- a/scripts/livepatch/klp-build +++ b/scripts/livepatch/klp-build @@ -53,6 +53,7 @@ PATCH_TMP_DIR=3D"$TMP_DIR/tmp" KLP_DIFF_LOG=3D"$DIFF_DIR/diff.log" =20 grep0() { + # shellcheck disable=3DSC2317 command grep "$@" || true } =20 @@ -550,7 +551,6 @@ copy_orig_objects() { for _file in "${files[@]}"; do local rel_file=3D"${_file/.ko/.o}" local file=3D"$OBJ/$rel_file" - local file_dir=3D"$(dirname "$file")" local orig_file=3D"$ORIG_DIR/$rel_file" local orig_dir=3D"$(dirname "$orig_file")" =20