From patchwork Tue Nov 7 00:54:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 162241 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp3022356vqu; Mon, 6 Nov 2023 16:54:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IGke5kGwYgYpeCw+wUMLyj+K2vUstnvHZEfDIOWQj4ITVUqtxa97V+eYAjlD6BcuHeUgtis X-Received: by 2002:a05:6a00:1302:b0:690:422f:4f17 with SMTP id j2-20020a056a00130200b00690422f4f17mr27072795pfu.4.1699318467944; Mon, 06 Nov 2023 16:54:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699318467; cv=none; d=google.com; s=arc-20160816; b=FaDqxgjPPR0c3IX2yBpIGAc/rtOFX2KcHoDZiaEnHG+p/HLcUwSwrcTRGV20KV1T1n 1QoWxNOIwsOfXhEhp9ZzgawWRwqKUOPAcyQj0hgdCB+47zbjt8TcBi7L6HoXcId+6DGo MTSppkdvrkQ0iA0imc+sO7IlmIhjbrtZk/ttkfJW7jnV4nzFtVG9CljS43egG8ROTKFU lRSqvNK7EHR40TXMDrWvFB0tv8eOhlSISQb4CDvddIhtOayxmGVWClCdz9t/zvqiHfbo x8kclcnHmDAAHSTc4kgbSyCClYCvGW4kWDiO50xo+MXddif50MR9UhIuRNSlfqYpQBel ScZg== 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=+jE7ou4tFave3TjR5lTzlebNRDC+nUyolnwZE03xHrY=; fh=1CeEj1LWw6DIPEP4+Db81mTPzmAlBMMTDYM/b8lq+J4=; b=Jf4SP8Fi1fOa39TlL7j30MbPO92EgvZ1jYsy8o1SCsIgG7OdefhH6eFUuwsBRDlsyq EKR1EbOXaUP7QgHOJvhHn6kLk8lzKa15nLhS2g8OEOgYBaCaTPUIBUOaa3FWkhZeomfC RhSOGtqGiC7NhmNpQhhibDEFFiM3Kwb1x4LQy+Zj2aQJxryy+WV5kigdJTFbrM+BoMp+ gySu6hCmYHXNdnTMLcA/PcjjM1MvFVSrZb2tJAtXfWqy2jXjHl9a/BMIz/oFUKmcU315 W3SbGd133m/K9VswUxX75I6XW7i4rjh+Ike6lE+H9b3rnyl/3KN4nXv98oZILy8VEuuf nxkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=5E00zc3m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id cd20-20020a056a00421400b006be55174f3fsi9653187pfb.28.2023.11.06.16.54.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 16:54:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=5E00zc3m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 8D55C8030E49; Mon, 6 Nov 2023 16:54:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233316AbjKGAyR (ORCPT + 33 others); Mon, 6 Nov 2023 19:54:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230208AbjKGAyP (ORCPT ); Mon, 6 Nov 2023 19:54:15 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49AB49C; Mon, 6 Nov 2023 16:54: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=+jE7ou4tFave3TjR5lTzlebNRDC+nUyolnwZE03xHrY=; b=5E00zc3mJHrCjCa1Jjqugu9zfZ gMghqEmOlmO+V+p2vJeB3HfG3JzJV9ZcTxp/QnIoi4rxfJ8KeT8D5ZcTUEZsWlbTqvbVmLDDIlBPo KJtuVFMblQhMTIeYm+s3eUgX+2P5unqNUv7B20B2GkIFAqnr+ikb3ah8q5GTK0l09atGtznBrGP1v uAqL6She5egRliutYc29b3lPXG1r76PIvt4k0EsBT7RyM/I8UR0jQezjggZKVg8Cilourqbbh0ZY6 P9tgoJwgUUBovm37Fb8d2VLMms1FhJ1j6tqKFhtyti6W59j9GDCY/BQY+twlZjQ5FTL+UZCyfV2Ez 5Bd7KZAw==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1r0AM8-000F96-2Z; Tue, 07 Nov 2023 00:54:12 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , linux-pm@vger.kernel.org Subject: [PATCH v2] PM: domains: fix inappropriate use of kernel-doc Date: Mon, 6 Nov 2023 16:54:12 -0800 Message-ID: <20231107005412.24070-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.1 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 06 Nov 2023 16:54:25 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781864561928624066 X-GMAIL-MSGID: 1781864561928624066 There is no mechanism for using kernel-doc notation on a data item (only struct/union/enum definitions, functions, and function-like macros). Since the comment does not add any useful information, just drop it completely to avoid a kernel-doc warning: drivers/base/power/domain_governor.c:412: warning: cannot understand function prototype: 'struct dev_power_governor pm_domain_always_on_gov = ' Signed-off-by: Randy Dunlap Cc: "Rafael J. Wysocki" Cc: Kevin Hilman Cc: Ulf Hansson Cc: linux-pm@vger.kernel.org --- v2: drop the comment completely (Ulf) drivers/base/power/domain_governor.c | 3 --- 1 file changed, 3 deletions(-) diff -- a/drivers/base/power/domain_governor.c b/drivers/base/power/domain_governor.c --- a/drivers/base/power/domain_governor.c +++ b/drivers/base/power/domain_governor.c @@ -406,9 +406,6 @@ struct dev_power_governor simple_qos_gov .power_down_ok = default_power_down_ok, }; -/** - * pm_genpd_gov_always_on - A governor implementing an always-on policy - */ struct dev_power_governor pm_domain_always_on_gov = { .suspend_ok = default_suspend_ok, };