From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0DA95C7619A for ; Wed, 5 Apr 2023 13:09:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F322C85F8C; Wed, 5 Apr 2023 15:09:06 +0200 (CEST) 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="tfQUTyNT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9B50C85F86; Wed, 5 Apr 2023 15:09:02 +0200 (CEST) Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (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 D3DBF857C8 for ; Wed, 5 Apr 2023 15:08:59 +0200 (CEST) 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-ed1-x530.google.com with SMTP id eh3so140888142edb.11 for ; Wed, 05 Apr 2023 06:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680700139; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Z90Rj1PZ83szUxIzQ0EjYpGNuIptyeFOZVHN05j5VgU=; b=tfQUTyNTPBP1zmpREYHzmmAt7uk+e/ZNhfW50SdKseosuJSuE4cLGp07CvmYr4kZTI qMBuFsqqML4Pd3GvP8T63yeqY5osUOE5lLx032SK785zXBjch4Zh4Vqc7DBAid8nJdVB OaYAZNYsVRiLzg2a1IwJK9mEh+3REcDIS5rBVybr9lhDB/7ixzUeGG6aesWbz9nYfVT2 /UQzSYOArwyMfSod4OT2xhOVg8BB0CVrLnw5Y5sZEZFtJmmjLixAN9QlmOrBkBWJHbR1 GZk5qv0h/hJ+mwiXL5Pl046HN2GSx8bV+fK4zTIfj778XkqHC0u3tTvO0h5J7ORxQwXc FV6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680700139; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Z90Rj1PZ83szUxIzQ0EjYpGNuIptyeFOZVHN05j5VgU=; b=p1gXGxcZydzWceKSzc0r69aG3nZh6A/PS9/R52FoUl55nXIhHhKEBN7IkcJzE9ua/s riVnX6+hBCfYgg8Jc+j1tRtBRmp4xtjEntVmq4lrLOyH2Q3FdtDS05uNmUrQaDbJa2hB 6c4lAS8N+A9qywf6FCBs1PFntvVq0SY7nmLGJWzvDGRtZWexocGtaAocRx2SeF7fYDLx 7Q3NwLv0xlngSctBbbuWR/KReB/yGRImIyFPSbobWImf0dF7VwcYn0B4VbqMO9bXfGNf YmNjD5KHOYMk6W6sBaTt1MSWk/aYBWvymncN4U5b2CsH3mOQJldYsvYFsF1THojLVYHx d4vg== X-Gm-Message-State: AAQBX9fQbXkdSGXwthWpADNTmjFMcPYAi2THl9jVor8Kwkh/Tn6ldern pYYnz+5D2MZvyaK5BTK+W548LA== X-Google-Smtp-Source: AKy350bm27hUMDMc0fvTmBhICfjfv33yPwUoY5JtR7CUWSaeSObKjfvVzQ3EkUHlFBlghcBLh5Zg5A== X-Received: by 2002:a17:906:5383:b0:939:4c86:d47b with SMTP id g3-20020a170906538300b009394c86d47bmr2995369ejo.19.1680700139355; Wed, 05 Apr 2023 06:08:59 -0700 (PDT) Received: from hades (ppp176092130041.access.hol.gr. [176.92.130.41]) by smtp.gmail.com with ESMTPSA id g3-20020a056402090300b005024459f431sm7200332edz.70.2023.04.05.06.08.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 06:08:59 -0700 (PDT) Date: Wed, 5 Apr 2023 16:08:56 +0300 From: Ilias Apalodimas To: Bin Meng Cc: Heinrich Schuchardt , u-boot@lists.denx.de Subject: Re: [PATCH 1/5] efi: selftest: Make record static Message-ID: References: <20230405121519.778846-1-bmeng@tinylab.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230405121519.778846-1-bmeng@tinylab.org> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On Wed, Apr 05, 2023 at 08:15:15PM +0800, Bin Meng wrote: > record is only referenced in efi_selftest_exitbootservices.c > > Signed-off-by: Bin Meng > --- > > lib/efi_selftest/efi_selftest_exitbootservices.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/efi_selftest/efi_selftest_exitbootservices.c b/lib/efi_selftest/efi_selftest_exitbootservices.c > index 11b43fdd90..b090ce74d2 100644 > --- a/lib/efi_selftest/efi_selftest_exitbootservices.c > +++ b/lib/efi_selftest/efi_selftest_exitbootservices.c > @@ -27,7 +27,7 @@ struct notification_context { > > static struct efi_boot_services *boottime; > static struct efi_event *efi_st_event_notify; > -struct notification_record record; > +static struct notification_record record; > > struct notification_context context_before = { > .record = &record, > -- > 2.34.1 > Reviewed-by: Ilias Apalodimas