mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
To: barebox@lists.infradead.org
Cc: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Subject: [PATCH 2/3] fixup! tftp: detect out-of-memory situations
Date: Mon,  5 Sep 2022 10:56:57 +0200	[thread overview]
Message-ID: <20220905085658.3854939-3-enrico.scholz@sigma-chemnitz.de> (raw)
In-Reply-To: <20220905085658.3854939-1-enrico.scholz@sigma-chemnitz.de>

minor typo fix

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
---
 fs/tftp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/tftp.c b/fs/tftp.c
index a3fe7dfd590e..9a3753e50e37 100644
--- a/fs/tftp.c
+++ b/fs/tftp.c
@@ -591,7 +591,7 @@ static void tftp_put_data(struct file_priv *priv, uint16_t block,
 	sz = kfifo_put(priv->fifo, pkt, len);
 
 	if (sz != len) {
-		pr_err("tftp: not enough room in kfifo (only %u out of %zu written\n",
+		pr_err("tftp: not enough room in kfifo (only %u out of %zu written)\n",
 		       sz, len);
 		priv->err = -ENOMEM;
 		priv->state = STATE_DONE;
-- 
2.37.2




  parent reply	other threads:[~2022-09-05 10:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-05  8:56 [PATCH 0/3] tftp fixups Enrico Scholz
2022-09-05  8:56 ` [PATCH 1/3] fixup! tftp: implement 'windowsize' (RFC 7440) support Enrico Scholz
2022-09-05  8:56 ` Enrico Scholz [this message]
2022-09-05  8:56 ` [PATCH 3/3] tftp: make read() fail in error case Enrico Scholz
2022-09-05 12:05 ` [PATCH 0/3] tftp fixups Ahmad Fatoum
2022-09-12 10:11 ` Sascha Hauer

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=20220905085658.3854939-3-enrico.scholz@sigma-chemnitz.de \
    --to=enrico.scholz@sigma-chemnitz.de \
    --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