public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH] fastboot: only look up real partition names when no alias exists
Date: Fri, 28 Jan 2022 15:15:33 -0500	[thread overview]
Message-ID: <20220128201533.GM7515@bill-the-cat> (raw)
In-Reply-To: <20211216102638.111391-1-matthias.schiffer@ew.tq-group.com>

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

On Thu, Dec 16, 2021 at 11:26:38AM +0100, Matthias Schiffer wrote:

> Having U-Boot look up the passed partition name even though an alias
> exists is unexpected, leading to warning messages (when the alias name
> doesn't exist as a real partition name) or the use of the wrong
> partition.
> 
> Change part_get_info_by_name_or_alias() to consider real partitions
> names only if no alias of the same name exists, allowing to use aliases
> to override the configuration for existing partition names.
> 
> Also change one use of strcpy() to strlcpy().
> 
> Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
> Reviewed-by: Sean Anderson <sean.anderson@seco.com>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

      parent reply	other threads:[~2022-01-28 20:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-16 10:26 [PATCH] fastboot: only look up real partition names when no alias exists Matthias Schiffer
2021-12-17 23:20 ` Sean Anderson
2022-01-26  9:54   ` Matthias Schiffer
2022-01-27 16:22     ` Sean Anderson
2022-01-27 22:10       ` Tom Rini
2022-01-28 20:15 ` Tom Rini [this message]

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=20220128201533.GM7515@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=matthias.schiffer@ew.tq-group.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox