[PATCH 1/1] efi_loader: function descriptions efi_image_loader.c

Heinrich Schuchardt xypron.glpk at gmx.de
Sat May 30 05:51:58 CEST 2020


We want to follow the Linux kernel style for function descriptions.

Add missing parentheses after function names.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 lib/efi_loader/efi_image_loader.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/efi_loader/efi_image_loader.c b/lib/efi_loader/efi_image_loader.c
index 5dd601908d..ac7ea18f97 100644
--- a/lib/efi_loader/efi_image_loader.c
+++ b/lib/efi_loader/efi_image_loader.c
@@ -212,7 +212,7 @@ static void efi_set_code_and_data_type(

 #ifdef CONFIG_EFI_SECURE_BOOT
 /**
- * cmp_pe_section - compare two sections
+ * cmp_pe_section() - compare two sections
  * @arg1:	Pointer to pointer to first section
  * @arg2:	Pointer to pointer to second section
  *
@@ -237,7 +237,7 @@ static int cmp_pe_section(const void *arg1, const void *arg2)
 }

 /**
- * efi_image_parse - parse a PE image
+ * efi_image_parse() - parse a PE image
  * @efi:	Pointer to image
  * @len:	Size of @efi
  * @regp:	Pointer to a list of regions
@@ -404,7 +404,7 @@ err:
 }

 /**
- * efi_image_unsigned_authenticate - authenticate unsigned image with
+ * efi_image_unsigned_authenticate() - authenticate unsigned image with
  * SHA256 hash
  * @regs:	List of regions to be verified
  *
@@ -451,7 +451,7 @@ out:
 }

 /**
- * efi_image_authenticate - verify a signature of signed image
+ * efi_image_authenticate() - verify a signature of signed image
  * @efi:	Pointer to image
  * @efi_size:	Size of @efi
  *
--
2.26.2



More information about the U-Boot mailing list