On Wed, Apr 01, 2026 at 03:48:50PM -0700, Dave Jiang wrote: > > > On 3/31/26 9:49 PM, Alison Schofield wrote: > > The mmap test currently checks for failure by comparing the return > > value of mmap() against NULL. However, mmap() indicates failure by > > returning MAP_FAILED, not NULL. This means a failure would go > > undetected and the test would proceed with an invalid pointer. > > > > Update the check to compare against MAP_FAILED. > > > > Signed-off-by: Alison Schofield <[email protected]> > > Reviewed-by: Dave Jiang <[email protected]>
Thanks! Set applied https://github.com/pmem/ndctl/tree/pending >
