efi_loader: fix efi_image_region_add()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 1 Jul 2020 18:01:52 +0000 (20:01 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 3 Jul 2020 16:03:24 +0000 (18:03 +0200)
commit28164c925ef02082f6320542acee744f8712ae9c
tree2c2214edc98cbe6f12e8793a5441b9344b7ae754
parentbc246c69aecea107f7286da928ac3c2494109979
efi_loader: fix efi_image_region_add()

Use start and end address consistently as half-open interval.
Simplify the code.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_signature.c