FROMGIT: drm/virtio: Use UUID API for importing the UUID
There is import_uuid() function which imports u8 array to the uuid_t. Use it instead of open coding variant. This allows to hide the uuid_t internals. Reviewed-by:David Stevens <stevensd@chromium.org> Signed-off-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20201013132714.70973-1-andriy.shevchenko@linux.intel.com Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> (cherry picked from commit 412ae84cb4dd2bd1cccbeb996fee47cf4d80a3ad git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master) BUG=b:171715474 TEST=compile Change-Id: I3bab7b553b248d44a58f8062820113dfd932dc07 Signed-off-by:
Guenter Roeck <groeck@chromium.org> (cherry picked from commit 0ae325307c6ec9b9772cc6ba9b69996559c12d02)
Loading
Please sign in to comment