[PATCH 1/5] efi: selftest: Make record static

Ilias Apalodimas ilias.apalodimas at linaro.org
Wed Apr 5 15:08:56 CEST 2023


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 <bmeng at tinylab.org>
> ---
> 
>  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 <ilias.apalodimas at linaro.org>



More information about the U-Boot mailing list