From patchwork Mon Nov 7 06:22:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 16247 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1868975wru; Sun, 6 Nov 2022 22:27:44 -0800 (PST) X-Google-Smtp-Source: AMsMyM6TmOERK74Bw3OoZ1Klz6YVkYZw+A0wai7ckROF09OTEW/PTHchc6J+A/rMvr1tasBvYpzu X-Received: by 2002:a05:6402:5248:b0:461:f0fa:864e with SMTP id t8-20020a056402524800b00461f0fa864emr47418718edd.81.1667802464793; Sun, 06 Nov 2022 22:27:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667802464; cv=none; d=google.com; s=arc-20160816; b=pHb0qvgCwx1TJP+4prxrKbf/ONsV3tRDwst/4zGnfG/zJszwWigQxdr1lzLRFVYy69 UKJ31rrndJ2agQJjoI1KTm2gJnP9pVIAvNmoDBnK6dZOz910l+vEh506QCEsmeESzIYi 3ykm+bFx6wHo7Y/GmJXJv6RMTDHF7miieypI/MZAsfMetP8LzBJT3+09fKUNEOTRbj7d Sps9iLy9b0ewGujs+ZQQ6ytelspsIfbZ3y3Cg3o7QEaUy5eydTBYavxO4sNdxLcGJWfP ZfBUieVpKiqKwPBqPXpgM4alk8WPDjqj1G8EnLmLIrN7t7wVMtYp6yh05kyPxcrVHvZF zAKA== 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=1DCbyCc8JysO8HOfWoYAje11A89o5DvlkJWlFLOnrOY=; b=vfvn6wy3+btcrlKPD8z3YtDw/gb4wLa2zxZowlLSOshCmhkKEoNdvui2AxXrcOwHpf HXlQLUhPaZCYnuze/S5yvsk4Hm0gybX0meIRht9E84Gr/oQB1+o8jWuOZOekp9sFnOaq BfvZrXxXDGioRIoQcnTIXTlw5rvwbh/27H/CvqxoRcuWxioSosiSp4dBULWSr3/WvSEo hE55z3DOIfZBaGKR3VWThWSi8Jr1naL4a2fryJ7mboAoQXUDwXiJO/7i7gsuiLo/vtFD Mb5ko89/XfOs18mrhzv0KdxjfzX0IZOQj44LpjRhimGt/ggLS3geEj0scBb8ZyMf6Zs+ Ik1Q== 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 o21-20020a170906975500b007ae10525563si10211325ejy.991.2022.11.06.22.27.21; Sun, 06 Nov 2022 22:27:44 -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 S231248AbiKGGXE (ORCPT + 99 others); Mon, 7 Nov 2022 01:23:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231229AbiKGGXB (ORCPT ); Mon, 7 Nov 2022 01:23:01 -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 B14BC11152; Sun, 6 Nov 2022 22:22:59 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VU7DUxD_1667802176; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VU7DUxD_1667802176) by smtp.aliyun-inc.com; Mon, 07 Nov 2022 14:22:57 +0800 From: Yang Li To: axboe@kernel.dk Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] block: Fix some kernel-doc comments Date: Mon, 7 Nov 2022 14:22:55 +0800 Message-Id: <20221107062255.2685-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748817637403235917?= X-GMAIL-MSGID: =?utf-8?q?1748817637403235917?= Remove the description of @required_features in elevator_match() to clear the below warning: block/elevator.c:103: warning: Excess function parameter 'required_features' description in 'elevator_match' Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2734 Fixes: ffb86425ee2c ("block: don't check for required features in elevator_match") Reported-by: Abaci Robot Signed-off-by: Yang Li --- block/elevator.c | 1 - 1 file changed, 1 deletion(-) diff --git a/block/elevator.c b/block/elevator.c index 800e0038be0d..a5bdc3b1e7e5 100644 --- a/block/elevator.c +++ b/block/elevator.c @@ -94,7 +94,6 @@ static inline bool elv_support_features(struct request_queue *q, * elevator_match - Test an elevator name and features * @e: Scheduler to test * @name: Elevator name to test - * @required_features: Features that the elevator must provide * * Return true if the elevator @e name matches @name and if @e provides all * the features specified by @required_features.