From: Quentin Schulz <foss+uboot@0leil.net>
To: u-boot@lists.denx.de
Cc: Casey Connolly <casey.connolly@linaro.org>,
Tom Rini <trini@konsulko.com>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Andrew Goodbody <andrew.goodbody@linaro.org>,
Peter Robinson <pbrobinson@gmail.com>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Simon Glass <sjg@chromium.org>,
Quentin Schulz <quentin.schulz@cherry.de>
Subject: [PATCH v3 0/2] cmd: ufetch: print Net feature when NET_LWIP=y, prettyfy if NET=n
Date: Tue, 05 May 2026 11:14:30 +0200 [thread overview]
Message-ID: <20260505-ufetch-net-v3-0-eee5eb9ca5ce@cherry.de> (raw)
Make sure the Net feature is printed when NET_LWIP is enabled, not only
when NET_LEGACY is.
Only print comma and following whitespace as separator if there was a
feature printed before feature to be printed.
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
Changes in v3:
- migrated from bool plus ternary operator for setting the separator per
printf to a const char* which contains the separator to print, as
suggested by Simon,
- Link to v2: https://patch.msgid.link/20260504-ufetch-net-v2-0-01bec4ca7169@cherry.de
Changes in v2:
- added R-b trailers,
- fixed spurious colon character before separator in cat,
- Link to v1: https://patch.msgid.link/20260428-ufetch-net-v1-0-5d58c7618239@cherry.de
---
Quentin Schulz (2):
cmd: ufetch: show net feature when NET_LWIP is selected
cmd: ufetch: only show comma separator if there was a previous feature
cmd/ufetch.c | 29 ++++++++++++++++++++---------
1 file changed, 20 insertions(+), 9 deletions(-)
---
base-commit: 57460fde4ba84d67de4066ee1141e89e8139ed23
change-id: 20260428-ufetch-net-1ba7553a20c7
Best regards,
--
Quentin Schulz <quentin.schulz@cherry.de>
next reply other threads:[~2026-05-05 9:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-05 9:14 Quentin Schulz [this message]
2026-05-05 9:14 ` [PATCH v3 1/2] cmd: ufetch: show net feature when NET_LWIP is selected Quentin Schulz
2026-05-05 9:14 ` [PATCH v3 2/2] cmd: ufetch: only show comma separator if there was a previous feature Quentin Schulz
2026-05-05 13:58 ` Simon Glass
2026-05-05 13:47 ` [PATCH v3 0/2] cmd: ufetch: print Net feature when NET_LWIP=y, prettyfy if NET=n Casey Connolly
2026-05-05 14:14 ` Casey Connolly
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=20260505-ufetch-net-v3-0-eee5eb9ca5ce@cherry.de \
--to=foss+uboot@0leil.net \
--cc=andrew.goodbody@linaro.org \
--cc=casey.connolly@linaro.org \
--cc=ilias.apalodimas@linaro.org \
--cc=pbrobinson@gmail.com \
--cc=quentin.schulz@cherry.de \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.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