mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: jianyungao89@gmail.com
To: linux-kernel@vger.kernel.org
Cc: Jianyun Gao <jianyungao89@gmail.com>,
	Carlos Maiolino <cem@kernel.org>,
	Alexei Starovoitov <ast@kernel.org>,
	Kyuwon Cho <kyuwoncho18@gmail.com>,
	"Darrick J. Wong" <djwong@kernel.org>,
	Yuzuki Ishiyama <ishiyama@hpc.is.uec.ac.jp>,
	linux-xfs@vger.kernel.org (open list:XFS FILESYSTEM)
Subject: [PATCH] xfs: fix typo and wrong terminator in xfs_attr_remote.c
Date: Tue,  1 Dec 2026 16:57:44 +0800	[thread overview]
Message-ID: <20261201085747.1855-1-jianyungao89@gmail.com> (raw)

From: Jianyun Gao <jianyungao89@gmail.com>

Fix 'Ox%x' typo in alert format string and comma-terminated
assignment in xfs_attr_rmtval_set_value().

Signed-off-by: Jianyun Gao <jianyungao89@gmail.com>
---
 fs/xfs/libxfs/xfs_attr_remote.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/xfs/libxfs/xfs_attr_remote.c b/fs/xfs/libxfs/xfs_attr_remote.c
index 7cd3f2de1a80..5e3e06d17d61 100644
--- a/fs/xfs/libxfs/xfs_attr_remote.c
+++ b/fs/xfs/libxfs/xfs_attr_remote.c
@@ -314,7 +314,7 @@ xfs_attr_rmtval_copyout(
 			if (xfs_attr3_rmt_hdr_ok(src, owner, *offset,
 						  byte_cnt, bno)) {
 				xfs_alert(mp,
-"remote attribute header mismatch bno/off/len/owner (0x%llx/0x%x/Ox%x/0x%llx)",
+"remote attribute header mismatch bno/off/len/owner (0x%llx/0x%x/0x%x/0x%llx)",
 					bno, *offset, byte_cnt, owner);
 				xfs_dirattr_mark_sick(dp, XFS_ATTR_FORK);
 				return -EFSCORRUPTED;
@@ -536,7 +536,7 @@ xfs_attr_rmtval_set_value(
 		ASSERT((map.br_startblock != DELAYSTARTBLOCK) &&
 		       (map.br_startblock != HOLESTARTBLOCK));
 
-		dblkno = XFS_FSB_TO_DADDR(mp, map.br_startblock),
+		dblkno = XFS_FSB_TO_DADDR(mp, map.br_startblock);
 		dblkcnt = XFS_FSB_TO_BB(mp, map.br_blockcount);
 
 		error = xfs_buf_get(mp->m_ddev_targp, dblkno, dblkcnt, &bp);
-- 
2.34.1


             reply	other threads:[~2026-12-01  8:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  8:57 jianyungao89 [this message]
2026-12-01 11:33 ` Carlos Maiolino
2026-12-01 11:38 ` Carlos Maiolino

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=20261201085747.1855-1-jianyungao89@gmail.com \
    --to=jianyungao89@gmail.com \
    --cc=ast@kernel.org \
    --cc=cem@kernel.org \
    --cc=djwong@kernel.org \
    --cc=ishiyama@hpc.is.uec.ac.jp \
    --cc=kyuwoncho18@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.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

all inboxes | Powered by JetHome®