diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-04-22 16:05:39 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2020-04-23 02:26:03 +0300 |
commit | f37b451f45a2fb0704b5d152563c921639f98eb8 (patch) | |
tree | cc5530fd871c714d44988406304e724912e2fecb /drivers/nvdimm | |
parent | ae83d0b416db002fe95601e7f97f64b59514d936 (diff) | |
download | linux-f37b451f45a2fb0704b5d152563c921639f98eb8.tar.xz |
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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20200422130539.45636-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions