[PATCH v3 2/7] efi_loader: Make efi_run_image() static
Heinrich Schuchardt
xypron.glpk at gmx.de
Sun Dec 22 13:37:14 CET 2024
On 12/19/24 03:38, Simon Glass wrote:
> This function is not called from outside this file and has no entry in
> the header file, so mark it static.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>
> (no changes since v1)
>
> lib/efi_loader/efi_bootbin.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/efi_loader/efi_bootbin.c b/lib/efi_loader/efi_bootbin.c
> index 5016ba7e225..051d86ef993 100644
> --- a/lib/efi_loader/efi_bootbin.c
> +++ b/lib/efi_loader/efi_bootbin.c
> @@ -159,7 +159,7 @@ void efi_set_bootdev(const char *dev, const char *devnr, const char *path,
> * @source_size: size of the UEFI image
> * Return: status code
> */
> -efi_status_t efi_run_image(void *source_buffer, efi_uintn_t source_size)
> +static efi_status_t efi_run_image(void *source_buffer, efi_uintn_t source_size)
> {
> efi_handle_t mem_handle = NULL, handle;
> struct efi_device_path *file_path = NULL;
More information about the U-Boot
mailing list