From patchwork Wed Mar 3 13:43:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 392096 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp5133498jap; Wed, 3 Mar 2021 05:44:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZnrO1SABNVpI9OLtT/D95Kpy/B7dmA4hQfGbqiCsBixm25pIEJ27xFaEhAfYUwyl1uiyY X-Received: by 2002:a63:4f1f:: with SMTP id d31mr23735319pgb.104.1614779082604; Wed, 03 Mar 2021 05:44:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614779082; cv=none; d=google.com; s=arc-20160816; b=CDiKx65g/G/mD/3QDfG32IeK7DgQB31CWZuiVvIYGxU/uPAVNaRiTYFFCIG7tCBzph bh9p5NLXJzP07+libSTM05DLA4po0NRHyUq99hYn6A4JSzf6FA1KCqAzxaHAhQ4VcqBe h7MvMa6t+d6q5G0aIU3adyotZSq3sg54jLkAGGwZhoTqld6S/UacmfaUvGIJHUNf6Jfk dmDH84irDLSbaloA5xOkTJz+5+wr3LMT76mF1LPzHfu7VR/NSO80zE5V38NKBJzaS4HN 7ar6CTQ8CYOYfOwiynhvE+43lZERgI92IHQQxQgQ0RomqWxKUMjgj23P/p7w/NdFk46s XATA== 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=twhKUr/Dd1dx1BvBfWxGeWsEt3Y0okFalQYsKT5gE3A=; b=dk9ectBH7/fQYog3I0ZTBp9T8n21sO21mhQy1u9xUlfM/yjBM0E1r6xX07DVqw9uZ8 LX74JJXWLSfGi82guXo/sjxcO6fZ96YdVztwgsxGmyr/ERMUGxK5Qmsc/mPZ2nkqU9Kg CRi6V9XfXFmTQ9I0nFN65F5tk6WJnTtPUWmde3tm2pTQdtwmj/I6lEju4rHNoKImOy3P HQodwhvImdQSwgCrA0hFFkZLs/GBaWICYZUZTmp3gNKrxpXpgndgTxtdQLm80LtEBR2X yadsAX+lnnHhyVUvguJtMb2T4AHjO4V6XIvx4dNCj6W0gQU3aPAl7JRXInhyJZc0cC+W UMXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=saVDJ26t; 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 64si20790489pfz.3.2021.03.03.05.44.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:44:42 -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=saVDJ26t; 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 4202F6E94B; Wed, 3 Mar 2021 13:44:14 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by gabe.freedesktop.org (Postfix) with ESMTPS id B3A196E906 for ; Wed, 3 Mar 2021 13:44:11 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id w203-20020a1c49d40000b029010c706d0642so2883759wma.0 for ; Wed, 03 Mar 2021 05:44:11 -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=ZfWPfWVAydp9c1JpExjEII7q1h7jeahnMQCqr/L+ySU=; b=saVDJ26t7oNKFUQwsL+FnoC2ZeIneC/6VVDLmxgPYUX1pI0oKfXk4WX6kmwcoLuznA RPNORFIetrA5fZ3XUOUmrTO49N/yLveaGeuNP/ZHO9hauUsb6wgXkxyJqiy5Y0eNJMCv SSbRJc3XSDmr9jQNPV3/aoZrr/oa6DvZJIiUxGj4gUlgv7/T48AWqh14qPdYZ8PQifmm Y9F58Q4TA1bVdvipYTzEZO8yx7iTtg2Yxwz2DZmFe+dLpVM/sVtdwhL5p6d1nKmyCP9F KSBBamRx9CwXZk+2h2/jK/4ybKIjSaYXgnAA17ObttEc6CjoRrAP4AVktpguf5AyiKaZ N6HA== 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=ZfWPfWVAydp9c1JpExjEII7q1h7jeahnMQCqr/L+ySU=; b=iaKcEGvRXWTWPW7J/TaUfxvub+aiBONJN+ZmCziX2+kXHHerB7Z+iJMjnT7YBQrZXV xldrgX8uEFV2Tf0bphl2tupafOWB/Be+XhywCxrMPhMgorAIXUkq6vYXCds7r1WPDubq IuPZOxXox8t0N3wrAQ2r4MsvFA+zH01q0QeSG6YKD1tB+JmwGnjOU3aR1zNLXfkXXA2+ fhSjE14TwocxcEel4gUxDSKX79OHHgK6rDQQ6AimT4bfqXPEsRCO/8Pu2NK1V0KnX6Yi c+zeO3NkK6IcQ4vTGNf+HOGYnTY3FrF5aUnIDbMXqJRpbQUtRKjqGhkzTqWuPtIXcpL/ V6EQ== X-Gm-Message-State: AOAM533hVhFHxVO1rZ7XjfDdPKv3O2leeH9bO5WgH+9CEsDiS6br/jRg rtU9zzC0V9yqg8ckt8ylN10iww== X-Received: by 2002:a1c:4e12:: with SMTP id g18mr8570012wmh.56.1614779050376; Wed, 03 Mar 2021 05:44:10 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id w18sm6109524wrr.7.2021.03.03.05.44.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:44:09 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 35/53] drm/vmwgfx/vmwgfx_bo: Remove superfluous param description and supply another Date: Wed, 3 Mar 2021 13:43:01 +0000 Message-Id: <20210303134319.3160762-36-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303134319.3160762-1-lee.jones@linaro.org> References: <20210303134319.3160762-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 Signed-off-by: Zack Rusin Link: https://patchwork.freedesktop.org/patch/msgid/20210115181313.3431493-28-lee.jones@linaro.org --- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 _______________________________________________ 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,