On Thu, Sep 03, 2026 at 01:35:35PM +0800, Kaitao Cheng wrote: > From: Kaitao Cheng <[email protected]> > > TestClearPageHWPoison() is now defined regardless of whether > CONFIG_MEMORY_FAILURE is enabled, returning false when memory failure > handling is unavailable. > > The test_and_clear_pmem_poison() wrapper duplicates this configuration > handling and has no other pmem-specific behavior. > > Call TestClearPageHWPoison() directly and remove the redundant wrapper. > This also removes the need to include page-flags.h from pmem.h. > > No functional change is intended. > > Signed-off-by: Kaitao Cheng <[email protected]>
Nice cleanup, but as David noted, please squash patch#1 into this one. Reviewed-by: Oscar Salvador <[email protected]> -- Oscar Salvador SUSE Labs

