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 20:00:54 +0100 [thread overview]
Message-ID: <awcwWruHQY0S2kh8@cronus.toxiclabs.cc> (raw)
In-Reply-To: <awckyI8cAWM_kLzb@devuan>
On Wed, Nov 25, 2026 at 07:11:48PM +0100, Alejandro Colomar wrote:
> Hi Carlos,
>
> > Date: 2026-11-25 18:38:11+0100
> > From: Carlos Maiolino <cem@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>
>
> Thanks! Will you take the patch?
Yes I will
>
>
> Cheers,
> Alex
>
> >
> > > }
> > > --
> > > 2.55.0
> > >
> >
> >
>
> --
> <https://www.alejandro-colomar.es>
next prev parent reply other threads:[~2026-11-25 19:00 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
2026-11-25 18:11 ` Alejandro Colomar
2026-11-25 19:00 ` Carlos Maiolino [this message]
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=awcwWruHQY0S2kh8@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