Skip to content
Commit f37b451f authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Dan Williams
Browse files

libnvdimm: Replace guid_copy() with import_guid() where it makes sense



There is a specific API to treat raw data as GUID, i.e. import_guid().
Use it instead of guid_copy() with explicit casting.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarIra Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20200422130539.45636-1-andriy.shevchenko@linux.intel.com


Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent ae83d0b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment