]> git.sur5r.net Git - u-boot/commit
efi_selftest: make tests easier to read
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 4 Oct 2017 13:31:26 +0000 (15:31 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 9 Oct 2017 05:00:23 +0000 (07:00 +0200)
commite67e7249c8000d72b4c4b985fdeb3e103d65aa9e
tree6d23111df527f7f508c5423ef97e2d9c253dd055
parente190e8972faf4d5b09e2a92fefc54a1832fd67da
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>
include/efi_selftest.h
lib/efi_selftest/efi_selftest.c
lib/efi_selftest/efi_selftest_events.c
lib/efi_selftest/efi_selftest_exitbootservices.c
lib/efi_selftest/efi_selftest_tpl.c