Message ID | 20230113064412.11038-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp122854wrt; Thu, 12 Jan 2023 23:00:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXvAivsHtgJgDn2lDgWySTdWSGb3pJwH2VNhKe4G5VH/53Azn2cOwPbtWmyher9FYnzR5+tP X-Received: by 2002:a05:6402:28d:b0:496:bdb5:572f with SMTP id l13-20020a056402028d00b00496bdb5572fmr23209228edv.31.1673593235996; Thu, 12 Jan 2023 23:00:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673593235; cv=none; d=google.com; s=arc-20160816; b=yBIVt+D6QcDO0Fho9WiyjlQ2hk1SNHpJKgTz+CboBQvRMZgqtf3JKzyUUEnga9r/HU 7Xaz4BTZkpb8b9TAQYa0fijat2KjNfMxd1jE/i3TpG/liCDNRWNZk6ITJ93Tey8PbSIe HsCROeMJNW84bDnsWb9tOcvudH4WMCM3/vr7OPlRCb5RS6uav3ImSe8j9/+5pWVJzfa8 Mx9WuZHHALP8A58GahXetCc/KQh+ITn/P2ykWNeSsyMDRgIr0Yehc+93ctgJNZpEtMvU NkGqDzxMZbkS/pqru6DePNcpo0S4eY3fR4nCBEDj9Th3Tg+hafkoWLWXpskHjvsq8750 XcuQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=UsXPpGy/prM95VIkrYPWxazmIK7wikvyDgfHZokAbC0=; b=U3XYCevzNR/aVLDXJYEbv1u2RwNwzsYU0aejEHiMBY7LqEgawLqzOyC1MNq5eUFHlb aThhWvp61mZjqKtu9F9HB2Ps5lVEMPQaSIAL+piZcYBpncysy7S5Ls5QEMWCz8NsM9aa NZ/lZTpQj2w449xyUwzFRs8p5Uvd+x4T8hD2jpZWBhY4CqAne6EE8HmLsiBjV1297rxm yJ+uWtDb2OtI3jW4/lnRZVEVAgcdGQ8b7FxJPzBm9tKwJL6uF3ZKmivABgIgMBvZJ8j4 09iM8wSB8z3T69OMFgoa5pC8I5Pwcwgh9DQgcFbnJulhM7DCcnNK0/JsW8uVEWMLtJp4 63cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=pEff5wEa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb40-20020a1709071ca800b00817f6980922si23183616ejc.355.2023.01.12.23.00.12; Thu, 12 Jan 2023 23:00:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=pEff5wEa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241136AbjAMG7m (ORCPT <rfc822;zhuangel570@gmail.com> + 99 others); Fri, 13 Jan 2023 01:59:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241173AbjAMG6s (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 13 Jan 2023 01:58:48 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D15D6B1AA for <linux-kernel@vger.kernel.org>; Thu, 12 Jan 2023 22:44:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=UsXPpGy/prM95VIkrYPWxazmIK7wikvyDgfHZokAbC0=; b=pEff5wEaytnycOvdCYcYpe3qdv pXp1RmcpO703r6xc8M751KvRrHKrnx82ZXg68BbCIrK7nR3fOVIoM8fP31MDGPEta0R+XubtBL6uy CzofoDqG9kw97ZSaAGQiO8FdLZyXiBQbsKpGGAbCzTuRlBHqJ5K2AeIKLFN346XWGeLttQz4VFSGC 8nQtqohiF91hBuInqoWIRahzCw2LnqFzTxdYxi4v3o9vcaCeVh1PRFdFvzqio3Y5Jf8oBvacPVXPt BlElvkSjDGxbfYW3P3f6cAIUMVlCEBUHO0qzgNjxuiEKES+cvfl5jPW52SSXUo6mnsZb8xKxz4/bx HPn1qssg==; Received: from [2601:1c2:d80:3110::9307] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGDnQ-000rra-Rl; Fri, 13 Jan 2023 06:44:12 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org> Subject: [PATCH] regulator: act8945a: fix non-kernel-doc comments Date: Thu, 12 Jan 2023 22:44:12 -0800 Message-Id: <20230113064412.11038-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754889701359482387?= X-GMAIL-MSGID: =?utf-8?q?1754889701359482387?= |
Series |
regulator: act8945a: fix non-kernel-doc comments
|
|
Commit Message
Randy Dunlap
Jan. 13, 2023, 6:44 a.m. UTC
Don't use kernel-doc "/**" markers for comments that are not in
kernel-doc format. This prevents these warnings:
drivers/regulator/act8945a-regulator.c:19: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* ACT8945A Global Register Map.
drivers/regulator/act8945a-regulator.c:50: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Field Definitions.
drivers/regulator/act8945a-regulator.c:56: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* ACT8945A Voltage Number
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
---
drivers/regulator/act8945a-regulator.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Comments
On Thu, 12 Jan 2023 22:44:12 -0800, Randy Dunlap wrote: > Don't use kernel-doc "/**" markers for comments that are not in > kernel-doc format. This prevents these warnings: > > drivers/regulator/act8945a-regulator.c:19: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > * ACT8945A Global Register Map. > drivers/regulator/act8945a-regulator.c:50: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > * Field Definitions. > drivers/regulator/act8945a-regulator.c:56: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > * ACT8945A Voltage Number > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: act8945a: fix non-kernel-doc comments commit: 80332ec8c0994dc457026b20619dee0f9990706f All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff -- a/drivers/regulator/act8945a-regulator.c b/drivers/regulator/act8945a-regulator.c --- a/drivers/regulator/act8945a-regulator.c +++ b/drivers/regulator/act8945a-regulator.c @@ -15,7 +15,7 @@ #include <linux/regulator/machine.h> #include <dt-bindings/regulator/active-semi,8945a-regulator.h> -/** +/* * ACT8945A Global Register Map. */ #define ACT8945A_SYS_MODE 0x00 @@ -46,13 +46,13 @@ #define ACT8945A_LDO4_CTRL 0x65 #define ACT8945A_LDO4_SUS 0x66 -/** +/* * Field Definitions. */ #define ACT8945A_ENA 0x80 /* ON - [7] */ #define ACT8945A_VSEL_MASK 0x3F /* VSET - [5:0] */ -/** +/* * ACT8945A Voltage Number */ #define ACT8945A_VOLTAGE_NUM 64