]> git.baikalelectronics.ru Git - kernel.git/commit
uuid: Provide a GUID generator for raw buffer
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Feb 2020 15:37:50 +0000 (17:37 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:47 +0000 (17:01 +0100)
commitd694b0c06d33df7d67e97c53b90e473b16cc4620
treea98c9c07b374ed0412968b414dee66fb533034b4
parent752378b707aa44ed552465940bce050f9abef274
uuid: Provide a GUID generator for raw buffer

In some cases we would like to generate a GUID and export it.  Though it
would require either casting to internal kernel types or an intermediate
buffer. Instead we may achieve this by supplying a pointer to raw buffer
and make a complimentary API to existing one for UUIDs.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David Sterba <dsterba@suse.com>
include/linux/uuid.h
lib/uuid.c