grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] efi: Print EFI status as hex number instead of uint


From: Daniel Kiper
Subject: Re: [PATCH v2] efi: Print EFI status as hex number instead of uint
Date: Wed, 28 Jun 2023 14:35:43 +0200
User-agent: NeoMutt/20170113 (1.7.2)

On Wed, Jun 28, 2023 at 01:19:48AM -0500, Glenn Washburn wrote:
> EFI status codes are of different classes depending on the first byte and
> all error status codes defined in appendix D of the main spec start from 1
> and have the high bit set. When printing as a uint, the decimal is a very
> large number that needs have the high bit cleared get the spec error code.
> This can be easily visually done by a human if the number is printed as hex.
>
> Signed-off-by: Glenn Washburn <development@efficientek.com>

Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>

Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]