From patchwork Thu Jul 8 18:08:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 471270 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp525890jao; Thu, 8 Jul 2021 11:09:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZsr9NCsO76Np/FpNac90Gr6I6dsGrjlavi2fe5cZirFw27RJpAxp3Zyz9gz/5G/xNntvr X-Received: by 2002:a17:907:2d0a:: with SMTP id gs10mr31917006ejc.207.1625767743885; Thu, 08 Jul 2021 11:09:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625767743; cv=none; d=google.com; s=arc-20160816; b=oQdx+uszaRfpjrH64y+KW5GR7c4r6SaB2/Z8HcpCEn38LTvh7iFnckTWWJ/kIwOSZl 8o3QUNQoy/CCtCfy90oiZGZjKQqTxGplvq+XpkwSbs/LO7lJhZFaM2LW0NSFuAEF4EBE +UVFhvMWFLkFTU3UGYDLyFeyluFshZrQakTEM0lV3e/y92Wgh36HwiSL48ijrxgTm57a cv7+jzicS+GFkv0c6GuCVIdy/J4eKqRKAwm2mngsmbgTDD9aJKeqsDrQBpouyaLIUyXR 6VLGHeKWmRxBPwOZaeWMz/PGD6lyaT5vPsgs8aqOyW05ehq+gTkj/TRpv1Z9eG07mREq v21w== 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; bh=DzovIwM53gT4FkzDofjKoO9a50BRUe8hvj8/QsCeSqI=; b=eDeIebkfT2vtWkJNIuZ/U2sMjji9iqkSqaZuQjbCFb7F+Moq0HeEHH1BXXJwD8aIri z35R832VFYjxqWk1w9KwfzKY8QwsZVh9EZJANnMFyiOq3iuaNbnZBNXhUvMehRkXUD4a JBD5T6UBn/YnK97HeU7Ff50YTmjJvPqvh7UG9GwcQkdGhmWbed7izKESDR4bc0mpmIHI KUIV+moa3RL1QAZZEayaHP1WDwVVi4iLyLnpE/+YNGFzGdDM312egITyNetzCSxc8h1I 7LW3RFlle5u1EOMY6hwKThbN/Db30kvSvUKs2v/olm5fMNlR3HEb0d2HO52alXJofQix mRPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-acpi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-acpi-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 24si3945545ejw.232.2021.07.08.11.09.03; Thu, 08 Jul 2021 11:09:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-acpi-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-acpi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-acpi-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 S229469AbhGHSLn (ORCPT + 4 others); Thu, 8 Jul 2021 14:11:43 -0400 Received: from foss.arm.com ([217.140.110.172]:35964 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230141AbhGHSLm (ORCPT ); Thu, 8 Jul 2021 14:11:42 -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 E7A3F1063; Thu, 8 Jul 2021 11:08:59 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 0D74D3F66F; Thu, 8 Jul 2021 11:08:58 -0700 (PDT) From: Sudeep Holla To: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sudeep Holla , Cristian Marussi , "Rafael J . Wysocki" , Jassi Brar Subject: [PATCH 01/13] mailbox: pcc: Fix doxygen comments Date: Thu, 8 Jul 2021 19:08:39 +0100 Message-Id: <20210708180851.2311192-2-sudeep.holla@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210708180851.2311192-1-sudeep.holla@arm.com> References: <20210708180851.2311192-1-sudeep.holla@arm.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Clang complains about doxygen comments too with W=1 in the build. | drivers/mailbox/pcc.c:179: warning: Function parameter or member 'irq' | not described in 'pcc_mbox_irq' | drivers/mailbox/pcc.c:179: warning: Function parameter or member 'p' | not described in 'pcc_mbox_irq' | drivers/mailbox/pcc.c:378: warning: expecting prototype for | parse_pcc_subspaces(). Prototype was for parse_pcc_subspace() instead Fix it. Signed-off-by: Sudeep Holla --- drivers/mailbox/pcc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c index 0296558f9e22..23391e224a68 100644 --- a/drivers/mailbox/pcc.c +++ b/drivers/mailbox/pcc.c @@ -174,6 +174,10 @@ static int pcc_map_interrupt(u32 interrupt, u32 flags) /** * pcc_mbox_irq - PCC mailbox interrupt handler + * @irq: interrupt number + * @p: data/cookie passed from the caller to identify the channel + * + * Returns: IRQ_HANDLED if interrupt is handled or IRQ_NONE if not */ static irqreturn_t pcc_mbox_irq(int irq, void *p) { @@ -364,7 +368,7 @@ static const struct mbox_chan_ops pcc_chan_ops = { }; /** - * parse_pcc_subspaces -- Count PCC subspaces defined + * parse_pcc_subspace - Count PCC subspaces defined * @header: Pointer to the ACPI subtable header under the PCCT. * @end: End of subtable entry. *