Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp477037pxv; Wed, 14 Jul 2021 08:15:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4G5cxW0Ffv0imXB03bnET9rC7sfbm7ijGnamURU/Mc8h7gdB+/oZ8x3EZG8eQTwVfkaE9 X-Received: by 2002:a5d:8c9a:: with SMTP id g26mr7664835ion.121.1626275705314; Wed, 14 Jul 2021 08:15:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626275705; cv=none; d=google.com; s=arc-20160816; b=LeaThhKMW9uRSh/WsO1pyyWGbgTzYjT+JOcoSwYbxB/SPiv7E96QiIXFEo6vK7gthW w2plvAjmE7kci6g2I98I+z9vjdkZ1GKGMD6q9j0zHF4Xfi1xpgeJgd5JbTPB3ueli/aR C6Yp5NGgcswgCnN9QKST1TboKz1HLpMH7h4NjlqoIztkdnICIHi6kkdqhS8HeK3RPylF 6RysWQfef+eJcUbeNCeLkQsa5lv6M31htB24dOKWLdL40ZsCyzp3h2XZwIxSKEUlDPbY rBw1pLHfXbqLUbmcDLzVLyZyNyEfErfjOk6j0k7S+v+moPCiqmQ6AYJ9FgMQktm6L5yi z/KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ruTXS9IhER0fHobv7s1hcv5+a+Tgx3urz+9qRKtrQoc=; b=uVUSUieNlZBRjJ8/PK7s7AnDP9yjcU+CzQsGsEZB1Mzc5o3qRijjDABCfhdpi2Kbc1 Z2UvaSHJRyufipnYK8Sig9Md7tdiEdTq+U2GtB8QGyblQXn/jWNHj7rLFzs4+ZfPJQ6X utpCx0aP/CYaRDVUp9B6DP5YpixsPcPVcVvEzLzyst9fC7EphzwWBuSvvJwetqNJU46w bL/PRsOb2V4vsMo53i/2GPpMw3lTyEa4Ox3FbI5M/V0X09xEYjtk9Czbh95/bJXwbC7X UdJjdeKVS+gpg9eVCTINMhLEy00fFQEWSkfeoeVBLfLvokdS2gDoR9XqSPWaGkDT1M9E Veow== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q7si2887623ioi.41.2021.07.14.08.14.51; Wed, 14 Jul 2021 08:15:05 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239561AbhGNPQC (ORCPT + 99 others); Wed, 14 Jul 2021 11:16:02 -0400 Received: from foss.arm.com ([217.140.110.172]:36036 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232445AbhGNPQB (ORCPT ); Wed, 14 Jul 2021 11:16:01 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 11D0231B; Wed, 14 Jul 2021 08:13:10 -0700 (PDT) Received: from bogus (unknown [10.57.79.213]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 183423F694; Wed, 14 Jul 2021 08:13:08 -0700 (PDT) Date: Wed, 14 Jul 2021 16:12:10 +0100 From: Sudeep Holla To: "Rafael J. Wysocki" Cc: ACPI Devel Maling List , Linux Kernel Mailing List , Cristian Marussi , "Rafael J . Wysocki" , Jassi Brar Subject: Re: [PATCH 02/13] ACPI: CPPC: Fix doxygen comments Message-ID: <20210714151210.or4kburfmcsjo3u2@bogus> References: <20210708180851.2311192-1-sudeep.holla@arm.com> <20210708180851.2311192-3-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 14, 2021 at 02:20:05PM +0200, Rafael J. Wysocki wrote: > On Thu, Jul 8, 2021 at 8:09 PM Sudeep Holla wrote: > > > > Clang complains about doxygen comments too with W=1 in the build. > > > > | drivers/acpi/cppc_acpi.c:560: warning: Function parameter or member > > | 'pcc_ss_id' not described in 'pcc_data_alloc' > > | drivers/acpi/cppc_acpi.c:1343: warning: Function parameter or member > > | 'cpu_num' not described in 'cppc_get_transition_latency' > > > > Fix it. > > > > Signed-off-by: Sudeep Holla > > --- > > drivers/acpi/cppc_acpi.c | 7 +++++++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/drivers/acpi/cppc_acpi.c b/drivers/acpi/cppc_acpi.c > > index a4d4eebba1da..eb5685167d19 100644 > > --- a/drivers/acpi/cppc_acpi.c > > +++ b/drivers/acpi/cppc_acpi.c > > @@ -562,6 +562,8 @@ bool __weak cpc_ffh_supported(void) > > /** > > * pcc_data_alloc() - Allocate the pcc_data memory for pcc subspace > > * > > I would drop this empty line (and analogously below). > Sure > > + * @pcc_ss_id: PCC Subspace channel identifier > > + * > > * Check and allocate the cppc_pcc_data memory. > > * In some processor configurations it is possible that same subspace > > * is shared between multiple CPUs. This is seen especially in CPUs > > @@ -1347,10 +1349,15 @@ EXPORT_SYMBOL_GPL(cppc_set_perf); > > /** > > * cppc_get_transition_latency - returns frequency transition latency in ns > > * > > + * @cpu_num: Logical index of the CPU for which latencty is requested > > + * > > * ACPI CPPC does not explicitly specify how a platform can specify the > > * transition latency for performance change requests. The closest we have > > * is the timing information from the PCCT tables which provides the info > > * on the number and frequency of PCC commands the platform can handle. > > + * > > + * Returns: frequency transition latency on success or CPUFREQ_ETERNAL on > > + * failure > > Is this change needed? The one-line summary already says this. > Right, not required. I must have got confused with other place that expected return summary. -- Regards, Sudeep