Message ID | 20221202011713.14834-1-yang.lee@linux.alibaba.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp581814wrr; Thu, 1 Dec 2022 17:18:58 -0800 (PST) X-Google-Smtp-Source: AA0mqf5bJHcu4fj/mbiu4oLZC9+LCa9eMpw2uhslu4gWVGMi4xoYp38rtriK/1fzVz8sCf1kfiHZ X-Received: by 2002:a05:6402:2987:b0:45c:a9d3:d535 with SMTP id eq7-20020a056402298700b0045ca9d3d535mr16361124edb.0.1669943937791; Thu, 01 Dec 2022 17:18:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669943937; cv=none; d=google.com; s=arc-20160816; b=QpvjwvAtO3/Egze/+LYeA95xCTTZkkW1JZSyh2OYDnQPip9ItxA0HPXp6BmgzIKP0k 374aQwm1tzWSUjhxQyw2dh14fru0J8R03E8/VtlsycXRXYPAefsT6MQWcabKNSiPqejk ph6kmo49q6od/AAThdPf4jI4lU+FteoWBZoIKuhtnwU8Ml95ws9sdtyk924NGzXsWBPn /eJ69K0ie2LFTTGucfzJ3q/B1bMKErO31Mot7GhA8str8S5rpl+d/1oL5/Lf4mHgLQVa ead7Us7gm7M/ekrXfINoqe9JHlXo1yXzWLPkAc3pPOmYzsvjkxqDlGtufTeJawUsPCwe aj4w== 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=zZMMm4p+f33C80ukliKdzK5JilrSz3jkcjEPQzzv9xU=; b=XI0quUQZUhIdvvCfU9ZTXgLdgxOTx4MDDsV2LV1R6im3A5GgyJZk+HxQNo0y8Dkp/3 dWKWiw8mdA0tU00l5c05L9fCQ7iI51sFAN0ZIuL1XjIYdJikIBtLyyemy4Gt+d8iTxYe 3exPvlIHV5T3XUrfeKRFEPYZfFaHFfHSMIQRLwK4f2NNkDcyQhj0iifJUwXbwMonYIAo V+SOc5rryLd/z0erUtNCltprb7iBc+V+pvZ+7SH3UyR3FZpQgzx05lHTyBnwTCO9dp5S uy0/B/Q2lRuqGXXd40Rw+eUCCx/fHdYDd06vuo2h8IRIb6n8ZhwRgRENZrHoGr85jHiI 2L0A== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt5-20020a170907728500b007ae6aa9e875si5612893ejc.370.2022.12.01.17.18.34; Thu, 01 Dec 2022 17:18:57 -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 S231445AbiLBBRX (ORCPT <rfc822;heyuhang3455@gmail.com> + 99 others); Thu, 1 Dec 2022 20:17:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbiLBBRW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 1 Dec 2022 20:17:22 -0500 Received: from out30-54.freemail.mail.aliyun.com (out30-54.freemail.mail.aliyun.com [115.124.30.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3831FBB00F; Thu, 1 Dec 2022 17:17:18 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;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_---0VWAIyvC_1669943834; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VWAIyvC_1669943834) by smtp.aliyun-inc.com; Fri, 02 Dec 2022 09:17:15 +0800 From: Yang Li <yang.lee@linux.alibaba.com> To: tj@kernel.org Cc: josef@toxicpanda.com, axboe@kernel.dk, cgroups@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li <yang.lee@linux.alibaba.com>, Abaci Robot <abaci@linux.alibaba.com> Subject: [PATCH -next] blk-cgroup: Fix some kernel-doc comments Date: Fri, 2 Dec 2022 09:17:13 +0800 Message-Id: <20221202011713.14834-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,RCVD_IN_MSPIKE_H2, 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: <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?1751063134620926575?= X-GMAIL-MSGID: =?utf-8?q?1751063134620926575?= |
Series |
[-next] blk-cgroup: Fix some kernel-doc comments
|
|
Commit Message
Yang Li
Dec. 2, 2022, 1:17 a.m. UTC
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
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
block/blk-cgroup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 12/1/22 6:17 PM, Yang Li wrote: > 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' Please always include a fixes line: Fixes: de185b56e8a6 ("blk-cgroup: pass a gendisk to blkcg_schedule_throttle")
On Fri, 02 Dec 2022 09:17:13 +0800, Yang Li wrote: > 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' > > > [...] Applied, thanks! [1/1] blk-cgroup: Fix some kernel-doc comments commit: 1d6df9d352bb2a3c2ddb32851dfcafb417c47762 Best regards,
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