From: Carlos Maiolino <cem@kernel.org>
To: Alejandro Colomar <alx@kernel.org>
Cc: linux-xfs@vger.kernel.org, "Darrick J. Wong" <djwong@kernel.org>,
Christoph Hellwig <hch@lst.de>
Subject: Re: [PATCH] xfs: Remove incorrect use of '&'
Date: Wed, 25 Nov 2026 18:38:11 +0100 [thread overview]
Message-ID: <awccmN95lHSd7vp2@cronus.toxiclabs.cc> (raw)
In-Reply-To: <3783cf39b873890896eb889c8c09edb455559fce.1795626969.git.alx@kernel.org>
On Wed, Nov 25, 2026 at 06:16:45PM +0100, Alejandro Colomar wrote:
> We want to pass the character array, not a pointer to it.
>
> This seems an obvious typo, introduced in a48373e7d35a (2026-01-20;
> "xfs: start creating infrastructure for health monitoring").
>
> Cc: Darrick J. Wong <djwong@kernel.org>
> Cc: Christoph Hellwig <hch@lst.de>
> Signed-off-by: Alejandro Colomar <alx@kernel.org>
> ---
> fs/xfs/xfs_healthmon.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/xfs/xfs_healthmon.c b/fs/xfs/xfs_healthmon.c
> index 2bdd747f1ead..56d19ffb02b3 100644
> --- a/fs/xfs/xfs_healthmon.c
> +++ b/fs/xfs/xfs_healthmon.c
> @@ -1061,7 +1061,7 @@ xfs_healthmon_validate(
> return false;
> if (hmo->format != XFS_HEALTH_MONITOR_FMT_V0)
> return false;
> - if (memchr_inv(&hmo->pad, 0, sizeof(hmo->pad)))
> + if (memchr_inv(hmo->pad, 0, sizeof(hmo->pad)))
> return false;
> return true;
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
> }
> --
> 2.55.0
>
next prev parent reply other threads:[~2026-11-25 17:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 17:16 [PATCH] xfs: Remove incorrect use of '&' Alejandro Colomar
2026-11-25 17:38 ` Carlos Maiolino [this message]
2026-11-25 18:11 ` Alejandro Colomar
2026-11-25 19:00 ` Carlos Maiolino
2026-11-25 17:43 ` Eric Sandeen
2026-11-25 18:10 ` Alejandro Colomar
2026-11-25 21:42 ` Eric Sandeen
2026-11-26 13:49 ` 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=awccmN95lHSd7vp2@cronus.toxiclabs.cc \
--to=cem@kernel.org \
--cc=alx@kernel.org \
--cc=djwong@kernel.org \
--cc=hch@lst.de \
--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