From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Sam Protsenko <semen.protsenko@linaro.org>,
Colin McAllister <colin.mcallister@garmin.com>
Cc: u-boot@lists.denx.de, JPEWhacker@gmail.com, sjg@chromium.org
Subject: Re: [PATCH v2 1/2] android_ab: Add missing semicolon
Date: Tue, 12 Mar 2024 10:48:54 +0100 [thread overview]
Message-ID: <87sf0v4w6x.fsf@baylibre.com> (raw)
In-Reply-To: <CAPLW+4mBk-4_FsVF27FD+a=W3-wfKrDr4vjjeZ7Y8nT2mnuOwQ@mail.gmail.com>
On jeu., mars 07, 2024 at 16:54, Sam Protsenko <semen.protsenko@linaro.org> wrote:
> On Thu, Mar 7, 2024 at 4:11 PM Colin McAllister
> <colin.mcallister@garmin.com> wrote:
>>
>> 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.
>>
>> Signed-off-by: Colin McAllister <colin.mcallister@garmin.com>
>> Cc: Joshua Watt <JPEWhacker@gmail.com>
>> Cc: Simon Glass <sjg@chromium.org>
>> ---
>> 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 ");
>
> Good catch! Wonder why there is also a trailing space in the end of
> the string. Anyways, I think this patch deserves "Fixes:" tag, would
> you mind adding it? Other than that:
The file seems to have weird trailing/leading whitespaces in some of the
error messages.
I think it's fine to keep this as is for now.
We can make another series to fix this after Colin's work gets merged.
>
> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
>
>> log_err("expected %.8x, found %.8x),",
>> crc32_le, backup_abc->crc32_le);
>> #endif
>> --
>> 2.43.2
>>
>>
>> ________________________________
>>
>> CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient(s) and contain information that may be Garmin confidential and/or Garmin legally privileged. If you have received this email in error, please notify the sender by reply email and delete the message. Any disclosure, copying, distribution or use of this communication (including attachments) by someone other than the intended recipient is prohibited. Thank you.
next prev parent reply other threads:[~2024-03-12 9:49 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-07 16:17 [PATCH 0/2] Fix Android A/B backup Colin McAllister
2024-03-07 16:17 ` [PATCH 1/2] android_ab: Add missing semicolon Colin McAllister
2024-03-07 16:17 ` [PATCH 2/2] android_ab: Fix ANDROID_AB_BACKUP_OFFSET Colin McAllister
2024-03-07 17:50 ` Igor Opaniuk
2024-03-07 22:10 ` [PATCH v2 0/2] Fix Android A/B backup Colin McAllister
2024-03-07 22:10 ` [PATCH v2 1/2] android_ab: Add missing semicolon Colin McAllister
2024-03-07 22:54 ` Sam Protsenko
2024-03-12 9:48 ` Mattijs Korpershoek [this message]
2024-03-07 22:10 ` [PATCH v2 2/2] android_ab: Fix ANDROID_AB_BACKUP_OFFSET Colin McAllister
2024-03-07 23:08 ` Sam Protsenko
2024-03-08 16:59 ` [PATCH v3 0/2] Fix Android A/B backup Colin McAllister
2024-03-08 16:59 ` [PATCH v3 1/2] android_ab: Add missing semicolon Colin McAllister
2024-03-08 17:48 ` Sam Protsenko
2024-03-08 16:59 ` [PATCH v3 2/2] android_ab: Fix ANDROID_AB_BACKUP_OFFSET Colin McAllister
2024-03-08 17:50 ` Sam Protsenko
2024-03-08 17:56 ` Sam Protsenko
2024-03-08 17:54 ` [PATCH v3 0/2] Fix Android A/B backup Sam Protsenko
2024-03-08 19:24 ` McAllister, Colin
2024-03-08 21:59 ` Sam Protsenko
2024-03-12 9:46 ` Mattijs Korpershoek
2024-03-12 14:04 ` McAllister, Colin
2024-03-12 15:05 ` Mattijs Korpershoek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sf0v4w6x.fsf@baylibre.com \
--to=mkorpershoek@baylibre.com \
--cc=JPEWhacker@gmail.com \
--cc=colin.mcallister@garmin.com \
--cc=semen.protsenko@linaro.org \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.