[U-Boot] [PATCH 1/1] efi_loader: FreePages() must fail with pages = 0

Mark Kettenis mark.kettenis at xs4all.nl
Thu Apr 25 17:28:08 UTC 2019


> From: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Date: Thu, 25 Apr 2019 19:21:30 +0200
> 
> The UEFI spec requires that freeing of pages fails if the number of pages
> to be freed is 'invalid'. Check that it is not zero.

Isn't page == 0 a lot clearer if your commit message talks about
checking that it is (not) zero?


More information about the U-Boot mailing list