]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: pblk: Replace guid_copy() with export_guid()/import_guid()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 14 Feb 2021 10:31:03 +0000 (10:31 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Feb 2021 04:27:24 +0000 (21:27 -0700)
commit58c213710c28331eb9da7c09ff34c23d105537e9
tree2bc39d263f39e8daaab07277168e471973e97508
parent282ca5ca7a7061da6d1b32309742c7416980ec67
lightnvm: pblk: Replace guid_copy() with export_guid()/import_guid()

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

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-core.c
drivers/lightnvm/pblk-recovery.c