mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 02:24:03 +02:00
doc: replace @return by Return:
Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
@@ -22,7 +22,7 @@ const efi_guid_t efi_guid_device_path_utilities_protocol =
|
||||
* for details.
|
||||
*
|
||||
* @device_path device path
|
||||
* @return size in bytes
|
||||
* Return: size in bytes
|
||||
*/
|
||||
static efi_uintn_t EFIAPI get_device_path_size(
|
||||
const struct efi_device_path *device_path)
|
||||
@@ -50,7 +50,7 @@ static efi_uintn_t EFIAPI get_device_path_size(
|
||||
* for details.
|
||||
*
|
||||
* @device_path device path
|
||||
* @return copy of the device path
|
||||
* Return: copy of the device path
|
||||
*/
|
||||
static struct efi_device_path * EFIAPI duplicate_device_path(
|
||||
const struct efi_device_path *device_path)
|
||||
@@ -70,7 +70,7 @@ static struct efi_device_path * EFIAPI duplicate_device_path(
|
||||
*
|
||||
* @src1 1st device path
|
||||
* @src2 2nd device path
|
||||
* @return concatenated device path
|
||||
* Return: concatenated device path
|
||||
*/
|
||||
static struct efi_device_path * EFIAPI append_device_path(
|
||||
const struct efi_device_path *src1,
|
||||
@@ -91,7 +91,7 @@ static struct efi_device_path * EFIAPI append_device_path(
|
||||
*
|
||||
* @device_path device path
|
||||
* @device_node device node
|
||||
* @return concatenated device path
|
||||
* Return: concatenated device path
|
||||
*/
|
||||
static struct efi_device_path * EFIAPI append_device_node(
|
||||
const struct efi_device_path *device_path,
|
||||
@@ -112,7 +112,7 @@ static struct efi_device_path * EFIAPI append_device_node(
|
||||
*
|
||||
* @device_path 1st device path
|
||||
* @device_path_instance 2nd device path
|
||||
* @return concatenated device path
|
||||
* Return: concatenated device path
|
||||
*/
|
||||
static struct efi_device_path * EFIAPI append_device_path_instance(
|
||||
const struct efi_device_path *device_path,
|
||||
@@ -134,7 +134,7 @@ static struct efi_device_path * EFIAPI append_device_path_instance(
|
||||
*
|
||||
* @device_path_instance next device path instance
|
||||
* @device_path_instance_size size of the device path instance
|
||||
* @return concatenated device path
|
||||
* Return: concatenated device path
|
||||
*/
|
||||
static struct efi_device_path * EFIAPI get_next_device_path_instance(
|
||||
struct efi_device_path **device_path_instance,
|
||||
@@ -156,7 +156,7 @@ static struct efi_device_path * EFIAPI get_next_device_path_instance(
|
||||
*
|
||||
* @device_path device path
|
||||
* @device_node device node
|
||||
* @return concatenated device path
|
||||
* Return: concatenated device path
|
||||
*/
|
||||
static bool EFIAPI is_device_path_multi_instance(
|
||||
const struct efi_device_path *device_path)
|
||||
@@ -177,7 +177,7 @@ static bool EFIAPI is_device_path_multi_instance(
|
||||
* @node_type node type
|
||||
* @node_sub_type node sub type
|
||||
* @node_length node length
|
||||
* @return device path node
|
||||
* Return: device path node
|
||||
*/
|
||||
static struct efi_device_path * EFIAPI create_device_node(
|
||||
uint8_t node_type, uint8_t node_sub_type, uint16_t node_length)
|
||||
|
Reference in New Issue
Block a user