From: Eryu Guan <guaneryu@gmail.com>
To: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: fstests@vger.kernel.org, Jan Kara <jack@suse.cz>,
Dan Williams <dan.j.williams@intel.com>,
Dave Chinner <david@fromorbit.com>,
Christoph Hellwig <hch@lst.de>,
linux-nvdimm@lists.01.org, Jeff Moyer <jmoyer@redhat.com>,
linux-ext4@vger.kernel.org
Subject: Re: [fstests PATCH 1/2] src/: fix up mmap() error checking
Date: Fri, 22 Jun 2018 10:28:38 +0800 [thread overview]
Message-ID: <20180622022838.GM2780@desktop> (raw)
In-Reply-To: <20180620225147.12151-1-ross.zwisler@linux.intel.com>
On Wed, Jun 20, 2018 at 04:51:46PM -0600, Ross Zwisler wrote:
> I noticed that in some of my C tests in src/ I was incorrectly checking for
> mmap() failure by looking for NULL instead of MAP_FAILED. Fix those and
> clean up some places where we were testing against -1 (the actual value of
> MAP_FAILED) which was manually being cast to a pointer.
>
> Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
BTW, I've applied this patch, no need to resend it in v2.
Thanks,
Eryu
WARNING: multiple messages have this Message-ID (diff)
From: Eryu Guan <guaneryu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Ross Zwisler <ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Cc: Jan Kara <jack-AlSwsSmVLrQ@public.gmane.org>,
linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org,
Dave Chinner <david-FqsqvQoI3Ljby3iVrkZq2A@public.gmane.org>,
fstests-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-ext4-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org>
Subject: Re: [fstests PATCH 1/2] src/: fix up mmap() error checking
Date: Fri, 22 Jun 2018 10:28:38 +0800 [thread overview]
Message-ID: <20180622022838.GM2780@desktop> (raw)
In-Reply-To: <20180620225147.12151-1-ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
On Wed, Jun 20, 2018 at 04:51:46PM -0600, Ross Zwisler wrote:
> I noticed that in some of my C tests in src/ I was incorrectly checking for
> mmap() failure by looking for NULL instead of MAP_FAILED. Fix those and
> clean up some places where we were testing against -1 (the actual value of
> MAP_FAILED) which was manually being cast to a pointer.
>
> Signed-off-by: Ross Zwisler <ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
BTW, I've applied this patch, no need to resend it in v2.
Thanks,
Eryu
WARNING: multiple messages have this Message-ID (diff)
From: Eryu Guan <guaneryu@gmail.com>
To: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Jan Kara <jack@suse.cz>,
linux-nvdimm@lists.01.org, Dave Chinner <david@fromorbit.com>,
fstests@vger.kernel.org, linux-ext4@vger.kernel.org,
Christoph Hellwig <hch@lst.de>
Subject: Re: [fstests PATCH 1/2] src/: fix up mmap() error checking
Date: Fri, 22 Jun 2018 10:28:38 +0800 [thread overview]
Message-ID: <20180622022838.GM2780@desktop> (raw)
In-Reply-To: <20180620225147.12151-1-ross.zwisler@linux.intel.com>
On Wed, Jun 20, 2018 at 04:51:46PM -0600, Ross Zwisler wrote:
> I noticed that in some of my C tests in src/ I was incorrectly checking for
> mmap() failure by looking for NULL instead of MAP_FAILED. Fix those and
> clean up some places where we were testing against -1 (the actual value of
> MAP_FAILED) which was manually being cast to a pointer.
>
> Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
BTW, I've applied this patch, no need to resend it in v2.
Thanks,
Eryu
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm
next prev parent reply other threads:[~2018-06-22 2:28 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-20 22:51 [fstests PATCH 1/2] src/: fix up mmap() error checking Ross Zwisler
2018-06-20 22:51 ` Ross Zwisler
2018-06-20 22:51 ` Ross Zwisler
2018-06-20 22:51 ` [fstests PATCH 2/2] generic/999: test DAX DMA vs truncate/hole-punch Ross Zwisler
2018-06-20 22:51 ` Ross Zwisler
2018-06-20 22:51 ` Ross Zwisler
2018-06-21 2:18 ` Dave Chinner
2018-06-21 2:18 ` Dave Chinner
2018-06-21 2:18 ` Dave Chinner
2018-06-21 16:34 ` Ross Zwisler
2018-06-21 16:34 ` Ross Zwisler
2018-06-21 16:34 ` Ross Zwisler
2018-06-21 2:40 ` Eryu Guan
2018-06-21 2:40 ` Eryu Guan
2018-06-21 2:40 ` Eryu Guan
2018-07-10 21:15 ` Ross Zwisler
2018-07-10 21:15 ` Ross Zwisler
2018-07-10 21:15 ` Ross Zwisler
2018-06-22 2:28 ` Eryu Guan [this message]
2018-06-22 2:28 ` [fstests PATCH 1/2] src/: fix up mmap() error checking Eryu Guan
2018-06-22 2:28 ` Eryu Guan
2018-06-22 16:19 ` Ross Zwisler
2018-06-22 16:19 ` Ross Zwisler
2018-06-22 16:19 ` Ross Zwisler
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=20180622022838.GM2780@desktop \
--to=guaneryu@gmail.com \
--cc=dan.j.williams@intel.com \
--cc=david@fromorbit.com \
--cc=fstests@vger.kernel.org \
--cc=hch@lst.de \
--cc=jack@suse.cz \
--cc=jmoyer@redhat.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-nvdimm@lists.01.org \
--cc=ross.zwisler@linux.intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.