[U-Boot] [PATCH] efi_stub: Fix GDT_NOTSYS check

Bin Meng bmeng.cn at gmail.com
Mon Dec 4 23:20:11 UTC 2017


On Mon, Dec 4, 2017 at 11:33 PM, Alexander Graf <agraf at suse.de> wrote:
> The get_codeseg32() wants to know if a passed in descriptor has
> flag GDT_NOTSYS set (desc & GDT_NOTSYS), not whether desc and
> GDT_NOTSYS are not != 0 (desk && GDT_NOTSYS).
>
> This is an obvious typo. Fix it up.
>
> Signed-off-by: Alexander Graf <agraf at suse.de>
> ---
>  lib/efi/efi_stub.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list