[U-Boot] [PATCH v2 02/17] efi_loader: parameters of CopyMem and SetMem

Simon Glass sjg at chromium.org
Mon Oct 9 04:43:43 UTC 2017


On 5 October 2017 at 08:35, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> The UEFI spec defines the length parameters of CopyMem and SetMem
> as UINTN. We should size_t here.
>
> The source buffer of CopyMem should be marked as const.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v2
>         no change
> ---
>  include/efi_api.h             |  7 +++----
>  lib/efi_loader/efi_boottime.c | 10 +++++-----
>  2 files changed, 8 insertions(+), 9 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list