Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1490779rwb; Thu, 1 Dec 2022 18:54:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf7nVFLYSWzlrL67S0AKqKpbERsV2860CFP3XUTgI0fbK8E858r1rl88EUlvDSZOEG97xi5X X-Received: by 2002:a63:171e:0:b0:476:9983:b395 with SMTP id x30-20020a63171e000000b004769983b395mr44698989pgl.355.1669949679151; Thu, 01 Dec 2022 18:54:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669949679; cv=none; d=google.com; s=arc-20160816; b=wZ4FA1yR4dq3OAM/5JWhkvgXXvyNT2JhoCBJVosTifTe/dJR627oFS00klmnVmT9g1 sph0Uoz8dThGQg7XaEQs36rlF14u8PqxCcbYTY//D4ftfGDPEX2hRzDwJ1cD6lHQghMy OUmas8X4spikikJw570+xI9bCnc9hhuLbcgAmykIcVrmdklzmmgF2yupzbLsYTRnOXdl yqfbNvbazDRd7knZD9BFt5QbSq1uMgDnX6jo/t/DS06ZX4QexSGQ3FqRUwLnEJ0YmVzc rW2EtV78EFitUlYDFHAbVgfFHt7pB+yehlMRbLq+q4cXGdM6rCkTvlZye2DooNBFBquu PhDA== 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=05g4OE36vdJ7baYLTWmllvdTc9KBGt2oGHehp0XDCXE=; b=1HXOHuBiPwSB8tm4wUlexPl/TFrtuPXkxWt1A8tie7HpNUOIKS49gguWVGMyh/Dw/0 kv7GjaoBzTBGumB9DxBuG8bT6Geb8wvl4t0bKKKqnmFVjcl5D/6JHT9Ws5rfRpBfnkaP QoNHws+P3jJ9u7Bz1N3zm6g88ECCAc5eCobBaLbGQVnh/1XGu7IO9pf9bDTBs7GGzsUc PjXkYOkOGr3Bwywe/9Y/C1QL7+NDBfP8DhSrdQtIuGW135CCtvBXFurWd/S652ldSx6d 0jsrFjdzm+gzR4syZloBXhpDBOyEQdndhb7oj9LpiblYCliTOdA54e5TbnYE/PEex674 7TQw== 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 m17-20020a63ed51000000b004782ca58117si6042272pgk.611.2022.12.01.18.54.28; Thu, 01 Dec 2022 18:54:39 -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; 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 S232090AbiLBCm4 (ORCPT + 82 others); Thu, 1 Dec 2022 21:42:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230193AbiLBCmz (ORCPT ); Thu, 1 Dec 2022 21:42:55 -0500 Received: from out30-7.freemail.mail.aliyun.com (out30-7.freemail.mail.aliyun.com [115.124.30.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5189D15BA; Thu, 1 Dec 2022 18:42:53 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R981e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0VWAkoq4_1669948970; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VWAkoq4_1669948970) by smtp.aliyun-inc.com; Fri, 02 Dec 2022 10:42:51 +0800 From: Yang Li To: axboe@kernel.dk Cc: tj@kernel.org, josef@toxicpanda.com, cgroups@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next v2] blk-cgroup: Fix some kernel-doc comments Date: Fri, 2 Dec 2022 10:42:49 +0800 Message-Id: <20221202024249.12884-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,SPF_HELO_NONE,SPF_PASS,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 the description of @gendisk to @disk in blkcg_schedule_throttle() to clear the below warnings: block/blk-cgroup.c:1850: warning: Function parameter or member 'disk' not described in 'blkcg_schedule_throttle' block/blk-cgroup.c:1850: warning: Excess function parameter 'gendisk' description in 'blkcg_schedule_throttle' Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3338 Fixes: de185b56e8a6 ("blk-cgroup: pass a gendisk to blkcg_schedule_throttle") Reported-by: Abaci Robot Signed-off-by: Yang Li --- change in v2: --According to Jens's suggestion, add a fixes line. block/blk-cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index 1bb939d3b793..77f44472b41e 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c @@ -1831,7 +1831,7 @@ void blkcg_maybe_throttle_current(void) /** * blkcg_schedule_throttle - this task needs to check for throttling - * @gendisk: disk to throttle + * @disk: disk to throttle * @use_memdelay: do we charge this to memory delay for PSI * * This is called by the IO controller when we know there's delay accumulated -- 2.20.1.7.g153144c