]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
efi_loader: fix comments in indent_string()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 24 Jan 2018 18:21:36 +0000 (19:21 +0100)
committerAlexander Graf <agraf@suse.de>
Sun, 28 Jan 2018 20:37:13 +0000 (21:37 +0100)
Provide a better description for indent_string.
Fix a typo.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_boottime.c

index 27c94e4474f1c9e988f5c0d4e27a0fb41e7ac10d..f5dae40f06625fc24b1eb4f35502438e8a18c97b 100644 (file)
@@ -111,8 +111,11 @@ void efi_restore_gd(void)
 }
 
 /*
- * Two spaces per indent level, maxing out at 10.. which ought to be
- * enough for anyone ;-)
+ * Return a string for indenting with two spaces per level. A maximum of ten
+ * indent levels is supported. Higher indent levels will be truncated.
+ *
+ * @level      indent level
+ * @return     indent string
  */
 static const char *indent_string(int level)
 {
@@ -1456,7 +1459,7 @@ error:
  * for details.
  *
  * @boot_policy                true for request originating from the boot manager
- * @parent_image       the calles's image handle
+ * @parent_image       the caller's image handle
  * @file_path          the path of the image to load
  * @source_buffer      memory location from which the image is installed
  * @source_size                size of the memory area from which the image is