From patchwork Tue Nov 10 19:31:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 322870 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp500570ils; Tue, 10 Nov 2020 11:31:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyz2e3Zi3C1OZ/U6DXUB6i5JQ52uUo8WjL+8cC+CnacdMNDp0ZvYTMCST/5sYDcCMOAfas6 X-Received: by 2002:a17:902:d896:b029:d2:288e:bafc with SMTP id b22-20020a170902d896b02900d2288ebafcmr17971647plz.43.1605036716662; Tue, 10 Nov 2020 11:31:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605036716; cv=none; d=google.com; s=arc-20160816; b=DQTjcMrkixAchodEH0IM75uEq8ggISiiGs4Rj9aHgrQxG64Jyn2k8UhIiopNFJkkz1 V97BxQurOxU8pPfO6I3die3jzN4akL6mvEpyVmT5GEI3/wkuUcHjFuiIcgizdjBpyN+q HzY0MbBznJITrG1ux7YCYe0TQKyiyi92BPPGXYTSnIWM9hgrC1le803vl7GIC6dMsQyA Xjc/DZrUy2Xb/RHBhdEtEMLmIcTidTS6/7t4Z1IFvPNJjkkfNbwixORB+hi7EjmT5rHD lpUXeJYv9y2J3i7b1eF1uHzz92hBMAJCWMcm6C4nIFWzionnkO0M88Uu5Ckn596DkDj/ FE2w== 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=9ly48jZT6g2iN0bfCF3FBxRxhTusFgXa7pCNX8n/lhc=; b=gWrQbDxbSleaRGTu21UFNDNZrBDfHc0/uryk0CZQkKDvGZUi/6uoIIqTkX63+WKPH/ tD1YYYDJGyCVSusVJdfT41esZv+WR8LbPtLe2ELdHTzImWPpImXNjTIBPghaYUU9v3zK L+sYe9XdxhYwV7F83cE12Fy8XHNvNI66BJdQNbilfP8NPElLbDSeHcX9zS8HVa60Orfy QQnATNlZWVBv64nFapXWll86Jjs1ilJdIguqkYh6GYnxaQqppJVy3Xko0AJd9neshzA3 u0guogFZaNKyGFAPuWlJSj1anZ7Qg6q51A3iZHL7hDGPJRpBXLZrUOjeolXtelVqyrGy 55fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PWC66NBK; 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 b3si3330132pjd.163.2020.11.10.11.31.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2020 11:31:56 -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=PWC66NBK; 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 D6DC189C14; Tue, 10 Nov 2020 19:31:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3A34E89BF8 for ; Tue, 10 Nov 2020 19:31:40 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id 23so14002468wrc.8 for ; Tue, 10 Nov 2020 11:31:40 -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=/Cw+c1bijBRNEJBNcuwyoDPT+QgFeRvOvo7TvhybLeo=; b=PWC66NBKBqbAKeaPvh+fIwPsUTrr77JZ5lJi/VUiSXJz+i6RhEnKMMZYfcZ/G2UmHS a+YlBfDGygGt7q/35lioOB52huJFQ/4W9ARw4RzVniBughzQAP5QgMHLhRrq49dkGIZQ mrepcU/Fv2c8lxZAr8DKuEPWqETk1RPZplypE7HhSn+lhM5ghhYl6M7bZ4qm3m1/kyOX ZhiIum/62edwMQSW1uEp2T+OvozCXyvm6gkVMi+ecPlH/CDWgw/452hJo0RsadXjeS8O 7o3rXLRHMKFP34+OMUWPe7ofQIIgEZYs93wyJzCrnPT1ezVxMW9/AgiXTgoXrIqC1yNL 57Nw== 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=/Cw+c1bijBRNEJBNcuwyoDPT+QgFeRvOvo7TvhybLeo=; b=jlK1v/R6q4+IXKQz/8x6bfFtzzG9g3377OopqiOz5+K/Q7/r3rLtsYh1Wb0XOBESWM +2wQji/6Upu8M4H8NMpVQDtenX7xFuL9DL6gTESHu7xeNk2C83rO8sS/dU1LQsQ+wFAR U5rS0H6Atdqzh34kAVV5jcR/rm6hTdN+8ZT+oOau5KhjIowGkJvc17JJSTP6OBukwwqg JLViZ1NiczuTJVprnQ15OlqfzrrAHwoGDduayMuaN8innF5JvnC1B9S0szKCX2bNex9M 8xPze4Xoksdwft+6o2cs/wPAau1J0s16NTOx3nOFp5tPavROQpLaQVx96NBw/qX8fULG mW7g== X-Gm-Message-State: AOAM5316b2zi2r5DlmKVP2jVpbUOJ+xP1ytSDZD7CIzE6QmcIdy2EFUz qW7AYrAejeN0qEweqTUkn+5U0g== X-Received: by 2002:a5d:67c4:: with SMTP id n4mr25343044wrw.125.1605036698892; Tue, 10 Nov 2020 11:31:38 -0800 (PST) Received: from dell.default ([91.110.221.139]) by smtp.gmail.com with ESMTPSA id 30sm17635335wrs.84.2020.11.10.11.31.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2020 11:31:38 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 18/30] drm/radeon/evergreen_cs: Fix misnaming issues surrounding 'p' param Date: Tue, 10 Nov 2020 19:31:00 +0000 Message-Id: <20201110193112.988999-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201110193112.988999-1-lee.jones@linaro.org> References: <20201110193112.988999-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 , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/evergreen_cs.c:1026: warning: Function parameter or member 'p' not described in 'evergreen_cs_packet_parse_vline' drivers/gpu/drm/radeon/evergreen_cs.c:1026: warning: Excess function parameter 'parser' description in 'evergreen_cs_packet_parse_vline' drivers/gpu/drm/radeon/evergreen_cs.c:1095: warning: Function parameter or member 'p' not described in 'evergreen_cs_handle_reg' drivers/gpu/drm/radeon/evergreen_cs.c:1095: warning: Excess function parameter 'parser' description in 'evergreen_cs_handle_reg' drivers/gpu/drm/radeon/evergreen_cs.c:1757: warning: Function parameter or member 'p' not described in 'evergreen_is_safe_reg' drivers/gpu/drm/radeon/evergreen_cs.c:1757: warning: Excess function parameter 'parser' description in 'evergreen_is_safe_reg' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/radeon/evergreen_cs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen_cs.c b/drivers/gpu/drm/radeon/evergreen_cs.c index c410cad28f19f..53b75cf201958 100644 --- a/drivers/gpu/drm/radeon/evergreen_cs.c +++ b/drivers/gpu/drm/radeon/evergreen_cs.c @@ -1015,7 +1015,7 @@ static int evergreen_cs_track_check(struct radeon_cs_parser *p) /** * evergreen_cs_packet_parse_vline() - parse userspace VLINE packet - * @parser: parser structure holding parsing context. + * @p: parser structure holding parsing context. * * This is an Evergreen(+)-specific function for parsing VLINE packets. * Real work is done by r600_cs_common_vline_parse function. @@ -1087,7 +1087,7 @@ static int evergreen_cs_parse_packet0(struct radeon_cs_parser *p, /** * evergreen_cs_handle_reg() - process registers that need special handling. - * @parser: parser structure holding parsing context + * @p: parser structure holding parsing context * @reg: register we are testing * @idx: index into the cs buffer */ @@ -1747,7 +1747,7 @@ static int evergreen_cs_handle_reg(struct radeon_cs_parser *p, u32 reg, u32 idx) /** * evergreen_is_safe_reg() - check if register is authorized or not - * @parser: parser structure holding parsing context + * @p: parser structure holding parsing context * @reg: register we are testing * * This function will test against reg_safe_bm and return true