Message ID | 20230926005232.23666-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp1590265vqu; Mon, 25 Sep 2023 17:55:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF2RzI18yw+qFxKN3oz+80S1ttDDUJ24YfRllNYs4s97YDamfI7tTSwo7W1F00foZMHiysJ X-Received: by 2002:a05:6a20:7283:b0:11f:4707:7365 with SMTP id o3-20020a056a20728300b0011f47077365mr7523800pzk.38.1695689729098; Mon, 25 Sep 2023 17:55:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695689729; cv=none; d=google.com; s=arc-20160816; b=dmeRruWYJwm1j8XQcCFlGgfVHpYMzufv1UzsKLAUywiNp0kszm/UJuiq+WJvMRx91t ZmQYtcOHhOFubom1130YLGxtSS+/EjfeDlBn7eUSt6BBr7ImSPn9wSNplERjxnNz/5gM HCHYwitGAFpF4SmebNc5O+5dIOQUKz2hXmASxz8oXl16B3CZbDDU34OCaHpwhBC7eqCO qnyt2WjS+skL1ruqCLcJpNm//T0akiBRg77I0uZWvOn0+IR7tBg6d2Rl9h6mCspl9TZl RFSJMVcN8MNDG83tp/m3uBbjotdhQZlQNmISEniNLyKUL1RZffHho/zK9PF4dmVvK457 A2YA== 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:dkim-signature; bh=u1nU5JLGvirz2IB1v8ZoAM3OrG2Ec5+6zeDs75GvXlo=; fh=nyuIiCeyi36WzahJ77i30UITOBpoB/f/kikcGYwvqVI=; b=T6qLzocXXIfDnBS9TFTA/Ja/j/uEJdZFCJsVJ+AWHILBh75RIYra5PPVkzgLlfGHS7 rrDAe3oqztandsoj2yupJ5gph3p/tNyhphm13xjf+Q2S7BPTVH+ESrG5zmb/wJGQtnng tK1kh6oB5Q8CMUTlcosFJJnUhu1ld5iSYAIo/Lw94zLMg1lYejXcOI0jSrxJRDzvL38K 1ZPhiS2uZoE6+U6apHwQt2Ia5PDgwYd/Xj5h8h/iFtR47cF5aUtQMIxpoijH7CgMT6Q3 nJCCzRyktpdyFuSJiejBkh8KAl6l60XYgqmqAdRLyy/G2fVHtGf4et851B3kiw2ehKb1 K8hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=n+uSFqIe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id j4-20020a170903028400b001b9d2010c39si11713111plr.192.2023.09.25.17.55.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 17:55:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=n+uSFqIe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 90B7780AEE25; Mon, 25 Sep 2023 17:52:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232313AbjIZAwm (ORCPT <rfc822;pwkd43@gmail.com> + 27 others); Mon, 25 Sep 2023 20:52:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbjIZAwl (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 25 Sep 2023 20:52:41 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C124DB3; Mon, 25 Sep 2023 17:52:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=u1nU5JLGvirz2IB1v8ZoAM3OrG2Ec5+6zeDs75GvXlo=; b=n+uSFqIe00KUc/NH7EKJ6RAJCB trpwtKivX/CEPUqw7AcIJ2FtwgHP1JE9hD5nKie9TWqiPD1gofUOxumZ3VWerVrbj3gJHK/iMzb5N UTYHDXSVWN5tj7D1CRfPtHV+2c7VF3MLiuQ33XwbR6ELgLb17BN6jvng6jD28Sumf+7JnzPrTFyQp cTqFFiuKheQDyVB40ARB2afa8fD2nVqos13HRJZAdv/3ukBEq33mIQIMp5rrSZOKFOJjru8DwYfYw 2cznmEf1yJv6wpqJqH9sL6kHkkhQvLbgghHp3Swa7erE0prMcOIwnGPxGA3d4JMt+6ZeT95RkwjZh F0B99HoA==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qkwJV-00FJe6-0U; Tue, 26 Sep 2023 00:52:33 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, kernel test robot <lkp@intel.com>, Christoph Hellwig <hch@lst.de>, Jens Axboe <axboe@kernel.dk>, linux-block@vger.kernel.org Subject: [PATCH] block: fix kernel-doc for disk_force_media_change() Date: Mon, 25 Sep 2023 17:52:32 -0700 Message-ID: <20230926005232.23666-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 25 Sep 2023 17:52:44 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778059553431566228 X-GMAIL-MSGID: 1778059553431566228 |
Series |
block: fix kernel-doc for disk_force_media_change()
|
|
Commit Message
Randy Dunlap
Sept. 26, 2023, 12:52 a.m. UTC
Drop one function parameter's kernel-doc comment since the parameter
was removed. This prevents a kernel-doc warning:
block/disk-events.c:300: warning: Excess function parameter 'events' description in 'disk_force_media_change'
Fixes: ab6860f62bfe ("block: simplify the disk_force_media_change interface")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: lore.kernel.org/r/202309060957.vfl0mUur-lkp@intel.com
Cc: Christoph Hellwig <hch@lst.de>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
---
block/disk-events.c | 1 -
1 file changed, 1 deletion(-)
Comments
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
On Mon, 25 Sep 2023 17:52:32 -0700, Randy Dunlap wrote: > Drop one function parameter's kernel-doc comment since the parameter > was removed. This prevents a kernel-doc warning: > > block/disk-events.c:300: warning: Excess function parameter 'events' description in 'disk_force_media_change' > > Applied, thanks! [1/1] block: fix kernel-doc for disk_force_media_change() commit: a578a25339aca38e23bb5af6e3fc6c2c51f0215c Best regards,
diff -- a/block/disk-events.c b/block/disk-events.c --- a/block/disk-events.c +++ b/block/disk-events.c @@ -290,7 +290,6 @@ EXPORT_SYMBOL(disk_check_media_change); /** * disk_force_media_change - force a media change event * @disk: the disk which will raise the event - * @events: the events to raise * * Should be called when the media changes for @disk. Generates a uevent * and attempts to free all dentries and inodes and invalidates all block