libnvdimm/labels: Add uuid helpers
[sfrench/cifs-2.6.git] / drivers / nvdimm / pfn_devs.c
index b499df630d4de747514833cb466119160d8d402d..58eda16f5c5347d7345dc1b2ae8f9693160d1a1f 100644 (file)
@@ -452,7 +452,7 @@ int nd_pfn_validate(struct nd_pfn *nd_pfn, const char *sig)
        unsigned long align, start_pad;
        struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb;
        struct nd_namespace_common *ndns = nd_pfn->ndns;
-       const u8 *parent_uuid = nd_dev_to_uuid(&ndns->dev);
+       const uuid_t *parent_uuid = nd_dev_to_uuid(&ndns->dev);
 
        if (!pfn_sb || !ndns)
                return -ENODEV;