From patchwork Sat Nov 4 03:40:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13445371 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AD6DC4332F for ; Sat, 4 Nov 2023 03:40:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231281AbjKDDki (ORCPT ); Fri, 3 Nov 2023 23:40:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbjKDDkg (ORCPT ); Fri, 3 Nov 2023 23:40:36 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58B62BF; Fri, 3 Nov 2023 20:40:34 -0700 (PDT) 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=U+9D1UD9cowPYuIICmEuA0h3GjH5Xsb90babyNblpd8=; b=o155olG8sm8yhfnbz+GMwiRvKK f/1s4DlOyjhKgr6l9y+Gb51R+W4Yn6/JyW+7Z4cKsVmacdl+PB+XnsCrM8cWzb9HsDEb59izObFsf i1krlaXvpPG8DFCv31d1GB0CytF0WeLbZJSWNr5qAfwHHUp+RjvLIH7KPflqtOtnWjRaUn1smmoWF EDqzGqJue8NCbwKILNO1sHV+0KTePiI0YcXqkRmXUmo8ZXBJuRwUbtVU2FNijSCFc8ra7zW/2+8ox 9Dp2Zrz5Ycq+Z9Ymw2m4eueWQQFuTSGWJ5zOLkKzfYLEtrezrSmq5wpylGYIoWEIwWySzNkf69YdD Z9MgMP9Q==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qz7WT-00CZjk-1x; Sat, 04 Nov 2023 03:40:33 +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] PM: domains: fix inappropriate use of kernel-doc Date: Fri, 3 Nov 2023 20:40:33 -0700 Message-ID: <20231104034033.14926-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org There is no mechanism for using kernel-doc notation on a data item (only struct/union/enum definitions, functions, and function-like macros), so convert the "/**" notation to C comment "/*" notation 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 --- drivers/base/power/domain_governor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,7 +406,7 @@ 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 = {