mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 23:03:57 -04:00
drm/virtio: Add blank line after variable declarations
This patch fixes the checkpatch.pl warnings: virtgpu_drv.c:57: WARNING: Missing a blank line after declarations virtgpu_display.c:99: WARNING: Missing a blank line after declarations ... Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/41767852ff9dc584c825e32db6222b9a311603b9.1519343668.git.rodrigosiqueiramelo@gmail.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
committed by
Gerd Hoffmann
parent
1858b85606
commit
9d492b6bec
@@ -83,6 +83,7 @@ static void virtio_gpu_unref_list(struct list_head *head)
|
||||
struct ttm_validate_buffer *buf;
|
||||
struct ttm_buffer_object *bo;
|
||||
struct virtio_gpu_object *qobj;
|
||||
|
||||
list_for_each_entry(buf, head, head) {
|
||||
bo = buf->bo;
|
||||
qobj = container_of(bo, struct virtio_gpu_object, tbo);
|
||||
@@ -478,6 +479,7 @@ static int virtio_gpu_get_caps_ioctl(struct drm_device *dev,
|
||||
int ret;
|
||||
struct virtio_gpu_drv_cap_cache *cache_ent;
|
||||
void *ptr;
|
||||
|
||||
if (vgdev->num_capsets == 0)
|
||||
return -ENOSYS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user