Skip to content

Commit db5d00c

Browse files
andy-shevdjbw
authored andcommitted
libnvdimm, namespace: Drop uuid_t implementation detail
There is no need for caller to know how uuid_t type is constructed. Thus, whenever we use it the implementation details are not needed. Drop it for good. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent 9e0babf commit db5d00c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/nvdimm/namespace_devs.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,8 +1822,8 @@ static bool has_uuid_at_pos(struct nd_region *nd_region, u8 *uuid,
18221822
&& !guid_equal(&nd_set->type_guid,
18231823
&nd_label->type_guid)) {
18241824
dev_dbg(ndd->dev, "expect type_guid %pUb got %pUb\n",
1825-
nd_set->type_guid.b,
1826-
nd_label->type_guid.b);
1825+
&nd_set->type_guid,
1826+
&nd_label->type_guid);
18271827
continue;
18281828
}
18291829

@@ -2227,8 +2227,8 @@ static struct device *create_namespace_blk(struct nd_region *nd_region,
22272227
if (namespace_label_has(ndd, type_guid)) {
22282228
if (!guid_equal(&nd_set->type_guid, &nd_label->type_guid)) {
22292229
dev_dbg(ndd->dev, "expect type_guid %pUb got %pUb\n",
2230-
nd_set->type_guid.b,
2231-
nd_label->type_guid.b);
2230+
&nd_set->type_guid,
2231+
&nd_label->type_guid);
22322232
return ERR_PTR(-EAGAIN);
22332233
}
22342234

0 commit comments

Comments
 (0)