]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/virtio: Add tabs at the start of a line
authorRodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Thu, 22 Feb 2018 23:59:47 +0000 (20:59 -0300)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 27 Feb 2018 07:40:35 +0000 (08:40 +0100)
This patch fixes the checkpatch.pl errors:

drivers/gpu/drm/virtio/virtgpu_drv.h:371: ERROR: code indent should use
tabs where possible
...

Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1c77c233d4454ee2bdb85beaf17d413e310fac0a.1519343668.git.rodrigosiqueiramelo@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_display.c
drivers/gpu/drm/virtio/virtgpu_drv.h

index 19114a3c5ee4f98b5f1bdc0ba014f3cfba8eac0d..22513d7f895c23060fe18895894b8d7a58cde127 100644 (file)
@@ -387,7 +387,7 @@ int virtio_gpu_modeset_init(struct virtio_gpu_device *vgdev)
        for (i = 0 ; i < vgdev->num_scanouts; ++i)
                vgdev_output_init(vgdev, i);
 
-        drm_mode_config_reset(vgdev->ddev);
+       drm_mode_config_reset(vgdev->ddev);
        return 0;
 }
 
index da2fb585fea4f49c140e3d0ed500bd1088d9ec39..59801728cfeb66594533d8d84861dcfa6c5e43d2 100644 (file)
@@ -363,12 +363,12 @@ int virtgpu_gem_prime_pin(struct drm_gem_object *obj);
 void virtgpu_gem_prime_unpin(struct drm_gem_object *obj);
 struct sg_table *virtgpu_gem_prime_get_sg_table(struct drm_gem_object *obj);
 struct drm_gem_object *virtgpu_gem_prime_import_sg_table(
-        struct drm_device *dev, struct dma_buf_attachment *attach,
-        struct sg_table *sgt);
+       struct drm_device *dev, struct dma_buf_attachment *attach,
+       struct sg_table *sgt);
 void *virtgpu_gem_prime_vmap(struct drm_gem_object *obj);
 void virtgpu_gem_prime_vunmap(struct drm_gem_object *obj, void *vaddr);
 int virtgpu_gem_prime_mmap(struct drm_gem_object *obj,
-                                struct vm_area_struct *vma);
+                          struct vm_area_struct *vma);
 
 static inline struct virtio_gpu_object*
 virtio_gpu_object_ref(struct virtio_gpu_object *bo)