From patchwork Thu Feb 27 00:25:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gurchetan Singh X-Patchwork-Id: 11407531 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A8325924 for ; Thu, 27 Feb 2020 00:26:15 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 86C9721D7E for ; Thu, 27 Feb 2020 00:26:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Izx5b+HN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 86C9721D7E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5B5196E34B; Thu, 27 Feb 2020 00:26:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id E09CA6E483 for ; Thu, 27 Feb 2020 00:26:08 +0000 (UTC) Received: by mail-pf1-x443.google.com with SMTP id 15so219115pfo.9 for ; Wed, 26 Feb 2020 16:26:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UTI9eWd6mkMFrDfjU07JVyhb05rE11i4KDIk9WaxkqU=; b=Izx5b+HNjRgzvsUlk6kjfVrKyYu73xf1wor9KKHa+hsGE7ANJedM9xrd9Nf9xGkNxb lCT2pAJtNkM8DWgceRSsuL4PyJHYbBe2UIg6/6CyZeOH0fBWLk8KpRy4bj+aXaTW+Tn8 /uSnQJCnr5ciiyY6pKyUpue/j3ibgtpkiIKmM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UTI9eWd6mkMFrDfjU07JVyhb05rE11i4KDIk9WaxkqU=; b=cBgBBBpwF9YEVq38an5cg7kDJwwxOK1gVz8BfirhNhgdND9udGxkftROakN4voPahH Zf/nAWwX7V96kTTUDGUZFh9hklvvIUvixF40tbB544aaNj/CmEdBgAS+B147Gz466hzq 6rkdltfMpSYkB9i7tXN7JB+DS1MTvP/KhvQ+LsffaRBQVeoX/sHt6XTl8fSptbzJi6Re IFRCOZU5AtcDakpGvPIjomVIVb/uoHsPj5TosShHzAklLYYiM8wE177mX/NDExGGeOcQ MxokuPpMqKUFlaYXOuUpxGiCuptT2H3w24lUTTudF2oinqCNlQHvKiAOzyjXdP1OilmQ +eCw== X-Gm-Message-State: APjAAAV7i0f0fDFozBZD0O7RJpuyYlCKTX+QdqEy6go3EThXIYJ7+Pc6 Feqa0VkhXUvKq0jcek1fRM/2Yl7ZPiA= X-Google-Smtp-Source: APXvYqxd97UcE2oEOO1cZGRP+GJCGCsCJe4/lgtB50NI9rUxGGnp1otAyeHjWrdbISvpuM1nY7M81A== X-Received: by 2002:a63:b48:: with SMTP id a8mr1004067pgl.73.1582763168196; Wed, 26 Feb 2020 16:26:08 -0800 (PST) Received: from gurchetansingh0.mtv.corp.google.com ([2620:15c:202:201:bc97:5740:52a7:6875]) by smtp.gmail.com with ESMTPSA id d14sm4522237pfq.117.2020.02.26.16.26.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Feb 2020 16:26:07 -0800 (PST) From: Gurchetan Singh To: dri-devel@lists.freedesktop.org Subject: [RFC PATCH 1/8] drm/virtio: make mmap callback consistent with callbacks Date: Wed, 26 Feb 2020 16:25:54 -0800 Message-Id: <20200227002601.745-2-gurchetansingh@chromium.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200227002601.745-1-gurchetansingh@chromium.org> References: <20200227002601.745-1-gurchetansingh@chromium.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gurchetan Singh , kraxel@redhat.com, jbates@chromium.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This is a very, very minor cleanup. Signed-off-by: Gurchetan Singh --- drivers/gpu/drm/virtio/virtgpu_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_object.c b/drivers/gpu/drm/virtio/virtgpu_object.c index 3d2a6d489bfc..07de3260118a 100644 --- a/drivers/gpu/drm/virtio/virtgpu_object.c +++ b/drivers/gpu/drm/virtio/virtgpu_object.c @@ -106,7 +106,7 @@ static const struct drm_gem_object_funcs virtio_gpu_gem_funcs = { .get_sg_table = drm_gem_shmem_get_sg_table, .vmap = drm_gem_shmem_vmap, .vunmap = drm_gem_shmem_vunmap, - .mmap = &drm_gem_shmem_mmap, + .mmap = drm_gem_shmem_mmap, }; struct drm_gem_object *virtio_gpu_create_object(struct drm_device *dev,