Skip to content

Commit

Permalink
efi_loader: fix some function descriptions
Browse files Browse the repository at this point in the history
* The function name must be provided in the description.
* The function name must match the name used in the description.

Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
  • Loading branch information
xypron committed Sep 21, 2024
1 parent 91a7927 commit 58da850
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/efi_loader/efi_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ static int term_get_char(s32 *c)
}

/**
* Receive and parse a reply from the terminal.
* term_read_reply() - receive and parse a reply from the terminal
*
* @n: array of return values
* @num: number of return values expected
Expand Down
2 changes: 1 addition & 1 deletion lib/efi_loader/efi_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ efi_status_t efi_file_open_int(struct efi_file_handle *this,
}

/**
* efi_file_open_()
* efi_file_open() - open file synchronously
*
* This function implements the Open service of the File Protocol.
* See the UEFI spec for details.
Expand Down
2 changes: 1 addition & 1 deletion lib/efi_loader/efi_rng.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static efi_status_t EFIAPI rng_getinfo(struct efi_rng_protocol *this,
}

/**
* rng_getrng() - get random value
* getrng() - get random value
*
* This function implement the GetRng() service of the EFI random number
* generator protocol. See the UEFI spec for details.
Expand Down
2 changes: 1 addition & 1 deletion lib/efi_loader/efi_unicode_collation.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ static void EFIAPI efi_fat_to_str(struct efi_unicode_collation_protocol *this,
}

/**
* efi_fat_to_str() - convert a utf-16 string to legal characters for a FAT
* efi_str_to_fat() - convert a utf-16 string to legal characters for a FAT
* file name in an OEM code page
*
* @this: unicode collation protocol instance
Expand Down

0 comments on commit 58da850

Please sign in to comment.