From patchwork Thu Feb 22 23:59:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Siqueira X-Patchwork-Id: 10236631 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 632FE6019D for ; Thu, 22 Feb 2018 23:59:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5457B2908C for ; Thu, 22 Feb 2018 23:59:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 48ECD29090; Thu, 22 Feb 2018 23:59:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CFB9E2908C for ; Thu, 22 Feb 2018 23:59:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1DB8A6EDE7; Thu, 22 Feb 2018 23:59:53 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ua0-x242.google.com (mail-ua0-x242.google.com [IPv6:2607:f8b0:400c:c08::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id D1A206EDE7 for ; Thu, 22 Feb 2018 23:59:51 +0000 (UTC) Received: by mail-ua0-x242.google.com with SMTP id q8so4549837uae.4 for ; Thu, 22 Feb 2018 15:59:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=w4LT+5gV+UAK18816UI++MNoDObbNvlSHetwo3TgtyQ=; b=cv9ZJoqR+PJy/s6QJoUOj7Y4DjjvGlzlBtDEZfl/PZc3HZwttSVkAKr9D2RI+/EMnN P6MYsvJjxrUwK8996c5c82eP90FyV3Uec7tsh0zVV3I5QK00jY5DwI4QyUhpWsb4z3x+ XJcH/VdgfHu5Rt7C5DAt0XS+6GMOJDlwt16AkOjMFuh+ZkJOh25aGSMLNgx4ynyl/Hoj mcaTCeKZK5qVAQj8a4dpqN9izfVHH7KMF19fYsOv5aGnBS8buZhPZ1qTjvYoApubYQ1G dPKWbj2Qs+7/EohdQ7nTgoXPuKZnVdxoSfy7iyTXp/TGWwASlKJVcg4cpJeeOreQbubK JxNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=w4LT+5gV+UAK18816UI++MNoDObbNvlSHetwo3TgtyQ=; b=Gk/oiF4/TpvAqClWQR8dxvsYwaGAPYvYQt7POhvQEdSctZZL2ECitH3BkMBS2g9TAD ZgmnoLZSCNa6RW2QK2EmxXKc6nQbCXlmWHMytgXiKaWlK4jvncG9uVMbviSc4JS/JM7v 1WiVG6arqSX6fsuAy1xKcRoEOOjwpBrpIqb9z6xrCosdyrMMoQcECeqHjDa/wHpRXfJx q/WahAXyP9WRnbNUsRrnhO9ElJXt9h5vtThdGGxYz5PvPqd3GSgnqOBRU/H7LoLnfm2A KvbVcbJrjvWTDgX24MeHlEZ10a6B2FPVuXU2ZduzKLDzaDvzs4Qion+e5fyBuqIgCo3r nxhA== X-Gm-Message-State: APf1xPDB6SJpO47hsHJFK9GcSf6+ttSu6lVLxe2MH8hqlt6sPeQ01TxH cG5DYRRgAcBJNIXK9sNpiXg= X-Google-Smtp-Source: AH8x2271YjH5v1YNZzJJ708s0UnhKadaYnLrBcpJKg/ZbaMKTb38w5jYykuBHhM4ubv4yTHGEz7I8Q== X-Received: by 10.176.73.228 with SMTP id f33mr5081836uad.110.1519343990857; Thu, 22 Feb 2018 15:59:50 -0800 (PST) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id m39sm227664uad.24.2018.02.22.15.59.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Feb 2018 15:59:50 -0800 (PST) Date: Thu, 22 Feb 2018 20:59:47 -0300 From: Rodrigo Siqueira To: David Airlie , Gerd Hoffmann Subject: [PATCH 1/7] drm/virtio: Add tabs at the start of a line Message-ID: <1c77c233d4454ee2bdb85beaf17d413e310fac0a.1519343668.git.rodrigosiqueiramelo@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 --- drivers/gpu/drm/virtio/virtgpu_display.c | 2 +- drivers/gpu/drm/virtio/virtgpu_drv.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/virtgpu_display.c index 19114a3c5ee4..22513d7f895c 100644 --- a/drivers/gpu/drm/virtio/virtgpu_display.c +++ b/drivers/gpu/drm/virtio/virtgpu_display.c @@ -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; } diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.h b/drivers/gpu/drm/virtio/virtgpu_drv.h index da2fb585fea4..59801728cfeb 100644 --- a/drivers/gpu/drm/virtio/virtgpu_drv.h +++ b/drivers/gpu/drm/virtio/virtgpu_drv.h @@ -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)