From nobody Fri Nov 29 00:58:36 2024 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2060.outbound.protection.outlook.com [40.107.255.60]) (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 CF3221422D4 for ; Thu, 26 Sep 2024 07:57:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.255.60 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727337436; cv=fail; b=MQ1a/j/MzOCtogLAx92EYYCJ4oabHgwzaER7kqdt5OnTJk1NctoSlJXpnS93Z+dhOv/MhDpYbjXdkfUO81m5zkKya2nyaXRjS7oI5XtM/p2B+aTVPBTZvPQCon0hBvAfURpyLxVK8QqHYPPHgm7/SzIOoM0ca5nfC5jVMZX21ZY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727337436; c=relaxed/simple; bh=CNaOkb3vJQElLFni7E2dIixaAHK8DdeMCkmeqNwM2og=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=r1jKueE43/wcMZHyw1OGrnnGmSOmh0J5OLBusGV3mpZlT9+KLb4M7Gkbo60mvMJ02PMUG7dC1ol+VOJseh2MJw9RQl0zwmr1QJ6ALq/idiCU0hwkh5ifPGfVUWytTMsE1AABfLWXUtDURF1WKJvbRkME8gQxryxl/THc1oo2GQs= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com; spf=pass smtp.mailfrom=vivo.com; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b=UMZxMpdV; arc=fail smtp.client-ip=40.107.255.60 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=vivo.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b="UMZxMpdV" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Xi9EBJpjNkFNH7n8qoxKhZLaQsMoXQVrCrOTQyBVWujIVYAslu+Qa8RSeajffnav5BRtLvIANnmersqF8ylRAg+tuT45PWknqJSNtu7k0lDEdOM34X+p+0ulwSDlykU78RDe6s1H8fs7jH5pHAYhVL73fYMz6WX5A16wlEHL1Q33o9wPb/RY+NXjzWTDE1qzdzUQG/IG8MXe+CUZjCkHPgdo5MzPQ76Ln5f1ajxCfUaUd7lHHfQFrjGgB68X+BC1Zsr5UZbtqMIgyFy2LNWUSRSK8/yAt9wVE1uK4+tY1bA+6fIRNcQmbvU8WrlAbF7ooR9suH+5xga2PYNVk+JdRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AFSi/6MPl6CjRQBCJt74jpCnidNEs5yyMkUpCOLWOKM=; b=u4qIg9d+c4vFK/mQR6mHDs0ZZ7F0mm8Ki0QSDmkkcJDim35/L59ChCHhGqEql7fMWA++388KWizB97GlbHRrF6iA1BkvG04OKq+0esX5xm1fqEerWg4ERJFcT7S5LeNufqHn9Hqlg19GYiWCKZDWbnvUpiC5F9cPu2ZECFuTCtDmARXmKGuDbuMOivC5L2plHfcsx7388zgKvg0LGIxPny5lhGFkBeOKp7FTD8wzWpglY0d7C7IUlAEGGQndTLOVri5d8kYfKd2kK3Poy0AOS/jlWpvLOgAm+MUcITAmCFHDdjKAWcQtSBocKTLmPEiv8mCg/q8InGHyJm0lVUtxcA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AFSi/6MPl6CjRQBCJt74jpCnidNEs5yyMkUpCOLWOKM=; b=UMZxMpdVQylzqICTEMxGf7Eeefm2lFpRedn/+XUcfvbf/5dvImIVx0Q9oQ7tWShXTcDIMDkk9gJE6az0MK2XgdNiC3m1FBIlNODKGuvY5Nqbn83IVVa4sbbchVmZF38rD2rtOoPSikU6g32MkuFLDqL26Grmy9nWUQ/E/SkVCkb/pc1akCa8K06sG/jU5HwqSZWUvYHQ0Gh2jOTTGCMB7N3B7hGDR6wjLzVXQORHpxn3WFmfGizZQ2WWUnL0AmIL2UIVu4i6LEcJanWl5RWI7lujzlLMIdVO8feH8pN4A+2bv7ipGNSYhSG5m9BHLM2JlQAXY/TbitVkgWwNJRJg4g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5899.apcprd06.prod.outlook.com (2603:1096:101:e3::16) by SEYPR06MB6484.apcprd06.prod.outlook.com (2603:1096:101:171::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.25; Thu, 26 Sep 2024 07:57:11 +0000 Received: from SEZPR06MB5899.apcprd06.prod.outlook.com ([fe80::8bfc:f1ee:8923:77ce]) by SEZPR06MB5899.apcprd06.prod.outlook.com ([fe80::8bfc:f1ee:8923:77ce%3]) with mapi id 15.20.7982.022; Thu, 26 Sep 2024 07:57:11 +0000 From: Shen Lichuan To: dan.j.williams@intel.com, vishal.l.verma@intel.com, dave.jiang@intel.com, ira.weiny@intel.com, pankaj.gupta.linux@gmail.com Cc: nvdimm@lists.linux.dev, virtualization@lists.linux.dev, linux-kernel@vger.kernel.org, opensource.kernel@vivo.com, Shen Lichuan Subject: [PATCH v1] nvdimm: Correct some typos in comments Date: Thu, 26 Sep 2024 15:57:00 +0800 Message-Id: <20240926075700.10122-1-shenlichuan@vivo.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SI2PR01CA0015.apcprd01.prod.exchangelabs.com (2603:1096:4:191::15) To SEZPR06MB5899.apcprd06.prod.outlook.com (2603:1096:101:e3::16) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5899:EE_|SEYPR06MB6484:EE_ X-MS-Office365-Filtering-Correlation-Id: f03e54c9-0571-4f9f-be11-08dcde00d3dd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|52116014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?vk+PYtKrejafvLAsOMs39Q+v+OYTDD6qFtTQGo9UCE1krbvWJELAFnMLCcUE?= =?us-ascii?Q?y0Gqrh4hsfr5kT52WxUbAV9fVRG4vwjMy6VT53Yd/lrXOMJktIQXZE1+5JM5?= =?us-ascii?Q?yC1Gyq8Y3QRYyd8wrKgTa8QBSBfDEdQlXaCEpEWQ6DbHh0XlQqpIqPXLGfsR?= =?us-ascii?Q?dXcqlgwhj6Bo/GqF7pY/GweXshYicBwNk65xPuE70gmuH86e9ckGI24hO7KK?= =?us-ascii?Q?Cc+0Mkyc3N3+CVMSW55gGYXjpmuAaByWBPBwh8e4FydJkdMePcOF352fr3Eb?= =?us-ascii?Q?S4/j/5+p8G6I6wSebJhcng5XlKpDJzoGwcnzcbxDHxzemeOK/9DIrbLjq6I7?= =?us-ascii?Q?o/3PH27sT8YaQqMtv0LyyhesLlp8kV26Y4H/NC3T/iDE9t/USUiyT4PvuvKg?= =?us-ascii?Q?eeHSULdmoGpjrCuf2WMfj4PQzswiUi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?= =?us-ascii?Q?Wdzdg+wG1Nq2ErLXiY00T4N0yWZLFiufUEwSFIRFCvVrRKXm6bGmuumDXv/e?= =?us-ascii?Q?7uDCYfR5q5rtvv/keuT4ndyGWrJEfpoW0xUBzpWK/eVTzXdu4Q=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5899.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(52116014)(376014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?D+CcQ+VIz8iQy7yW5VJMQQHIH4pyMYuCiiaElz8GDLFaJfTl/wTKOWFuLMW0?= =?us-ascii?Q?WSTsj4+CnoYh+W/lShGqIFDOVMJftzj1EoiKUS3qd41VpsTqSkKTj2zDWiht?= =?us-ascii?Q?5F1H8OXoYOq1D9+psV7JlRIpSWK6eXec9SlFRcBsAPuw+i4A3fMQKtRvmKz8?= =?us-ascii?Q?fki+JpIc42IcSL0ksA4Ec1pAQBqrvRGKflqvM1JeO+KM7UbdV28Ky8fE/ISM?= =?us-ascii?Q?IpDe+0nOdwAZEXQqIGK9vPQCqSfp+JZ/eDs5EkcywB0V1HeXfUQ77hfwfPie?= =?us-ascii?Q?BVcHKhrjLhy969gnCVg1qOqxafSt82yrDgkxnvizPJaRIijcvTOl4QymqSP4?= =?us-ascii?Q?mZDWpzL5T/UZTngRZkE7LjcL1r0aWFx6oft5zw39C8qf8a9gFfuSMKIVEIvt?= =?us-ascii?Q?OERES0J1T9SNlYsrLqm5s62dDeNglt3r3tuUpM64ELnqvrQ6Vdirzc377KGb?= =?us-ascii?Q?gXO3qBhMmh0U8hEUt2xMNGWGFsgWNqjd0z2Cmepr06WKo/DyHbT4HLs1czTw?= =?us-ascii?Q?aGVI8XfY5xa1rY8Md/Hgqv0mFg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FFpL?= =?us-ascii?Q?NGjxrEnYZAT5kUUgT/EaqydPpJfVSzhdnaVu/onpmh2gNaDoYnKDu3GH34as?= =?us-ascii?Q?Lc8FqZHUhwpKLaXHHMipSmcUYyHEY3eNiBY9ixgymG7LQMVOzh4hCO7SnKWw?= =?us-ascii?Q?1ik1J+AmHrmiO+JA+OJGyjR5K0iK68v+KOgo+bU4?= X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: f03e54c9-0571-4f9f-be11-08dcde00d3dd X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5899.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2024 07:57:11.7757 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: dBwwfuvIKgqjONaZuXzWkCy7se2nGPiVWeizONHXWWm1c23ZJN8wFku1gvItQBOfGx6phK6fL7ijJ9W77KRzDA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6484 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fixed some confusing typos that were currently identified with codespell, the details are as follows: -in the code comments: drivers/nvdimm/nd_virtio.c:100: repsonse =3D=3D> response drivers/nvdimm/pfn_devs.c:542: namepace =3D=3D> namespace drivers/nvdimm/pmem.c:319: reenable =3D=3D> re-enable Signed-off-by: Shen Lichuan Reviewed-by: Dave Jiang Reviewed-by: Pankaj Gupta --- drivers/nvdimm/nd_virtio.c | 2 +- drivers/nvdimm/pfn_devs.c | 2 +- drivers/nvdimm/pmem.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/nvdimm/nd_virtio.c b/drivers/nvdimm/nd_virtio.c index f55d60922b87..c3f07be4aa22 100644 --- a/drivers/nvdimm/nd_virtio.c +++ b/drivers/nvdimm/nd_virtio.c @@ -97,7 +97,7 @@ static int virtio_pmem_flush(struct nd_region *nd_region) dev_info(&vdev->dev, "failed to send command to virtio pmem device\n"); err =3D -EIO; } else { - /* A host repsonse results in "host_ack" getting called */ + /* A host response results in "host_ack" getting called */ wait_event(req_data->host_acked, req_data->done); err =3D le32_to_cpu(req_data->resp.ret); } diff --git a/drivers/nvdimm/pfn_devs.c b/drivers/nvdimm/pfn_devs.c index 586348125b61..cfdfe0eaa512 100644 --- a/drivers/nvdimm/pfn_devs.c +++ b/drivers/nvdimm/pfn_devs.c @@ -539,7 +539,7 @@ int nd_pfn_validate(struct nd_pfn *nd_pfn, const char *= sig) =20 if (!nd_pfn->uuid) { /* - * When probing a namepace via nd_pfn_probe() the uuid + * When probing a namespace via nd_pfn_probe() the uuid * is NULL (see: nd_pfn_devinit()) we init settings from * pfn_sb */ diff --git a/drivers/nvdimm/pmem.c b/drivers/nvdimm/pmem.c index 210fb77f51ba..d81faa9d89c9 100644 --- a/drivers/nvdimm/pmem.c +++ b/drivers/nvdimm/pmem.c @@ -316,7 +316,7 @@ static long pmem_dax_direct_access(struct dax_device *d= ax_dev, * range, filesystem turns the normal pwrite to a dax_recovery_write. * * The recovery write consists of clearing media poison, clearing page - * HWPoison bit, reenable page-wide read-write permission, flush the + * HWPoison bit, re-enable page-wide read-write permission, flush the * caches and finally write. A competing pread thread will be held * off during the recovery process since data read back might not be * valid, and this is achieved by clearing the badblock records after --=20 2.17.1