]> git.sur5r.net Git - u-boot/commit
efi_loader: parameters of CopyMem and SetMem
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 5 Oct 2017 14:35:52 +0000 (16:35 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 9 Oct 2017 05:00:29 +0000 (07:00 +0200)
commitfc05a9590689b70fffdb9914e9867ea53fd579fa
treebb597213405447724eacc8aa0f38cc705732823c
parentf7c78176d6925726d654cd84eb866c7b39da1b13
efi_loader: parameters of CopyMem and SetMem

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@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_api.h
lib/efi_loader/efi_boottime.c