efi_selftest: make tests easier to read
Rename counter to more illustrative names. Update notification function description. Simplify notification function. Add comment for arbitrary non-zero value. Document @return. Use constants for return values of setup, execute, teardown. Reported-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:

committed by
Alexander Graf

parent
e190e8972f
commit
e67e7249c8
@@ -14,6 +14,9 @@
|
||||
#include <efi_api.h>
|
||||
#include <linker_lists.h>
|
||||
|
||||
#define EFI_ST_SUCCESS 0
|
||||
#define EFI_ST_FAILURE 1
|
||||
|
||||
/*
|
||||
* Prints an error message.
|
||||
*
|
||||
|
Reference in New Issue
Block a user