[PATCH 5.1 076/115] libnvdimm: Fix compilation warnings with W=1