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

Alexander Graf agraf at suse.de
Sun Oct 8 16:41:27 UTC 2017



> Am 08.10.2017 um 17:54 schrieb Rob Clark <robdclark at gmail.com>:
> 
>> 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..

I like the idea :)

Alex




More information about the U-Boot mailing list