]> git.baikalelectronics.ru Git - kernel.git/commit
drm/virtio: Use UUID API for importing the UUID
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 13 Oct 2020 13:27:14 +0000 (16:27 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 14 Oct 2020 07:30:19 +0000 (09:30 +0200)
commitad2eaae6f7bd9361952173881aefcb7bf5580846
tree52c71882fcf51065d382f7d7e0c6e876835a1826
parent3913bdfb20af55219c381301c831eb1b7e715550
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>
drivers/gpu/drm/virtio/virtgpu_vq.c