]> git.sur5r.net Git - u-boot/commit
efi_loader: only evaluate EFI_EXIT()'s ret once
authorRob Clark <robdclark@gmail.com>
Thu, 27 Jul 2017 12:04:16 +0000 (08:04 -0400)
committerAlexander Graf <agraf@suse.de>
Fri, 28 Jul 2017 07:14:01 +0000 (09:14 +0200)
commit3f1aa97577b75ee2f4f13d2b9fbaf68ce89f42be
tree99f6114a09b4674c3b5b0dc5ec2b4ae6ddf00cf3
parent6cfd5f133ac11becc0dd2c9b93e275af45ea384f
efi_loader: only evaluate EFI_EXIT()'s ret once

There are a couple spots doing things like:

   return EFI_EXIT(some_fxn(...));

which I handn't noticed before.  With addition of printing return value
in the EFI_EXIT() macro, now the fxn call was getting evaluated twice.
Which we didn't really want.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_loader.h