Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1578884pxb; Thu, 4 Mar 2021 15:20:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJzfmLnmZDo2oX7LAMkDgog3Hy6vzJKZ3uTAeRu6nwkT7FilG5nJxUKcNXvxXnM/09eRi4 X-Received: by 2002:aa7:c551:: with SMTP id s17mr6853191edr.291.1614900059005; Thu, 04 Mar 2021 15:20:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614900058; cv=none; d=google.com; s=arc-20160816; b=zd97NbcG2UotG481++3tfGfoN/CdvLbb+7pxQn+HlppqVE/9CIsSsR39c8++lBKaWh ImZ3NlUtEwOBPhzl8lFp7DILgtA5qxKxA2BvYqLJsuC0xDG+1CGBUnk3OlMuyWi8dgCA cM2VmrhRtsYoctiO4+iE6H37TBgto3dUtLbP1LizmCy1IoPTo9FPxeXGwubBgw4C4xMV Aw6OtDH0kdhhnRv/5Apft4tccYdRHyPGGAjAEjuiobWi0Rbfdu17jao5kbC98FWoj4Hj EfJBYFBWaHOPnddMUktVnTNfXIfLlbd6xKca89KagP1IDxOIZRRMnrwUOuxH1ZCmEbL0 E34w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oU+Wuk0/TjV8ruLVEbq6ixpjRneTtMF4qHY1z5Ned04=; b=kifzsP9j+A+l8GZ7jOLmfYJ3UEHjGVPDbRv1vO8YFY3lgdFf2R+IaQ7wepW5Cfnli4 3Z2G1OL68VROTnc3gQMc8YR5RAM9nlORc5v9qToJ8yeT7QXXfjfu5DUfq5bcBcSrHca7 arTcn5rDqRfHd43/mHlsEulN4sT33eFgfJ0j/ng7DpDFdK8rJNhmMvLFtOaT/3R8Srdn aleQcp17WqfonuQhcxld0uGCQlB0Nh4avdLKyWHkqWHwLD1td08k9HqHwFsrOhLzuh1T I/Qm0UCjz4Nr/kyLZDxKd740LS+0336jfY2D0qDfHi1iEINi/fhR9Tq75tj6qUKX8fpl GN1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=q18eepXe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z4si333581ejj.20.2021.03.04.15.20.36; Thu, 04 Mar 2021 15:20:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=q18eepXe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1385735AbhCCRb5 (ORCPT + 99 others); Wed, 3 Mar 2021 12:31:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1447355AbhCCNsy (ORCPT ); Wed, 3 Mar 2021 08:48:54 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1D25C0698C1 for ; Wed, 3 Mar 2021 05:44:15 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id u16so5734265wrt.1 for ; Wed, 03 Mar 2021 05:44:15 -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=oU+Wuk0/TjV8ruLVEbq6ixpjRneTtMF4qHY1z5Ned04=; b=q18eepXedncQkYrl7klqtSmyDsv1da3LROy3QdvrfbU4mhiYOow55NlC78cGMJgA4C +GqgDuboY2FgIAY9TSeBbzjPOkPhkKsh7+7UNDRyjUdgXfmDz9dnTN5wQfjwzcnDO+IP qEZJCDueuZ/8dUhqZuD3xLnZu0EtraaFy4HzVGdD+QsUgs89Lf8rJMxMG5Gt/5CSBmxv jhUsJhSCPxYAjbSqDfO8IaS2rxC5grdYGZUqLkV0/R7Th3+rmSYHFfLutzrfLU4Xclp+ 5j2th56OokJ5gqK0uC3EidXW/5JfJ+FoK7bL268Je2dRQZy9qy0mxxOCaJHt4o0sRu1r eU0A== 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=oU+Wuk0/TjV8ruLVEbq6ixpjRneTtMF4qHY1z5Ned04=; b=QltbRwgnE4FK+oh+gXbnbTL9ejAYBNSilWyS+A72AC8ESFQgyGlzVk342oezXH9749 dQNcoBD3s3pBsE/I5D+VlpajBnbL5pS6E8zPoWmKDoN1LRffyeW40/q0ewSTRVw6oNFg YHw31ECHthCmtWg3Y7osKZGiFafiaWktIJRuXQmU+Y0RCu89h/kzYG9fIaD1h9nzDb3z rmD/JP6xMUOWeSGpranbhAiQgWkLj2ZN3XdgR9M3eQuf3wgCZKIo+spkrGC+N2qaNb0b FQrwqR4iutBUJ9EeMtwn+ezJ5/XDFjB8R2OSwgY1MHlV3LrsggCOwdgtPAjqLSFVpe6g KnTw== X-Gm-Message-State: AOAM5317UTnewaX42+hxLFCJCKNnqhUjqm9uqs3qA+RGpyBVwJPySWGt 1UEW5BoBMK4kk/P5+8fGg7ggWQ== X-Received: by 2002:adf:fecc:: with SMTP id q12mr27041197wrs.317.1614779054571; Wed, 03 Mar 2021 05:44:14 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id w18sm6109524wrr.7.2021.03.03.05.44.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:44:14 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, VMware Graphics , Roland Scheidegger , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, Zack Rusin Subject: [PATCH 39/53] drm/vmwgfx/vmwgfx_cmdbuf_res: Rename param description and remove another Date: Wed, 3 Mar 2021 13:43:05 +0000 Message-Id: <20210303134319.3160762-40-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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Also fix a small formatting issue. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c:83: warning: Function parameter or member 'res_type' not described in 'vmw_cmdbuf_res_lookup' drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c:83: warning: Excess function parameter 'resource_type' description in 'vmw_cmdbuf_res_lookup' drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c:161: warning: Excess function parameter 'man' description in 'vmw_cmdbuf_res_revert' drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c:330: warning: Cannot understand * 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-36-lee.jones@linaro.org --- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c b/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c index 44d858ce4ce7f..92509fbf2fd1d 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c @@ -69,7 +69,7 @@ struct vmw_cmdbuf_res_manager { * vmw_cmdbuf_res_lookup - Look up a command buffer resource * * @man: Pointer to the command buffer resource manager - * @resource_type: The resource type, that combined with the user key + * @res_type: The resource type, that combined with the user key * identifies the resource. * @user_key: The user key. * @@ -148,7 +148,6 @@ void vmw_cmdbuf_res_commit(struct list_head *list) /** * vmw_cmdbuf_res_revert - Revert a list of command buffer resource actions * - * @man: Pointer to the command buffer resource manager * @list: Caller's list of command buffer resource action * * This function reverts a list of command buffer resource @@ -327,7 +326,6 @@ void vmw_cmdbuf_res_man_destroy(struct vmw_cmdbuf_res_manager *man) } /** - * * vmw_cmdbuf_res_man_size - Return the size of a command buffer managed * resource manager * -- 2.27.0