summaryrefslogtreecommitdiff
path: root/boot/android_ab.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-01-20 09:39:45 -0500
committerTom Rini <trini@konsulko.com>2022-01-20 09:39:45 -0500
commit280db76f1526c2e3657c013ab679a120eed8e6b7 (patch)
tree7843623ac19ed2d714792236b2be748270986f9c /boot/android_ab.c
parent068415eadefbbc81f14d4ce61fcf7a7eb39650d4 (diff)
parent185f812c419f1b4f0d10d9787d59cf9f11a2a600 (diff)
Merge tag 'doc-2022-04-rc1' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request doc-2022-04-rc1 Replace @return by Return: in code comments.
Diffstat (limited to 'boot/android_ab.c')
-rw-r--r--boot/android_ab.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/boot/android_ab.c b/boot/android_ab.c
index 4943f26d53a..2d7b3926665 100644
--- a/boot/android_ab.c
+++ b/boot/android_ab.c
@@ -22,7 +22,7 @@
*
* @param[in] abc bootloader control block
*
- * @return crc32 sum
+ * Return: crc32 sum
*/
static uint32_t ab_control_compute_crc(struct bootloader_control *abc)
{
@@ -38,7 +38,7 @@ static uint32_t ab_control_compute_crc(struct bootloader_control *abc)
*
* @param[in] abc bootloader control block
*
- * @return 0 on success and a negative on error
+ * Return: 0 on success and a negative on error
*/
static int ab_control_default(struct bootloader_control *abc)
{
@@ -81,7 +81,7 @@ static int ab_control_default(struct bootloader_control *abc)
* @param[in] part_info Partition in 'dev_desc' where to read from, normally
* the "misc" partition should be used
* @param[out] pointer to pointer to bootloader_control data
- * @return 0 on success and a negative on error
+ * Return: 0 on success and a negative on error
*/
static int ab_control_create_from_disk(struct blk_desc *dev_desc,
const struct disk_partition *part_info,
@@ -131,7 +131,7 @@ static int ab_control_create_from_disk(struct blk_desc *dev_desc,
* @param[in] part_info Partition on the 'dev_desc' where to write
* @param[in] abc Pointer to the boot control struct and the extra bytes after
* it up to the nearest block boundary
- * @return 0 on success and a negative on error
+ * Return: 0 on success and a negative on error
*/
static int ab_control_store(struct blk_desc *dev_desc,
const struct disk_partition *part_info,
@@ -160,7 +160,7 @@ static int ab_control_store(struct blk_desc *dev_desc,
*
* @param[in] a The first bootable slot metadata
* @param[in] b The second bootable slot metadata
- * @return Negative if the slot "a" is better, positive of the slot "b" is
+ * Return: Negative if the slot "a" is better, positive of the slot "b" is
* better or 0 if they are equally good.
*/
static int ab_compare_slots(const struct slot_metadata *a,