From nobody Sun Feb 8 13:10:41 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B2FA41D6DB1; Tue, 3 Sep 2024 04:00:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725336042; cv=none; b=sHy7ZwbuonJOTljdD6AqPMOhzpj5rxAjmtcgCScd87cdtFxYA74S2uuWry0IipwVfxHRscUEi1XuzeqdUoTyEAz6faH5WWQSDc8OuhzvwFWq/j1tjFar3qHHFd8fQNvbdImYzSPjWhor3pqUhftK+QHOOXye2kFl7TwmWeerlB4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725336042; c=relaxed/simple; bh=aitFbO2kW3aH4lB1//9h+v3atK493HEbsCZmttf5L+M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eWKW+lhLcyz8h6eBLZQI3QjTgNAi/RjZ+1fBFL/bhW9LSLh6MIJ/WivQYl03YIwgypKouKw5Ghauv9klIK5vkpIWn3L0HUbtQMfczubvNjQd1ZJFUqwv427naelajIuc660m5aU55gHE2LmFn35dcjt1LorQKGJXl5hKPxRLWOg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZTd0fV8b; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZTd0fV8b" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E489C4CEC8; Tue, 3 Sep 2024 04:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725336042; bh=aitFbO2kW3aH4lB1//9h+v3atK493HEbsCZmttf5L+M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZTd0fV8bpl8TJ1xemo40S/ioC5OMTo85cAwtGEFaE9Ehnpd+cxsc69EYUM6LrRS7n rpzNu9A43aQcut60QAnfdgpcpbWhWHWPGiF65ljGRb60toQU1Ms8FIpEf+PIGRnI0s psmEioof7Mhqrmm1CIrmUOpWko8ChtOQ+yV2BmOYNSO3JgSsEYzMdVXZevj2ygXFC7 0KaAh87ZOfwcUDjUpOEvpUk1mUjn3EIeiiVzgNGnMQC9jcuAtmD2pM4ENegHvjvipi VU+bMmpECTvjz2G+FDBMA4f43gj1WxqgKx/2zTS1cYNw17w/C+Ppyi2rO9+Ha4Vcia OTF+HM4NxAEPg== From: Josh Poimboeuf To: live-patching@vger.kernel.org Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Miroslav Benes , Petr Mladek , Joe Lawrence , Jiri Kosina , Peter Zijlstra , Marcos Paulo de Souza , Song Liu Subject: [RFC 26/31] objtool: Make interval tree functions "static inline" Date: Mon, 2 Sep 2024 21:00:09 -0700 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Otherwise the compiler warns if a function isn't used. Signed-off-by: Josh Poimboeuf --- tools/objtool/elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/objtool/elf.c b/tools/objtool/elf.c index 42a657268306..471df0336aa7 100644 --- a/tools/objtool/elf.c +++ b/tools/objtool/elf.c @@ -98,7 +98,7 @@ static inline unsigned long __sym_last(struct symbol *s) } =20 INTERVAL_TREE_DEFINE(struct symbol, node, unsigned long, __subtree_last, - __sym_start, __sym_last, static, __sym) + __sym_start, __sym_last, static inline, __sym) =20 #define __sym_for_each(_iter, _tree, _start, _end) \ for (_iter =3D __sym_iter_first((_tree), (_start), (_end)); \ --=20 2.45.2