From patchwork Tue Jan 4 03:28:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 12702961 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 C31F5C433EF for ; Tue, 4 Jan 2022 03:28:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232419AbiADD2n (ORCPT ); Mon, 3 Jan 2022 22:28:43 -0500 Received: from out30-44.freemail.mail.aliyun.com ([115.124.30.44]:57397 "EHLO out30-44.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230139AbiADD2n (ORCPT ); Mon, 3 Jan 2022 22:28:43 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R441e4;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=6;SR=0;TI=SMTPD_---0V0oYcpc_1641266920; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V0oYcpc_1641266920) by smtp.aliyun-inc.com(127.0.0.1); Tue, 04 Jan 2022 11:28:40 +0800 From: Yang Li To: paolo.valente@linaro.org Cc: axboe@kernel.dk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] bfq: Fix __bfq_lookup_next_entity() kernel-doc comment Date: Tue, 4 Jan 2022 11:28:38 +0800 Message-Id: <20220104032838.95748-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Add the description of @in_service to remove warning found by running scripts/kernel-doc, which is caused by using 'make W=1'. block/bfq-wf2q.c:1399: warning: Function parameter or member 'in_service' not described in '__bfq_lookup_next_entity' Reported-by: Abaci Robot Signed-off-by: Yang Li --- block/bfq-wf2q.c | 1 + 1 file changed, 1 insertion(+) diff --git a/block/bfq-wf2q.c b/block/bfq-wf2q.c index b74cc0da118e..ab05e973342e 100644 --- a/block/bfq-wf2q.c +++ b/block/bfq-wf2q.c @@ -1375,6 +1375,7 @@ static struct bfq_entity *bfq_first_active_entity(struct bfq_service_tree *st, /** * __bfq_lookup_next_entity - return the first eligible entity in @st. * @st: the service tree. + * @in_service: Check whether an in-service entity exists. * * If there is no in-service entity for the sched_data st belongs to, * then return the entity that will be set in service if: