Message ID | 20241030204100.90946-1-ilias.apalodimas@linaro.org |
---|---|
State | Accepted |
Commit | c8c10b83ef0a7a04ba40223c841f6f721d9a28a3 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6000:4593:b0:37d:45d0:187 with SMTP id gb19csp1147108wrb; Wed, 30 Oct 2024 13:41:15 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVJFjKOo0yJeuWo40qTY2BUDAp8PAhokzuD8lVZfRl1p9uiHRYin4K+K7nnennNeoNvwfpC8w==@linaro.org X-Google-Smtp-Source: AGHT+IFyhij4RQSMHGUcHsRKd0Ro1NPCW0HclnaA4+2lxnVKoYk0RnEVPzJwV8znrqRhzuZ7+I/B X-Received: by 2002:a05:6000:b4c:b0:37d:3735:8fe7 with SMTP id ffacd0b85a97d-381b708b14bmr2898919f8f.32.1730320875422; Wed, 30 Oct 2024 13:41:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1730320875; cv=none; d=google.com; s=arc-20240605; b=BS2QgrqgpT/yW4GMfVzfrUr9vtdQMOsFwEbwnqXGDPUldKMXVX4sZOCL+1NuvwwKGm 9u07sBO2bTLy4F2B7cYD188NjzP98sf0iPTNQwEOuuvgKoVDwxv4a50w3Dmg77SPdxv5 WeS37qNbF9oY/a7zP9G4WLC3+v9aXRv0WB4ZkZrw6dgfWr7WR1eQxDigMTBdpBo6XuwC i77JENcJHr/rHUGqEhm8YP1mWt6MNXBtrxL/UX5oKFXXt7jLbvjthro+s8opNfwW/4QM SWPl8sVUs8Oy5Esz76AbLDTn+P6JJoLIce+EyP0N6WU8SBW0hOHOrFhtVX+EdhwQbaAV FQbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=TSIdJGJ1wGgGaCOpzh4/UzsIRvE+gXp92zLNUF/zjrQ=; fh=2ij92cVdCjRvZPkRyeqh4+kN2u74pkmFi5cDqGcMhwU=; b=MtDRdeZWmPmxSdLj/F0HSgl3ctLVkxNAB9ql0nIZrPb4OLxIAHQdj8tauFID9+E/a9 c4SHjJcSotKWZyouy28u5P3K8WvMGrNdDQw2HocKuSxdJMPSPVKmI/YQ2NQ4ZJZiaiXD uA/aA/Fvdmgl7hnmV9Vm1cWbTvVkrwrcwTasd7kbbCmsJ+zFlupSvFyHcjNc79ImqPBY 2/3tU2xosxuYynBo7eY05IQaCtpgkG2gGvKhJj585f01Aa+zd446kyIzQy4L3keVtsbj gi+QRmLv4rRyP8Nh2jdFDxnWvjOjt2ABkkVVwisl04R/LMmZiDRf5leM12gDudqxHSlr LXlg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gozo7YfV; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id ffacd0b85a97d-381c11f6adfsi21336f8f.1029.2024.10.30.13.41.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 13:41:15 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gozo7YfV; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1A55B89255; Wed, 30 Oct 2024 21:41:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Gozo7YfV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A20EC89257; Wed, 30 Oct 2024 21:41:13 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B589789250 for <u-boot@lists.denx.de>; Wed, 30 Oct 2024 21:41:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-37d4c1b1455so197737f8f.3 for <u-boot@lists.denx.de>; Wed, 30 Oct 2024 13:41:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730320871; x=1730925671; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=TSIdJGJ1wGgGaCOpzh4/UzsIRvE+gXp92zLNUF/zjrQ=; b=Gozo7YfVeuUkS4iRFSSQJKqkt2Eh/7spR+7QSP0ttjqcDdbYR8tefHDn8puaCBmiCP cg7WNGcv6nOZvldcsWVSP093UzfjBNJfaHjUZBJ3KMpZFpGDw6F7dWjFFaIHzFfdVgYu e6Rm+DarPN/gcaAg39MBxfv53kY+xtg3qhHI/+y1t9yF4k0uGf966WfOuS0DfV6vGqyn ypNB0pmsMrNynLY1auUt8ciARQUnutCjjmnXQIVjRpoCVppGjFwUHqQnM0FF7OuxBTQN NJ6cEuKuI9b9CFQ1kkpy98aZsz8z2voH0WYbRXfcyVcDZpG7Lumtj9fpAnoKJlylTk6i LvRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730320871; x=1730925671; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TSIdJGJ1wGgGaCOpzh4/UzsIRvE+gXp92zLNUF/zjrQ=; b=op+MafiXD73+TAdppHNYEuMmP5DmsXiFGDtLV0kvBjO7aoT4/GDX+1qJKDFrSxezT1 HbKZk0VtSHNxcLOfNXCEiYrrp3KdoFa6z3N0aautG3gxqF2fJdt2kFEvYeDrXKpLX7aO sI09FeQoFbQgoEUv8uhvZ8V6loXmm2BzSjJixVSrxriwK+WfTbOZr6wfsPPUoelin60o COFEz7qnbRpweTgDYu96zwAmWjxdkH6u4QmzeMW86by+B0PVwFwO9TleBEeur6U3Dgj0 NxIE/FruFZsIlQNqsI3Z72xXdNLJ9SErpdSxoroxeyYyJiSo2JdxqG1HAOuJxJ5rjfqD mm8w== X-Forwarded-Encrypted: i=1; AJvYcCXinsEatWJsUvmy5vNxC3GDC55yH8vdFMxXib7AjGejpHPvmTn6Dr0EXH2Pr2nA1h4ebITVmbo=@lists.denx.de X-Gm-Message-State: AOJu0Yyka2FRShQMp+hPVaDXPidIwE3kDZaWMXlJ6JPYh4N1v/6vZFRG HqcmSkLqUmx4fgx5ptnoXf6NH0z6bUdKv/wd7tug83wRW6+TEIa2ggF3bzrEfjQ= X-Received: by 2002:a05:6000:1046:b0:37c:d537:9dc0 with SMTP id ffacd0b85a97d-381b70578bemr3502539f8f.12.1730320871046; Wed, 30 Oct 2024 13:41:11 -0700 (PDT) Received: from localhost.localdomain (ppp176092143132.access.hol.gr. [176.92.143.132]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381c10d49c9sm56346f8f.37.2024.10.30.13.41.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 13:41:10 -0700 (PDT) From: Ilias Apalodimas <ilias.apalodimas@linaro.org> To: xypron.glpk@gmx.de Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>, Tom Rini <trini@konsulko.com>, Raymond Mao <raymond.mao@linaro.org>, Tim Harvey <tharvey@gateworks.com>, Eddie James <eajames@linux.ibm.com>, Masahisa Kojima <kojima.masahisa@socionext.com>, u-boot@lists.denx.de Subject: [PATCH] efi_loader: Make tcg2_uninit() static Date: Wed, 30 Oct 2024 22:40:59 +0200 Message-ID: <20241030204100.90946-1-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
efi_loader: Make tcg2_uninit() static
|
expand
|
diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c index 45f451ef6b6d..866a529857ef 100644 --- a/lib/efi_loader/efi_tcg2.c +++ b/lib/efi_loader/efi_tcg2.c @@ -789,7 +789,7 @@ static const struct efi_tcg2_protocol efi_tcg2_protocol = { /** * tcg2_uninit - remove the final event table and free efi memory on failures */ -void tcg2_uninit(void) +static void tcg2_uninit(void) { efi_status_t ret;
This function is only used locally, so make it static and quiesce the W=1 warning Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> --- lib/efi_loader/efi_tcg2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)