Re: [PATCH] libnvdimm, region: hide persistence_domain when unknown

From: Ross Zwisler
Date: Wed Mar 21 2018 - 13:11:34 EST


On Tue, Mar 20, 2018 at 09:23:21PM -0700, Dan Williams wrote:
> Similar to other region attributes, do not emit the persistence_domain
> attribute if its contents are empty.
>
> Fixes: 96c3a239054a ("libnvdimm: expose platform persistence attr...")
> Cc: Dave Jiang <dave.jiang@xxxxxxxxx>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>

Looks good to me.

Reviewed-by: Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx>