mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 2/4] fs: fat: drop stray printf debug output
Date: Tue, 25 Aug 2026 12:10:54 +0200	[thread overview]
Message-ID: <20260825101106.2127202-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20260825101106.2127202-1-a.fatoum@pengutronix.de>

There appears to be nothing special here that warrants printing this
message irrespective of log level.

As there are no other debug prints in the file, just drop it.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 fs/fat/ff.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/fat/ff.c b/fs/fat/ff.c
index 89b4f9fa5de7..e4d83a35605f 100644
--- a/fs/fat/ff.c
+++ b/fs/fat/ff.c
@@ -1957,7 +1957,6 @@ int f_write (
 				fp->clust = clst;		/* Update current cluster */
 			}
 			if (fp->flag & FA__DIRTY) {		/* Write-back sector cache */
-				printf("wr sector cache\n");
 				if (disk_write(fp->fs, fp->buf, fp->dsect, 1) != RES_OK)
 					ABORT(fp->fs, -EIO);
 				fp->flag &= ~FA__DIRTY;
-- 
2.47.3




  reply	other threads:[~2026-08-25 10:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-25 10:10 [PATCH 1/4] fs: fat: propagate actual error code when opening/creating files Ahmad Fatoum
2026-08-25 10:10 ` Ahmad Fatoum [this message]
2026-08-25 10:10 ` [PATCH 3/4] fs: fat: use fixed-width 32-bit FatFs types Ahmad Fatoum
2026-08-25 10:10 ` [PATCH 4/4] fs: fat: flush metadata updates to the block device Ahmad Fatoum
2026-08-28 11:53 ` [PATCH 1/4] fs: fat: propagate actual error code when opening/creating files 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=20260825101106.2127202-2-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.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