From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <ahmad@a3f.at>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 0/3] string: import strverscmp_improved from systemd
Date: Thu, 1 Jun 2023 09:07:50 +0200 [thread overview]
Message-ID: <20230601070750.GF18491@pengutronix.de> (raw)
In-Reply-To: <20230531062853.670751-1-ahmad@a3f.at>
On Wed, May 31, 2023 at 08:28:50AM +0200, Ahmad Fatoum wrote:
> The Boot Loader specification now references the UAPI group's version
> format specification[1] on how blspec entries should be sorted.
>
> In preparation of aligning barebox entry sorting with the specification,
> import systemd's strverscmp_improved as strverscmp and add some tests
> for it.
>
> The changes to bootloader spec sorting need some more testing and will
> follow separately.
>
> Ahmad Fatoum (3):
> include: sync min/max definitions with Linux
> include: minmax.h: implement compare3 helper
> string: import strverscmp_improved from systemd
Applied, thanks
Sascha
>
> include/linux/const.h | 9 ++
> include/linux/kernel.h | 123 +--------------------------
> include/linux/minmax.h | 189 +++++++++++++++++++++++++++++++++++++++++
> include/string.h | 2 +
> lib/Kconfig | 9 +-
> lib/Makefile | 1 +
> lib/strverscmp.c | 165 +++++++++++++++++++++++++++++++++++
> test/self/Kconfig | 6 ++
> test/self/Makefile | 1 +
> test/self/string.c | 175 ++++++++++++++++++++++++++++++++++++++
> 10 files changed, 557 insertions(+), 123 deletions(-)
> create mode 100644 include/linux/minmax.h
> create mode 100644 lib/strverscmp.c
> create mode 100644 test/self/string.c
>
> --
> 2.38.5
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2023-06-01 7:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-31 6:28 Ahmad Fatoum
2023-05-31 6:28 ` [PATCH 1/3] include: sync min/max definitions with Linux Ahmad Fatoum
2023-05-31 6:28 ` [PATCH 2/3] include: minmax.h: implement compare3 helper Ahmad Fatoum
2023-05-31 6:28 ` [PATCH 3/3] string: import strverscmp_improved from systemd Ahmad Fatoum
2023-06-01 7:07 ` Sascha Hauer [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=20230601070750.GF18491@pengutronix.de \
--to=sha@pengutronix.de \
--cc=ahmad@a3f.at \
--cc=barebox@lists.infradead.org \
/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