[U-Boot] [PATCH 1/1] efi_loader: use type bool for event states

Rob Clark robdclark at gmail.com
Sun Oct 8 15:54:52 UTC 2017


On Wed, Oct 4, 2017 at 12:02 PM, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> Patch efi_loader: add stub HII protocols uses UINTN heavily. In a recent
> comment Simon remarked that types should not be uppercase. So I was
> planning to replace all occurences of UINTN by size_t in an upcoming patch.

btw, how would you feed about:

 typedef size_t efi_uintn_t;

instead of using size_t directly?  UINTN is used in a bunch of places
where size_t, although it might be the right size, does not feel
appropriate..

BR,
-R


More information about the U-Boot mailing list