efi_memory: do parameter checks first
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Fri, 21 Jul 2017 17:04:33 +0000 (19:04 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 24 Jul 2017 12:46:01 +0000 (14:46 +0200)
commit0ecba5db85fb566bcbb3ba96fda85f26f78be22d
tree6918a5d1fc64ea26811702c940989aa63fb14360
parentca9193d2b163cd274144edddd29be20cdb5f99a3
efi_memory: do parameter checks first

The parameter checks should be done first.

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