]> git.baikalelectronics.ru Git - kernel.git/commit
hyper-v: Use UUID API for exporting the GUID
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 22 Apr 2020 12:59:37 +0000 (15:59 +0300)
committerWei Liu <wei.liu@kernel.org>
Wed, 22 Apr 2020 13:40:02 +0000 (14:40 +0100)
commit6c8e9d63da10759f38f1fba7c602cb54a1e60ee1
treee5d47dc7ea40e19f188e173dfcc45b6dd4d443a8
parent7782d053fe9f73e7472c29d44d7cdb04bf49de9f
hyper-v: Use UUID API for exporting the GUID

There is export_guid() function which exports guid_t to the u8 array.
Use it instead of open coding variant.

This allows to hide the uuid_t internals.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200422125937.38355-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/hv_trace.h