From patchwork Fri Jan 8 20:14:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 359036 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp855634jai; Fri, 8 Jan 2021 12:15:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJyGFxRsMW7iUHzpGBrvQkFoImLXnC1E1S07mMMt/1Yk4rLYvW3cESrEXCS9HHJXNZ+g62qL X-Received: by 2002:a63:357:: with SMTP id 84mr8573965pgd.13.1610136929383; Fri, 08 Jan 2021 12:15:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136929; cv=none; d=google.com; s=arc-20160816; b=xyGKjSLxaVQKZSc8QMp+ekEqxd9x7PwoiOFwcYj/5XVk/hZM0Py4ZevWI/8GsryKXf Lvv7gP4cp4pIJLiHCt2BauZsjcVHCLjV9FEVF3Fd5zTG/srWmsUW0ZAyCa4KXCo1fFbI 9A8GnY1dV81VjVJDVNxJmd8S+9IBrHWfCaidt469GI4P9pS6YCCBp29cEPnyR4RJiN8Z s0mVHQ/w6rUO7TE+AJW52sVJ5hEvgNRKcuasvRFuQihZBMj69DqqtIVVfDH6MWwP27nN MIN57rw7VtrUj/HtiSi9W6Kjkibr5tcAmYv1eQtazpWpZj3ES/XshA5USjSFqSlm0BEg WFyw== 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=1Qvol1ceYxceOkhnEhgXigaC4BD537wNPzl7Ee1Z+14=; b=ti0O+fDi/UrMsOVSBhrX3MYQ3MgsV04Ot6IW0QjmI+iwH1T9Ne8NdZvFdPHiotmKlq 33dLE+DSyYUeKzygydRDGJB1RFFdUq28ix8ueQcTmwf48vqsdKPasId6zcY7nEbxkeJG wBjQTV+nfTeJuOwleeyllGmGDlvtjQSzzK4f4b6GkTUQ5oBqTSauAEXvhVFRLd2th+iO 8eiR9W7hlzxv06fC1qfv5UAu4gBma+PcUpyM6TTUHb2CfqtloFkH6i4wx359JJ9AOBHH WYNZv42T+x/YhHhTERZNSTTQTDEtTCOuIMJtLZ70JjUsv9gIuRIRA65CvHG62i48ECUZ 6J+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=pne4rAbZ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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. [131.252.210.177]) by mx.google.com with ESMTPS id w13si10244766ply.113.2021.01.08.12.15.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=pne4rAbZ; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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 857FB6E8D1; Fri, 8 Jan 2021 20:15:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0CFBE6E8D3 for ; Fri, 8 Jan 2021 20:15:19 +0000 (UTC) Received: by mail-wm1-x32e.google.com with SMTP id k10so8748931wmi.3 for ; Fri, 08 Jan 2021 12:15:18 -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=SuCvcfeQ9OZsudnyJmzZpphQ6g8eEGgjPIsQH1HjJMU=; b=pne4rAbZBHxNVygLejDzerI+GyLe4DR8+s+f+EwFJCm7dbYva47u/bhXWYGv9Kqj6F 1J+ii3YummtSTnKiXqsYDG7xCGZYoWur28Mb0N2tyOdgYE2VrSNLkGGAmzWqJoCSd3ue qmKQ7WIf3Wrgi4mrILRD/f/wJfLd4v98OBmYeHDwQU11lsNI11wulKXu6Glm56eyWrar 4xfZbbue2cQ/9bfdessylAChzygEP7o7u3hOubC+oV+D2q3ETllTIihbF/wdvGtJk/21 entgOPhY820LPhWkMD/4Jme5U33tuCIMo9w4xv5KngXws94s++vfKojaZgcnJdoiCYLe tsHg== 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=SuCvcfeQ9OZsudnyJmzZpphQ6g8eEGgjPIsQH1HjJMU=; b=XH9zwvl4fTiQzp5ObtcEEFshxgzcohz9h7DGMmdwKqit7cu0RrQrZXfNENNZmGg8j2 +K/YmsB6Tjoixyxw1y+rNsG7yebuLpbnBWdkqUgVqt5US28CowXk4jgzf8d0ZUhmeqc7 FjWAtUlt3ipKg4P6YiJ6dYC0B6VhkavxbyfrA8xh2OCEzSoXS525GJ7icEvJ6aq6qolq nhZ8GyOknjf/1R1Jxxe26/lxRqevu/UiHQdWRvdertqPdNFZwO6gpygSJMj+IQcQsaZy sbMl4snPh8dedzluZFWm7sT1Zmh5ThRJkXdyx9KfYmTl2dBMEy3BXbR+E0os0Ynbd3EO AdMA== X-Gm-Message-State: AOAM533ubyFaQbR4Y6z2pew+Jz2cSmFm25YQta4GRyJjqEjK05F4KKbr nN228WZMwR+9ocf68nFOBSaQpQ== X-Received: by 2002:a1c:730f:: with SMTP id d15mr4459541wmb.135.1610136917730; Fri, 08 Jan 2021 12:15:17 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:17 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 10/40] drm/amd/pm/powerplay/hwmgr/smu7_hwmgr: Fix formatting and spelling issues Date: Fri, 8 Jan 2021 20:14:27 +0000 Message-Id: <20210108201457.3078600-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210108201457.3078600-1-lee.jones@linaro.org> References: <20210108201457.3078600-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 , Evan Quan , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu7_hwmgr.c:242: warning: Function parameter or member 'hwmgr' not described in 'smu7_enable_smc_voltage_controller' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu7_hwmgr.c:4508: warning: Function parameter or member 'us_max_fan_rpm' not described in 'smu7_set_max_fan_rpm_output' drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu7_hwmgr.c:4508: warning: Excess function parameter 'usMaxFanRpm' description in 'smu7_set_max_fan_rpm_output' Cc: Evan Quan 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/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c index 82676c086ce46..c57dc9ae81f2f 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c @@ -235,7 +235,7 @@ static int smu7_get_current_pcie_lane_number(struct pp_hwmgr *hwmgr) /** * smu7_enable_smc_voltage_controller - Enable voltage control * - * @hwmgr the address of the powerplay hardware manager. + * @hwmgr: the address of the powerplay hardware manager. * Return: always PP_Result_OK */ static int smu7_enable_smc_voltage_controller(struct pp_hwmgr *hwmgr) @@ -4501,7 +4501,7 @@ static int smu7_display_configuration_changed_task(struct pp_hwmgr *hwmgr) * smu7_set_max_fan_rpm_output - Set maximum target operating fan output RPM * * @hwmgr: the address of the powerplay hardware manager. - * @usMaxFanRpm: max operating fan RPM value. + * @us_max_fan_rpm: max operating fan RPM value. * Return: The response that came from the SMC. */ static int smu7_set_max_fan_rpm_output(struct pp_hwmgr *hwmgr, uint16_t us_max_fan_rpm)