efi_loader: efi_mem_carve_out should return s64
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 27 May 2018 14:45:09 +0000 (16:45 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 3 Jun 2018 13:27:21 +0000 (15:27 +0200)
commit3282614081ff3dcacd79a870475b332cbee3ff28
treeaaa3d866af37d2a7b771d62c775a041be805a7f7
parente09159c86786929a728e3119726b10332226e6ea
efi_loader: efi_mem_carve_out should return s64

efi_mem_carve_out() is used to remove memory pages from a mapping.
As the number of pages to be removed is a 64bit type the return type
should be 64bit too.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_memory.c