All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH 1/3] lib/uuid.c: change prototype of uuid_guid_get_str()
Date: Mon, 18 Jan 2021 08:00:25 -0500	[thread overview]
Message-ID: <20210118130025.GM9782@bill-the-cat> (raw)
In-Reply-To: <20201120104537.619-2-rasmus.villemoes@prevas.dk>

On Fri, Nov 20, 2020 at 11:45:35AM +0100, Rasmus Villemoes wrote:

> There's no reason to require an appropriately sized output parameter
> for the string, that's error-prone should the table ever grow an
> element with a longer string. We can just return the const char*
> pointer directly.
> 
> Update the only caller accordingly, and get rid of pointless ifdeffery
> in the header so that the compiler always sees a declaration and can
> thus do type-checking, whether or not PARTITION_TYPE_GUID is enabled
> or not.
> 
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210118/d6c23740/attachment.sig>

  reply	other threads:[~2021-01-18 13:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-17 10:05 RFC: Partition type GUID for U-Boot environment Rasmus Villemoes
2020-11-17 12:21 ` Marcin Juszkiewicz
2020-11-17 12:59   ` Rasmus Villemoes
2020-11-17 18:27 ` Tom Rini
2020-11-20  8:59   ` Rasmus Villemoes
2020-11-20 10:45     ` [PATCH 0/3] add partition " Rasmus Villemoes
2020-11-20 10:45       ` [PATCH 1/3] lib/uuid.c: change prototype of uuid_guid_get_str() Rasmus Villemoes
2021-01-18 13:00         ` Tom Rini [this message]
2020-11-20 10:45       ` [PATCH 2/3] doc/README.gpt: define partition type GUID for U-Boot environment Rasmus Villemoes
2021-01-18 13:00         ` Tom Rini
2020-11-20 10:45       ` [PATCH 3/3] doc/README.gpt: reflow partition type GUID table Rasmus Villemoes
2021-01-18 13:00         ` Tom Rini

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=20210118130025.GM9782@bill-the-cat \
    --to=trini@konsulko.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 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.