efi_loader: improve documentation of enum efi_test_phase
PATCH 1/1 efi_loader: improve documentation of enum efi_test_phase
* Avoid a warning warning: "Incorrect use of kernel-doc format".
* Remove duplicate text.
* Clarify usage of EFI_SETTING_VIRTUAL_ADDRESS_MAP.
--- include/efi_selftest.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
include/efi_selftest.h +8 -4
@@ -53,21 +53,25 @@*/ enum efi_test_phase {/** -* @EFI_EXECUTE_BEFORE_BOOTTIME_EXIT: - execute before ExitBootServices +* @EFI_EXECUTE_BEFORE_BOOTTIME_EXIT: * * Setup, execute, and teardown are executed before ExitBootServices(). */ EFI_EXECUTE_BEFORE_BOOTTIME_EXIT =1 ,/** -* @EFI_SETUP_BEFORE_BOOTTIME_EXIT: - setup before ExitBootServices +* @EFI_SETUP_BEFORE_BOOTTIME_EXIT: * * Setup is executed before ExitBootServices() while execute, and * teardown are executed after ExitBootServices(). */ EFI_SETUP_BEFORE_BOOTTIME_EXIT ,/** -* @EFI_SETTING_VIRTUAL_ADDRESS_MAP - calls SetVirtualAddressMap() -* Execute calls SetVirtualAddressMap(). +* @EFI_SETTING_VIRTUAL_ADDRESS_MAP: +* +* Execute calls SetVirtualAddressMap(). Setup is executed before +* ExitBootServices() while execute is executed after +* ExitBootServices(), and after the execute of tests marked as +* @EFI_SETUP_BEFORE_BOOTTIME_EXIT. Teardown is executed thereafter. */ EFI_SETTING_VIRTUAL_ADDRESS_MAP , };
--
2.30.2
PATCH 1/1 efi_loader: improve documentation of enum efi_test_phase
Dear Heinrich,
Quoted 3 lines
* Avoid a warning warning: "Incorrect use of kernel-doc format".
* Remove duplicate text.
* Clarify usage ofEFI_SETTING_VIRTUAL_ADDRESS_MAP.
This is a duplicate text too: `a warning warning'.
PATCH 1/1 efi_loader: improve documentation of enum efi_test_phase
Quoted 6 lines · Alex Sadovsky
Dear Heinrich,
Quoted 3 lines
* Avoid a warning warning: "Incorrect use of kernel-doc format".
* Remove duplicate text.
* Clarify usage ofEFI_SETTING_VIRTUAL_ADDRESS_MAP.This is a duplicate text too: `a warning warning'.
Thanks for reviewing. I will correct the commit message before merging.
Best regards
Heinrich