From mboxrd@z Thu Jan 1 00:00:00 1970 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 0B6AFC4167B for ; Thu, 7 Dec 2023 21:06:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443963AbjLGVGK (ORCPT ); Thu, 7 Dec 2023 16:06:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443936AbjLGVFp (ORCPT ); Thu, 7 Dec 2023 16:05:45 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 134BE1716 for ; Thu, 7 Dec 2023 13:05:48 -0800 (PST) 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=0r4nfZqHPYRDR+n8ZIS2wR0AC5uZQeIIwrgxcaNxyuo=; b=0+CB4S6w5xhh+1K/c5OxSyVyNl o0iymSgjnk2U1Z5uxRjnjiilkPrDJ86FlxNmJpIQbjMWtGG6CuqMpUs7g4XimCTMHmTpnQfzjDNKw AM/AO8mD/PhNroTpaGBYVyC8rNRZJxRqYgPkMHOCtdxh4pq8gxMTotXGk8lbW5hFyyDNax+8MtzlP dtHIZQvl4E8SEZB21YjWK0+7oSkpPL6g1JfalihCfyM/jdwhLDyAajnll/8DDxI1AbfD0p/pBOHCS b15lPPkX+JiTh87rxHtSW4YeNqVbgPu310yapfAL77ltc3W/QXLlnk8VUFdc98FfMHjZqiNbssn2/ Fyx/xVHQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rBLZ5-00Duw1-2p; Thu, 07 Dec 2023 21:05:47 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Vishal Verma , Dan Williams , Dave Jiang , Ira Weiny , nvdimm@lists.linux.dev Subject: [PATCH 1/3] nvdimm/btt: fix btt_blk_cleanup() kernel-doc Date: Thu, 7 Dec 2023 13:05:43 -0800 Message-ID: <20231207210545.24056-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Correct the function parameters to prevent kernel-doc warnings: btt.c:1567: warning: Function parameter or member 'nd_region' not described in 'btt_init' btt.c:1567: warning: Excess function parameter 'maxlane' description in 'btt_init' Signed-off-by: Randy Dunlap Cc: Vishal Verma Cc: Dan Williams Cc: Dave Jiang Cc: Ira Weiny Cc: nvdimm@lists.linux.dev --- drivers/nvdimm/btt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/drivers/nvdimm/btt.c b/drivers/nvdimm/btt.c --- a/drivers/nvdimm/btt.c +++ b/drivers/nvdimm/btt.c @@ -1550,7 +1550,7 @@ static void btt_blk_cleanup(struct btt * * @rawsize: raw size in bytes of the backing device * @lbasize: lba size of the backing device * @uuid: A uuid for the backing device - this is stored on media - * @maxlane: maximum number of parallel requests the device can handle + * @nd_region: &struct nd_region for the REGION device * * Initialize a Block Translation Table on a backing device to provide * single sector power fail atomicity.