diff options
author | Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com> | 2018-02-22 19:00:17 -0500 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-02-27 02:40:39 -0500 |
commit | 5d883850dc23a52960b3633ca119dcf2413477ae (patch) | |
tree | e29c91155118f5b0f50f6b74c98a60d6ab7e4d35 | |
parent | 9d492b6bece4ecce096894153005fa2bb31f911f (diff) |
drm/virtio: Add */ in block comments to separate line
This patch fixes the checkpatch.pl warning:
virtgpu_ioctl.c:551: WARNING: Block comments use a trailing */ on a
separate line
...
Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/f0bd4104a7d26bf7561c3a2b4632041c5411f1f2.1519343668.git.rodrigosiqueiramelo@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_ioctl.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_prime.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_vq.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_ioctl.c b/drivers/gpu/drm/virtio/virtgpu_ioctl.c index 7fe04537fb8c..684f443ec7ef 100644 --- a/drivers/gpu/drm/virtio/virtgpu_ioctl.c +++ b/drivers/gpu/drm/virtio/virtgpu_ioctl.c | |||
@@ -550,7 +550,8 @@ struct drm_ioctl_desc virtio_gpu_ioctls[DRM_VIRTIO_NUM_IOCTLS] = { | |||
550 | DRM_AUTH|DRM_UNLOCKED|DRM_RENDER_ALLOW), | 550 | DRM_AUTH|DRM_UNLOCKED|DRM_RENDER_ALLOW), |
551 | 551 | ||
552 | /* make transfer async to the main ring? - no sure, can we | 552 | /* make transfer async to the main ring? - no sure, can we |
553 | thread these in the underlying GL */ | 553 | * thread these in the underlying GL |
554 | */ | ||
554 | DRM_IOCTL_DEF_DRV(VIRTGPU_TRANSFER_FROM_HOST, | 555 | DRM_IOCTL_DEF_DRV(VIRTGPU_TRANSFER_FROM_HOST, |
555 | virtio_gpu_transfer_from_host_ioctl, | 556 | virtio_gpu_transfer_from_host_ioctl, |
556 | DRM_AUTH|DRM_UNLOCKED|DRM_RENDER_ALLOW), | 557 | DRM_AUTH|DRM_UNLOCKED|DRM_RENDER_ALLOW), |
diff --git a/drivers/gpu/drm/virtio/virtgpu_prime.c b/drivers/gpu/drm/virtio/virtgpu_prime.c index 385e0eb9826a..6c6e9dbab096 100644 --- a/drivers/gpu/drm/virtio/virtgpu_prime.c +++ b/drivers/gpu/drm/virtio/virtgpu_prime.c | |||
@@ -25,7 +25,8 @@ | |||
25 | #include "virtgpu_drv.h" | 25 | #include "virtgpu_drv.h" |
26 | 26 | ||
27 | /* Empty Implementations as there should not be any other driver for a virtual | 27 | /* Empty Implementations as there should not be any other driver for a virtual |
28 | * device that might share buffers with virtgpu */ | 28 | * device that might share buffers with virtgpu |
29 | */ | ||
29 | 30 | ||
30 | int virtgpu_gem_prime_pin(struct drm_gem_object *obj) | 31 | int virtgpu_gem_prime_pin(struct drm_gem_object *obj) |
31 | { | 32 | { |
diff --git a/drivers/gpu/drm/virtio/virtgpu_vq.c b/drivers/gpu/drm/virtio/virtgpu_vq.c index 16c05bc34bef..809d20eb6571 100644 --- a/drivers/gpu/drm/virtio/virtgpu_vq.c +++ b/drivers/gpu/drm/virtio/virtgpu_vq.c | |||
@@ -383,7 +383,8 @@ retry: | |||
383 | } | 383 | } |
384 | 384 | ||
385 | /* just create gem objects for userspace and long lived objects, | 385 | /* just create gem objects for userspace and long lived objects, |
386 | just use dma_alloced pages for the queue objects? */ | 386 | * just use dma_alloced pages for the queue objects? |
387 | */ | ||
387 | 388 | ||
388 | /* create a basic resource */ | 389 | /* create a basic resource */ |
389 | void virtio_gpu_cmd_create_resource(struct virtio_gpu_device *vgdev, | 390 | void virtio_gpu_cmd_create_resource(struct virtio_gpu_device *vgdev, |