Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp589205pxb; Fri, 8 Jan 2021 12:38:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJyCkm18vnzjfKHSEBlr3i71JlwIWO83Zy6UroZo0NI7DwV/2MV4Cx4c13Ba8JkTnkUQ8sZX X-Received: by 2002:a17:906:32d6:: with SMTP id k22mr3837295ejk.457.1610138319543; Fri, 08 Jan 2021 12:38:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610138319; cv=none; d=google.com; s=arc-20160816; b=b6BhwBuFfgqkKifpJ5UEsyeqw9e1Mfm8Yb84RVzvIuYIzsrrwA/xVK9kh2Xx8hwjxX DU3q7u4QUPILSSIF6OcxxcDP5UGwSAE9lr0sqYiYM89Z0+urGqm/5Yc/9Mu/SISmBYwT pFBe5qZAL/ij7/XacbRNwHWpU87BB8iIw1emgEPVfNHGNALkgW9k6ahEmNpkYj/51nps WUU6yu8NdtjqqM1XtSNB8ITOgPO288Zgankcog88XCqk91ZQPBIaQrosClT0W7+ztrqE k135olMDGszaW2E5WjVxPOiPY9RN0s4WEu3Z+l5eoORTEXjgIHTdQ947DLWqfa/fuWjg 0JuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Nn5Yj71tkKIVrulq1WIDxZxckjqVz9PFKak3TcGJVF0=; b=sP47J5u+3yA+G/3vjejgg5NuQnDL/4hHaEo2CeV15uek7CvqUGVVTTt0A/yEGJzmhu 6w8Jd09bFwA03MP8zbIGmWDZ9CHvyBr9U6mB7r/QKLe1/Km067/H/gVWUWG8JQRQ0crJ TIlB2hVLAlj/LpIXbvJgA1qQwrgsYmRbvZuuUaVlD9UYSBJMRRogCuwGEwPLk5dM9V0c dd7+S2fWbTzyBI64Zz033hZMxIMiBSR/LMPlZqkCqwuakynqL2mfPRLyZhqWJdfNeN1x ZdDEyk4fGfBo0+FrjL+FRWF9JLL+3uQcDxCnBZ6BkPBqSymR0Nf+riOdgGTI85d1Nt9L FuLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=moUBx6E0; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y14si4040752edm.451.2021.01.08.12.38.15; Fri, 08 Jan 2021 12:38:39 -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=@gmail.com header.s=20161025 header.b=moUBx6E0; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729181AbhAHUfR (ORCPT + 99 others); Fri, 8 Jan 2021 15:35:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727443AbhAHUfR (ORCPT ); Fri, 8 Jan 2021 15:35:17 -0500 Received: from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B036C061380 for ; Fri, 8 Jan 2021 12:34:22 -0800 (PST) Received: by mail-oo1-xc2c.google.com with SMTP id x23so2699209oop.1 for ; Fri, 08 Jan 2021 12:34:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Nn5Yj71tkKIVrulq1WIDxZxckjqVz9PFKak3TcGJVF0=; b=moUBx6E02X34CiH2aZUlZWkIkglOKoDjtYh17GXYyicOZbLSi9/7jas14rvX8JC7Jm d20hG0sgrjmOh1mN1ukeRuluOMuoGTUtfeV+hSOIGsIB4pbCI0dKyeX1q2D9c7BIMvq8 mo/WdUUymM0x+y1+YBq8yZ9dxvyrfJCBzu+jEORkqGkIr707jgDMnK5/1p4C7XQi0Bz9 Zg0VkXuYhdNoXRW4uARrdSAhDtIgMffhHmSw/FpwElhVLYFGcoXX3ZCNyfIgCIrgD51P EFV3y68F3p7vJEdxRdnTZndxVbMSebvqu2xhuFfUZGNf5Ps1ZJ6CfD/1tkA4YtDxF4sC 4o3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Nn5Yj71tkKIVrulq1WIDxZxckjqVz9PFKak3TcGJVF0=; b=bp08TNpem4Pne6V2l7xcUxUoSAAu+U+4frHLuzAV158A6HDmnpkZhNyzGiQ4k/JjLa Rx6Zt8XPGr5jtQAjQpa1EsF1iVlMZ0VvlGUq2ZsAZIeOp+Q2yC/p0oEplZbiZs+fF+zM 9SQ+BV0g2eKPyFDeTRfWqqy32RPfp4AeCkZV10p1pMqa2a3F7p3BqWWIxrO4DwYN9Q9w 2l9PIJhMnsNFTLL2ikRg5haXqVuptmoBFtNntzphputzt0DuQLQpadoYkY2kq51AdWKQ 1KPERIl6qGUpppbrCX2iVyTGj0+6v0aciucpLJyQ+dlAY2GxlJKyIEjwnTWVC0LS1UlM i0Tg== X-Gm-Message-State: AOAM531oOwCMom6RPTwWx5zetCY4PprwSD+44fv4VE2sjsTOtqNiGtUc KeeshjmHBor9FsQqCoiENagxJCWQ15NZxmAT6qw= X-Received: by 2002:a4a:6c45:: with SMTP id u5mr5577304oof.61.1610138062004; Fri, 08 Jan 2021 12:34:22 -0800 (PST) MIME-Version: 1.0 References: <20210108201457.3078600-1-lee.jones@linaro.org> <20210108201457.3078600-9-lee.jones@linaro.org> In-Reply-To: <20210108201457.3078600-9-lee.jones@linaro.org> From: Alex Deucher Date: Fri, 8 Jan 2021 15:34:11 -0500 Message-ID: Subject: Re: [PATCH 08/40] drm/amd/pm/powerplay/hwmgr/vega12_hwmgr: Fix legacy function header formatting To: Lee Jones Cc: David Airlie , LKML , amd-gfx list , Maling list - DRI developers , Alex Deucher , Evan Quan , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega12_hwmgr.c:728: war= ning: Function parameter or member 'hwmgr' not described in 'vega12_init_sm= c_table' > > Cc: Evan Quan > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied. Thanks! Alex > --- > 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/driv= ers/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 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel