Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp606309ioo; Thu, 26 May 2022 10:21:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQw7y12cPruRQsR+OuS9OQar7Z2lXtV2Nf+ltE2VTK8rR997EyaGo1jAXnoIxHmejLYodJ X-Received: by 2002:a17:90b:4c8f:b0:1e0:5b0e:eddc with SMTP id my15-20020a17090b4c8f00b001e05b0eeddcmr3721323pjb.23.1653585684648; Thu, 26 May 2022 10:21:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653585684; cv=none; d=google.com; s=arc-20160816; b=i60nXYUQXiPCclFQLqhKHtwuD8V4EwhwmYg2Z0xk8VqiiwFQKQrATaPYXPbjgpmayK ak1A2VqhwCRCJeaxqkAUmdXLTMPgMZh7hKFMNipQ9s7ydhjtLtwPgaaJxvNGAsOAgquI DlQBPFurv6j2KAi+zffbjy6zvHgiqgrzT8m7L0k413wMGC+D7SLv6nc1Yi5llZ1LVzkd ZPJxEqdoS0xVUEsxHnLiMZrH0/BoalDobEA1HQjbtP/uU1yjiDod4W9V1MzoXd9tef93 WxDhqgjG1BJwD2khuiHxIkr0tLc9gQTgxuhR/c4/R4wJ5+6V77E0rD7g3HolvBi8YQvU sF3g== 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; bh=D22oKc3B8XLvGgw13g6TPB+P9/wo5/5RlL8T/kGDSHE=; b=t9ti9lDxw8JAqoJT8vIL3H4E2U01uQj/2hE05ZI4w+nZRK0VgxZXGUUN9FzBoFX7pw J+7HizoN7hjGgCSZu3eaYyTm6ZQmpgLrALDfFjMB/ovofJWFtDxetEVTV3WFefMpzt1m r8um+ZOPTJE+h57pcfv5yqjpSSeRhSneSWnhpFUnUmiKWZOhqAmpjFubwYSB0FL15QSu k4BRkoj8JbxkrJXcoh5EW1K1bLQWE85Gifd5eyXaGajwOahzLr7rXONj1Ggw2KJaYkJB +RorwuyOpdbVsYK6k3qmQqNE36s/2IthWu29vHzFx0mEK0HOUmk3eSHC+2sPkEQ7wfPW xzxg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d36-20020a634f24000000b003facc0b7ab9si2760719pgb.711.2022.05.26.10.21.10; Thu, 26 May 2022 10:21:24 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347508AbiEZNUo (ORCPT + 99 others); Thu, 26 May 2022 09:20:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233310AbiEZNUm (ORCPT ); Thu, 26 May 2022 09:20:42 -0400 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B723D682B; Thu, 26 May 2022 06:20:41 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R771e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04423;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0VEST7R4_1653571236; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VEST7R4_1653571236) by smtp.aliyun-inc.com(127.0.0.1); Thu, 26 May 2022 21:20:37 +0800 From: Yang Li To: vireshk@kernel.org Cc: nm@ti.com, sboyd@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] opp: Fix some kernel-doc comments Date: Thu, 26 May 2022 21:20:35 +0800 Message-Id: <20220526132035.112026-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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: X-Mailing-List: linux-kernel@vger.kernel.org Make @freq to @bw in dev_pm_opp_find_bw_ceil() and dev_pm_opp_find_bw_floor() kernel-doc comment to remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. drivers/opp/core.c:753: warning: Function parameter or member 'bw' not described in 'dev_pm_opp_find_bw_ceil' drivers/opp/core.c:753: warning: Excess function parameter 'freq' description in 'dev_pm_opp_find_bw_ceil' drivers/opp/core.c:812: warning: Function parameter or member 'bw' not described in 'dev_pm_opp_find_bw_floor' drivers/opp/core.c:812: warning: Excess function parameter 'freq' description in 'dev_pm_opp_find_bw_floor' Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/opp/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/opp/core.c b/drivers/opp/core.c index 84063eaebb91..e44b73af2824 100644 --- a/drivers/opp/core.c +++ b/drivers/opp/core.c @@ -732,7 +732,7 @@ EXPORT_SYMBOL_GPL(dev_pm_opp_find_level_ceil); /** * dev_pm_opp_find_bw_ceil() - Search for a rounded ceil bandwidth * @dev: device for which we do this operation - * @freq: start bandwidth + * @bw: start bandwidth * @index: which bandwidth to compare, in case of OPPs with several values * * Search for the matching floor *available* OPP from a starting bandwidth @@ -791,7 +791,7 @@ EXPORT_SYMBOL_GPL(dev_pm_opp_find_bw_ceil); /** * dev_pm_opp_find_bw_floor() - Search for a rounded floor bandwidth * @dev: device for which we do this operation - * @freq: start bandwidth + * @bw: start bandwidth * @index: which bandwidth to compare, in case of OPPs with several values * * Search for the matching floor *available* OPP from a starting bandwidth -- 2.20.1.7.g153144c