From patchwork Fri Jan 15 18:13:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363684 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89276jap; Fri, 15 Jan 2021 10:14:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJznJiYd1uCntA95D5MJ+MdQngg/iJA2IRjAOq6gJXjii6BD64a53Po3cLCY/whESrLtx47f X-Received: by 2002:a17:902:b18f:b029:dc:4096:fd72 with SMTP id s15-20020a170902b18fb02900dc4096fd72mr13979732plr.40.1610734456527; Fri, 15 Jan 2021 10:14:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734456; cv=none; d=google.com; s=arc-20160816; b=Nh7Vyp02AXu8Jlv3o9W4A/Bbp7i04eVw8brqBP8IqRKqOWPRBPkLSor5FK5ZQY2x4e +CLAUMZezruOiIGKG2MlAjldH6QdV49qZBH1bCw1M+0qObAX7YuIziI9fDZYMYUXovQ4 krwQ5u7p3PlNcpn5yMrto9wJWZIGY/pp1Atnc8jjEqKXLmoMJ7TSaPYw32FKS2Ss81Sp xxZCLSEfYQ4nPe4vXjjfKo9F4DuX59qdl3S0aAOaJKMQc+W7eZgeWiDN+lME2Rduyo5p CXER6lQwcrR6bzW567V4IWXprZUhhRiWSFCv/QSyDDo3TTOF3IboaE9QzjSfsA+smB29 8A7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=15RnFJdD7YOKCHckY8saTv9P9rWi0oDv563mX4ejLaM=; b=rHaNlZHoDeWeJ1VzzPXn/yaXARx1S3DP5sAer7Y8thDbvSX2W5ht0hlZqhqAmxzO0t rF3wW5wYTRHb4lRxyK2eP20tnG/q4sKIf5DBoN2qxJsM0bDF9TxSLJ2Y+FAcfvB3TnP+ ZRfvF+wzsQnrWewoeP2c3a58fhcLnuag9q1bU1eQCoH9C6Pp4ckRQ/4ty2y7JrivV5jo /LhQ8f3k6zmqaWF0utLKcjuMuS6kByDE2xVuNQJhKK1FIjVSQyxkrYqGkM7zrJUJ/2Br Okp8qbxDGnmK23iL8LvmcrCKGrszDfHlyAIohU5YKQHjc1jBC2tEraemoTpNoXwiC+wa 1Syw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=w7kJiKff; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id nl12si10154823pjb.44.2021.01.15.10.14.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=w7kJiKff; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 72F7B6E49D; Fri, 15 Jan 2021 18:14:01 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by gabe.freedesktop.org (Postfix) with ESMTPS id 259D46E499 for ; Fri, 15 Jan 2021 18:14:00 +0000 (UTC) Received: by mail-wr1-x431.google.com with SMTP id 6so2905327wri.3 for ; Fri, 15 Jan 2021 10:14:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Clem9oGlYEGrbDU0lDjY42b02EcBqg1/k29GPavGgpg=; b=w7kJiKffb+UC6FN4MbUl3hcif4Ao5PrzLRGEJBPBjkUCSG9AJgdTwQm0TtB3bhU4eC 2E5zcBTxMAM9x7bVsuwBM4gxxzPdYkRkC9mJ7Yyl0LUZpwSFrevFqHUQ11rXy7O1CcjA huRymOZyg36Fs7ojzhz66e0zhryoc5NCBAj+WSUBIsDLS4H2oemqmnZC3w+C/RYBvLdV SYf6iz35K1ReS5FwE6GOuzYP0ISGJsazo9iwFUl/U0MJn9GPMmHZaK8HrTQbRNTbvaG1 do7wy1cbFdwiVT2Zns7YE2MWRne9n7I9qENsTVzKjBYzZL++G+XG6qXkQ6oykegTYwjj eQ9A== 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=Clem9oGlYEGrbDU0lDjY42b02EcBqg1/k29GPavGgpg=; b=h0pyJ49NYWcPtOkw9+3mGcZnmk08TTHLDzDxPlysjT0lcXJ0+KdA/K6v8gnNEh7kcq 5hVzn0gDamNlPY+H9bK3QlQTJ6dOI+6OoD+RErzvp7xuHwcxoXFila3N3aSyly8CatMx gF1vf+dOcAIeSz+NZvrbqjugTtffd26pRyhFPdFNjvow5BeWr1vlCcM1xviHUgLuNsGx SbTzbmLLqYZb/PrPDt1a1d0bamhw9+DdLWpnyoXUlwUxJa9GYMI22FL65uevLqLUaP5U CC2QwQ07FdSxhygpuAmyGPAJV/3ZxZi7zTH8f3pjEdHqzMVgQNxxwbRnmiRyQ9fRAST4 g2hA== X-Gm-Message-State: AOAM533iXnzqezvAV6gCrBwFyiSnnwPd4/QnOP8m2GZDUog9QmaAuDpo rQaYfNX8tsEUz/V2r64a7kS3hg== X-Received: by 2002:adf:d187:: with SMTP id v7mr73152wrc.50.1610734438759; Fri, 15 Jan 2021 10:13:58 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:58 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 27/40] drm/vmwgfx/vmwgfx_bo: Remove superfluous param description and supply another Date: Fri, 15 Jan 2021 18:13:00 +0000 Message-Id: <20210115181313.3431493-28-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.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: David Airlie , Roland Scheidegger , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_bo.c:142: warning: Excess function parameter 'pin' description in 'vmw_bo_pin_in_vram_or_gmr' drivers/gpu/drm/vmwgfx/vmwgfx_bo.c:647: warning: Function parameter or member 'p_base' not described in 'vmw_user_bo_alloc' Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_bo.c b/drivers/gpu/drm/vmwgfx/vmwgfx_bo.c index 63dbc44eebe0b..ab0844b47d4d7 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_bo.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_bo.c @@ -131,7 +131,6 @@ int vmw_bo_pin_in_placement(struct vmw_private *dev_priv, * * @dev_priv: Driver private. * @buf: DMA buffer to move. - * @pin: Pin buffer if true. * @interruptible: Use interruptible wait. * Return: Zero on success, Negative error code on failure. In particular * -ERESTARTSYS if interrupted by a signal @@ -635,6 +634,7 @@ static void vmw_user_bo_ref_obj_release(struct ttm_base_object *base, * @handle: Pointer to where the handle value should be assigned. * @p_vbo: Pointer to where the refcounted struct vmw_buffer_object pointer * should be assigned. + * @p_base: The TTM base object pointer about to be allocated. * Return: Zero on success, negative error code on error. */ int vmw_user_bo_alloc(struct vmw_private *dev_priv,