From patchwork Tue Aug 2 20:19:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Wang X-Patchwork-Id: 12934600 Received: from smtpbg.qq.com (biz-43-154-54-12.mail.qq.com [43.154.54.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 686277F for ; Tue, 2 Aug 2022 12:20:57 +0000 (UTC) X-QQ-mid: bizesmtp75t1659442760t7id9jse Received: from kali.lan ( [125.69.43.47]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 02 Aug 2022 20:19:19 +0800 (CST) X-QQ-SSF: 01000000002000F0U000B00A0000020 X-QQ-FEAT: mRz6/7wsmIjOpqUv9p5BmJfQ5grfCh2SJgC4OIMsQ9wLpVj+IhLvwjontnaU4 rumjNrDYPzcZunJhz3uuxe8NrFDcvfAdPSuJuxuYOjUHjr6h6zoDmzhO61diOs74ma8nC7b VzWsc8ilLrXW4q7JP7LJpn5lnV/4xuKJJEI5CyyDUHlR12ATpyPCGx6rDWoatAc1GeVyw94 HIB0dBahCFtI3NpN16BbMw7jKg/hm5UyDraQHaHgSORGRhS0WbVg2ExvmEX1mHxDEACg3TJ km9hTkzKFlcTYGqjvFWLktElz7ejAyedsvUt7RH68j76s0mpDhlFt73wDeDN3KGr/EJP143 lnV1JGm8VMall8UVQJrQ85UU1GwPaIqSyISDALZkfO46IRHLT79Pb0Z5SYU0mA2rO/fVx1C X-QQ-GoodBg: 0 From: Jason Wang To: vishal.l.verma@intel.com Cc: dan.j.williams@intel.com, dave.jiang@intel.com, ira.weiny@intel.com, nvdimm@lists.linux.dev, linux-kernel@vger.kernel.org, Jason Wang Subject: [PATCH] nvdimm/namespace: Fix comment typo Date: Wed, 3 Aug 2022 04:19:18 +0800 Message-Id: <20220802201918.8408-1-wangborong@cdjrlc.com> X-Mailer: git-send-email 2.35.1 Precedence: bulk X-Mailing-List: nvdimm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr6 The double `existing' is duplicated in the comment, remove one. Signed-off-by: Jason Wang --- drivers/nvdimm/namespace_devs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvdimm/namespace_devs.c b/drivers/nvdimm/namespace_devs.c index dfade66bab73..c60ec0b373c5 100644 --- a/drivers/nvdimm/namespace_devs.c +++ b/drivers/nvdimm/namespace_devs.c @@ -385,7 +385,7 @@ static resource_size_t init_dpa_allocation(struct nd_label_id *label_id, * * BLK-space is valid as long as it does not precede a PMEM * allocation in a given region. PMEM-space must be contiguous - * and adjacent to an existing existing allocation (if one + * and adjacent to an existing allocation (if one * exists). If reserving PMEM any space is valid. */ static void space_valid(struct nd_region *nd_region, struct nvdimm_drvdata *ndd,