mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@barebox.org>
Subject: Re: [PATCH 1/7] console: return characters written from console_putc
Date: Mon, 13 Apr 2026 14:28:22 +0200	[thread overview]
Message-ID: <177608330223.3549475.17827305299725885418.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20260413101118.1462119-1-a.fatoum@barebox.org>


On Mon, 13 Apr 2026 12:09:36 +0200, Ahmad Fatoum wrote:
> console_putc() prints two characters instead of one when it does
> LF -> CRLF conversion.
> 
> As console_putc already has to do the CRLF check, have it return the
> number of printed characters as well to simplify its users.
> 
> 
> [...]

Applied, thanks!

[1/7] console: return characters written from console_putc
      https://git.pengutronix.de/cgit/barebox/commit/?id=1f2f5516f3ec (link may not be stable)
[2/7] stddef: implement scoped_var for use in iterators
      https://git.pengutronix.de/cgit/barebox/commit/?id=59b568e3f41d (link may not be stable)
[3/7] console: have for_each_console declare the iterator internally
      https://git.pengutronix.de/cgit/barebox/commit/?id=2cd7ffac2800 (link may not be stable)
[4/7] console: make console_puts and friends accept a console_device
      https://git.pengutronix.de/cgit/barebox/commit/?id=1c0c83499823 (link may not be stable)
[5/7] console: implement console_putc in terms of console_putbin
      https://git.pengutronix.de/cgit/barebox/commit/?id=7d1261885109 (link may not be stable)
[6/7] console: implement console_printf
      https://git.pengutronix.de/cgit/barebox/commit/?id=ec7d76d5dee5 (link may not be stable)
[7/7] commands: dmesg: give log_print a console_device parameter
      https://git.pengutronix.de/cgit/barebox/commit/?id=ae1bbd2ab824 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




      parent reply	other threads:[~2026-04-13 12:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-13 10:09 Ahmad Fatoum
2026-04-13 10:09 ` [PATCH 2/7] stddef: implement scoped_var for use in iterators Ahmad Fatoum
2026-04-13 10:09 ` [PATCH 3/7] console: have for_each_console declare the iterator internally Ahmad Fatoum
2026-04-13 10:09 ` [PATCH 4/7] console: make console_puts and friends accept a console_device Ahmad Fatoum
2026-04-13 10:09 ` [PATCH 5/7] console: implement console_putc in terms of console_putbin Ahmad Fatoum
2026-04-13 10:09 ` [PATCH 6/7] console: implement console_printf Ahmad Fatoum
2026-04-13 10:09 ` [PATCH 7/7] commands: dmesg: give log_print a console_device parameter Ahmad Fatoum
2026-04-13 12:28 ` 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=177608330223.3549475.17827305299725885418.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=a.fatoum@barebox.org \
    --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