]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: add comments on efi_file_from_path() regarding alignment
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Thu, 10 Nov 2022 13:31:30 +0000 (15:31 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 16 Nov 2022 07:34:06 +0000 (08:34 +0100)
commitbcb363834cef0c37495f34453514a2999d487994
treefe83aea3c0d080db08e21d695a8cf1e9a76e6477
parent86d081cae17fc04f9d318c7d53a56f3ffee36fd6
efi_loader: add comments on efi_file_from_path() regarding alignment

UEFI specification requires pointers that are passed to protocol member
functions to be aligned.  There's a u16_strdup in that function which
doesn't make sense otherwise  Add a comment so no one removes it
accidentally

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_file.c