From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 12F11C433FE for ; Fri, 21 Oct 2022 03:45:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D247C10E484; Fri, 21 Oct 2022 03:44:49 +0000 (UTC) Received: from letterbox.kde.org (letterbox.kde.org [46.43.1.242]) by gabe.freedesktop.org (Postfix) with ESMTPS id E4A9910E484 for ; Fri, 21 Oct 2022 03:44:19 +0000 (UTC) Received: from vertex.vmware.com (pool-173-49-113-140.phlapa.fios.verizon.net [173.49.113.140]) (Authenticated sender: zack) by letterbox.kde.org (Postfix) with ESMTPSA id 5040133EF72; Fri, 21 Oct 2022 04:44:18 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kde.org; s=users; t=1666323858; bh=lJCjN5vytbexPYOzf0SFFJGORBvs5DoICRUo98YlCOw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dHru3kceXukp9DLMCJSCtxGWYe2z5dkhXNDIT7+nqrCeEvjgYI78dUHZLxOrkRYw3 lZikNYLaB8HNENCPS6CseW5RdRYSUJ0dnLe1E2lqUoYLFxMXe6/SLmH10+HpuoMfOP U2VcRkRGNHmd7sjYA/XRa07oNLYQx9Hh1f8YlNLIPXD7MXMrh7ViEOvZEe8T+W1aEm aXgZYNc4KtjQqug1Gun5bu8nYHbrVuH+I4u6frJa1nXB/sYRkbEiuXfzrzZk2IBmSi sEtI+DcS3r5gQmVjrk6xbNYdGWjvbbhrQbHysK3oq4aRiJ0AORBcNJ2Iw7eIzHw6PO aSsVZBE5XERcQ== From: Zack Rusin To: dri-devel@lists.freedesktop.org Subject: [PATCH v3 17/17] drm/vmwgfx: Fix a sparse warning in kernel docs Date: Thu, 20 Oct 2022 23:44:00 -0400 Message-Id: <20221021034400.542909-18-zack@kde.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221021034400.542909-1-zack@kde.org> References: <20221021034400.542909-1-zack@kde.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Reply-To: Zack Rusin Cc: krastevm@vmware.com, banackm@vmware.com, mombasawalam@vmware.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Zack Rusin Fixes a warning about extra docs about a function argument that has been removed a while back: drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:3888: warning: Excess function parameter 'sync_file' description in 'vmw_execbuf_copy_fence_user' Fixes: a0f90c881570 ("drm/vmwgfx: Fix stale file descriptors on failed usercopy") Signed-off-by: Zack Rusin --- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c index c943ab801ca7..f16fc489d725 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c @@ -3869,7 +3869,6 @@ int vmw_execbuf_fence_commands(struct drm_file *file_priv, * @fence: Pointer to the fenc object. * @fence_handle: User-space fence handle. * @out_fence_fd: exported file descriptor for the fence. -1 if not used - * @sync_file: Only used to clean up in case of an error in this function. * * This function copies fence information to user-space. If copying fails, the * user-space struct drm_vmw_fence_rep::error member is hopefully left -- 2.34.1