[PATCH v4 1/2] android_ab: Add missing semicolon

Mattijs Korpershoek mkorpershoek at baylibre.com
Tue Mar 12 16:12:50 CET 2024


Hi Colin,

Thank you for the patch.

On mar., mars 12, 2024 at 07:57, Colin McAllister <colinmca242 at gmail.com> wrote:

> From: Colin McAllister <colin.mcallister at garmin.com>
>
> Found a missing semicolon in code protected by a #if that will never
> evaluate to true due to a separate issue. Fixing this issue before
> addressing the #if.
>
> Fixes: 3430f24bc6 ("android_ab: Try backup booloader_message")
> Signed-off-by: Colin McAllister <colin.mcallister at garmin.com>
> Cc: Joshua Watt <JPEWhacker at gmail.com>
> Cc: Simon Glass <sjg at chromium.org>
> Signed-off-by: Colin McAllister <colinmca242 at gmail.com>

Reviewed-by: Mattijs Korpershoek <mkorpershoek at baylibre.com>

Since Sam gave his review in [1]:
https://lore.kernel.org/all/CAPLW+4kHmPtfACyND4Vc2p0ZrsyGY=+bRU=fdub4K1uX5p33Jw@mail.gmail.com/

I will also add:

Reviewed-by: Sam Protsenko <semen.protsenko at linaro.org>

When applying.

> ---
> v2: No changes
> v3: Added "Fixes:" tag
> v4: No changes
>
>  boot/android_ab.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/boot/android_ab.c b/boot/android_ab.c
> index c9df6d2b4b..9a3d15ec60 100644
> --- a/boot/android_ab.c
> +++ b/boot/android_ab.c
> @@ -221,7 +221,7 @@ int ab_select_slot(struct blk_desc *dev_desc, struct disk_partition *part_info,
>  #if ANDROID_AB_BACKUP_OFFSET
>  		crc32_le = ab_control_compute_crc(backup_abc);
>  		if (backup_abc->crc32_le != crc32_le) {
> -			log_err("ANDROID: Invalid backup CRC-32 ")
> +			log_err("ANDROID: Invalid backup CRC-32 ");
>  			log_err("expected %.8x, found %.8x),",
>  				crc32_le, backup_abc->crc32_le);
>  #endif
> -- 
> 2.34.1


More information about the U-Boot mailing list