Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp579907pxb; Fri, 8 Jan 2021 12:22:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtMhroF8kuk7nZKuqZndQBbM7ii2DznFnZiLR/SWb7DD7kzXyCJc9OV9GIIedCd6uF7VGC X-Received: by 2002:aa7:d999:: with SMTP id u25mr6310280eds.297.1610137335566; Fri, 08 Jan 2021 12:22:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610137335; cv=none; d=google.com; s=arc-20160816; b=EFrFNXukdH8bxYLvyIPuRRI+6dtq1/CFlmkwJzNd/X4G9TraAxSM4GO6B1xvLqSwD7 uPxOIOSEG2EQH7RhiRO5TvuMFTUOXNColRxklpDjbzVx/+ymIm9rnEtd9njl+mcK5Q30 kQG0UmO9aGYW0VSKO9CfVHWPKbOk+OgX0bdHRjAa9GzgtW19g+o2gpyCmeHN7mAcLwCN XekIt+VoB4Ey626Kz+MfOXKfYAlewINiZc/0IUTiqPj7i/pk+vqKiXAGpV1alcN3iuQZ pjI396+rviWlj4/pyVGeOtVfNnh1MQFm9yZgWLyFw9YUskcR1hqrBUQ0F1UCOwxOfQwl sw1g== 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=In1Q+qm5MHof1cMenavqGuBcxDO1piRqNKsllQjE02s=; b=t4GvSAfKnrokMIvUyNae/ljBXgPROvlmVCO4cbPB3i2ivzVlrSxEwZKuz1fqhZXlVe Xa+CfFOW8JAqfjEksOi/lIuvscTyQPkHg9qRcKwuJhSHmzz9tU3TEHuPfbT2/1H/tXPI /PnFHR4R5OVR5IBwuQ+lD0+VeIBjDfgj0gbczWVQiLnQeaBXPZwYXF4jELilicG3OG+g 11D6OL4HIaVS8wtXhO1Cu8hLQRmCRlTgjlY14qrHvsApdWA0vhMw62Pu0FppdGAiiq2y yN7d73ZpUUTi/zzsUWRA1KNAEJ5+41CcdY7xMDwEQjQ3+nW8/6rC3hBaHrkw+91GheKS BVFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F0x9Z4fM; 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 u13si4059282ejn.694.2021.01.08.12.21.52; Fri, 08 Jan 2021 12:22:15 -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=F0x9Z4fM; 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 S1729195AbhAHUQb (ORCPT + 99 others); Fri, 8 Jan 2021 15:16:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729094AbhAHUQa (ORCPT ); Fri, 8 Jan 2021 15:16:30 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60D0AC0612A4 for ; Fri, 8 Jan 2021 12:15:16 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id c133so8745027wme.4 for ; Fri, 08 Jan 2021 12:15:16 -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=In1Q+qm5MHof1cMenavqGuBcxDO1piRqNKsllQjE02s=; b=F0x9Z4fMGLhfw4n1u93Uhq62eitL0BqRg63/OQZI2nqJtMtnb9XFw10b/oNSbZ/Cc0 q31JJtFD6ZTSRwnAx4cJeg4an6vd/rYODFPbszdZtF93dGSF1MRSxMcgIEJOX6vMwZX+ EqyACqU4CLHmNULkAudqGDWMnThQDuoKmVRbS7LWZW+kxv8MP4xtylC6wA+JIKcVlkdy 7PKpzIU37QV483rrhKqjjM1TFYouFh0iiXuRKQm4l+0NVaAIecM2G1PIps8vSmApgcFQ 0NeVx4QXyNmRNjJZyPvJjFrytki1lBlcvL3D6nGE1jt8TKEJRI4f6Ab0SIhiTiu8K+gJ iwyw== 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=In1Q+qm5MHof1cMenavqGuBcxDO1piRqNKsllQjE02s=; b=V7zba/WqNHjZUy9PX5JcVPCOEDqlZtDLvfWriI10Z421PGiNgH6kh0Iff8M+FnY/Ud TgTqACm5NGs7Id0uP3MGnPqV/dmjSqkdv42niGTYwDDG773OhotIReCmgcFautg0mLQ8 0cDpRTNKGgayqDCpvh2FiEHxodlQLiKNttANRGIGHcpYIE1W8Ooeq7zews1Chck9ujum UrggC8HJ5LiCI+2ZrPQkYDBz+PVePjwCV3nx15SJdAlCc7SE5hFu5cFIBa/iNQ4x9Ccg w/6RZzwDiA5w0bpJrKxu84KeIdLs/Q6ZCZkjbXlBKENVUSoeWveZH3w8l46Q6TJM+Djr GW8w== X-Gm-Message-State: AOAM530gb+CVoo1nde+froGDTatAgkTUzF8WtO3hE8X0kQZgK+3LhkEF JyQ0pJUXNe8Qf9o7FyG28qNgFQ== X-Received: by 2002:a7b:c306:: with SMTP id k6mr4479570wmj.52.1610136915105; Fri, 08 Jan 2021 12:15:15 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:14 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Evan Quan , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 08/40] drm/amd/pm/powerplay/hwmgr/vega12_hwmgr: Fix legacy function header formatting Date: Fri, 8 Jan 2021 20:14:25 +0000 Message-Id: <20210108201457.3078600-9-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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega12_hwmgr.c:728: warning: Function parameter or member 'hwmgr' not described in 'vega12_init_smc_table' 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/vega12_hwmgr.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c index dc206fa88c5e5..c0753029a8e2a 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c @@ -718,12 +718,11 @@ static int vega12_save_default_power_profile(struct pp_hwmgr *hwmgr) #endif /** -* Initializes the SMC table and uploads it -* -* @param hwmgr the address of the powerplay hardware manager. -* @param pInput the pointer to input data (PowerState) -* @return always 0 -*/ + * Initializes the SMC table and uploads it + * + * @hwmgr: the address of the powerplay hardware manager. + * return: always 0 + */ static int vega12_init_smc_table(struct pp_hwmgr *hwmgr) { int result; -- 2.25.1