]> git.baikalelectronics.ru Git - kernel.git/commit
partitions/ldm: Replace uuid_copy() with import_uuid() where it makes sense
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 22 Apr 2020 13:03:17 +0000 (16:03 +0300)
committerJens Axboe <axboe@kernel.dk>
Thu, 18 Jun 2020 15:17:54 +0000 (09:17 -0600)
commit02f79f6991386d1d32a7c120d27c7b8dc544a81e
tree64aefeb280bfb90a1f2cbf6e60a2949610aac58d
parentc314833b12176142cb50e8b4911a9fc6906931da
partitions/ldm: Replace uuid_copy() with import_uuid() where it makes sense

There is a specific API to treat raw data as UUID, i.e. import_uuid().
Use it instead of uuid_copy() with explicit casting.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/ldm.c