aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-07-14 11:05:34 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-07-16 22:17:17 +0000
commit6631ca59e316333ee8e30d8f4262bbb3772f6dee (patch)
tree112f6c51cf2e74a9927474881292e0a846cedb4e
parentb225c92fd0c0b09b99e2290c5e42708f9046a7a2 (diff)
downloadu-boot-6631ca59e316333ee8e30d8f4262bbb3772f6dee.zip
u-boot-6631ca59e316333ee8e30d8f4262bbb3772f6dee.tar.gz
u-boot-6631ca59e316333ee8e30d8f4262bbb3772f6dee.tar.bz2
efi_loader: fix function comments in efi_boottime.c
scripts/kernel-doc pointed out some errors in the function comments in efi_boottime.c. Add missing and remove superfluous parameter descriptions. Escape * in a function description. Add empty lines for readability. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r--lib/efi_loader/efi_boottime.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index 62e4994..2144e35 100644
--- a/lib/efi_loader/efi_boottime.c
+++ b/lib/efi_loader/efi_boottime.c
@@ -596,7 +596,7 @@ efi_status_t efi_remove_all_protocols(const efi_handle_t handle)
/**
* efi_delete_handle() - delete handle
*
- * @obj: handle to delete
+ * @handle: handle to delete
*/
void efi_delete_handle(efi_handle_t handle)
{
@@ -628,6 +628,7 @@ static efi_status_t efi_is_event(const struct efi_event *event)
/**
* efi_create_event() - create an event
+ *
* @type: type of the event to create
* @notify_tpl: task priority level of the event
* @notify_function: notification function of the event
@@ -1418,9 +1419,9 @@ out:
/**
* efi_search() - determine if an EFI handle implements a protocol
+ *
* @search_type: selection criterion
* @protocol: GUID of the protocol
- * @search_key: registration key
* @handle: handle
*
* See the documentation of the LocateHandle service in the UEFI specification.
@@ -1682,7 +1683,7 @@ static efi_status_t EFIAPI efi_install_configuration_table_ext(efi_guid_t *guid,
* Initialize a loaded_image_info and loaded_image_info object with correct
* protocols, boot-device, etc.
*
- * In case of an error *handle_ptr and *info_ptr are set to NULL and an error
+ * In case of an error \*handle_ptr and \*info_ptr are set to NULL and an error
* code is returned.
*
* @device_path: device path of the loaded image