From patchwork Thu Dec 7 21:05:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 175377 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5063114vqy; Thu, 7 Dec 2023 13:06:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtNMXeuKKVdK+AbHDkiDRenC83e+nsXXO8o+tXV2WxlsFtmMUl55TudCo/MvYGE5VsxHhn X-Received: by 2002:a17:902:b685:b0:1d0:c7e0:c81f with SMTP id c5-20020a170902b68500b001d0c7e0c81fmr2474458pls.75.1701983184742; Thu, 07 Dec 2023 13:06:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701983184; cv=none; d=google.com; s=arc-20160816; b=JpFjhj4Sf6XDTiaYwJsKxg5Wz0nVChxHNofKMF6/nBJzqhTFqJqG5BpWFfWsRNqn8N 9RbFNi3KrM9T6TZzQvpFux7pZCfxn0CBGL9n2OAlW+F8GSjcNgj2On2vrxk8D++F11w4 O4YFysbW597SlNx9sl6Dz1JVwJOGp3oDY0qvT39SspAUUr3rCcbjolwulJSmrtMlpFSs 9h65W4css/vNRDPOioI0TN087IPf9D6sbwPLXdyGUdaWlMW/FhQelXB7ZFd2nJLwm5Su rQBA1eT7DrqnF76tzDOPKxM5f7BrwZr6DFVwpcBHgiqsYRJzwqN5aq+nALLTBxKY2nB9 HfJw== 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=0r4nfZqHPYRDR+n8ZIS2wR0AC5uZQeIIwrgxcaNxyuo=; fh=DbC1j14n1NN0qLqOKMtCrVqMgrzo/tyFZzuSs79+VFI=; b=iO6Erh5//ulPhDqw529wit3qgjiN20ASoi6B9ZQ/j4WKLXznNhtp1mvHcsFG0qF/D4 0wQO4Y9NuDtT2tYQ29J+gX4mAeGwS4faz2jgBkFHdrzTgOEeUcKmUnqb5FwOxAww8kkL fQ2aCv95YQlMhOXVd4eZDdciTT1iJRHmlg6yWnN1uwmyODlyZjt/EFvaEw3XKmk+8wub LhYtpaiJQiLDfjMPoxDb1eD5+oDH5D9J0Etqp3nhxCwIpYWaFz9ljRLwQ7/457D49K9h Nswhj/Qjbwx3fJpv1xai4pe2JFS0Hh10ZDI4aJ4z3wIGHBNbyKpomLIB8thqYrnRg1Tn xF9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=0+CB4S6w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id q16-20020a17090311d000b001d0750f2942si353249plh.253.2023.12.07.13.06.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 13:06:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=0+CB4S6w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 125C7814C6B5; Thu, 7 Dec 2023 13:06:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443935AbjLGVGG (ORCPT + 99 others); Thu, 7 Dec 2023 16:06:06 -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 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 07 Dec 2023 13:06:21 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784658719657676389 X-GMAIL-MSGID: 1784658719657676389 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 Reviewed-by: Ira Weiny --- 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.