From nobody Thu Nov 28 18:32:15 2024 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2066.outbound.protection.outlook.com [40.107.117.66]) (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 C0D801547DB; Mon, 30 Sep 2024 07:40:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.117.66 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727682056; cv=fail; b=LjpWlZTRrguwsCbf+S1Cs9686K5gycJzWuO+CYXsCbGT/kgI2DnzErOlSdyFspaShe8Rz5Er+/49LBMgOyMmoQuBYflOA4f3oL6Z+9BNF83e7rmJi14EG33pHp9U0YNWua3lMJJwzp2o0HR+BWnEftJhv1OaxPiodPv2dxm+hyw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727682056; c=relaxed/simple; bh=Lt6ZVTbk1KOUCwLYMtYqmp1ssNT7qtl8qYbCgESs2Y8=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=pL0YuGW5h2TZIKABtAte1OUHYPO/i4dSgFaKdcpEO6lyOuyFiZFVwnD/3pmV6jHxCAWfF8SNuTpUaX/d8AB9iNc95tOrA5NXJUZpXTU41n7I6UAmMbk/evOimo2ujYEwBy/5Ch+0m11ophZW9UOeEaIROC3sheMAgnsd2DH2bXo= 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=jaXB+2L6; arc=fail smtp.client-ip=40.107.117.66 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="jaXB+2L6" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hGCnarDswOr9vb52DtuAY+ooGahRz+gEzZkru9jpNyQtXTjgZmRPdb8A5mw0ZyrHwJHtOsS+ndDxIdVtidsx9BPldkCDlqIPrud27kUbvW3nP5Or52D4Pp2EDJq6tppIDt/fLrtP46FsatRcLbgq/W19y0Q6T+1d7bC2Y4HDk8hoVGY54TaU7AuOxGo3uWp7Oqns86DcRZqLcYAhW8j7YsAVObUZJOtHT/8CmUZtRDOcGkA0ncc8Ocx4BX7mdz2DsySU2vT1SxBA4hD3PIBicnBXyCWaFaLMWxys9O4J9K6aaDfr2lzYUof+pzAP6H+MhQf4DouhN5jqalSHps63Ig== 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=39AUcV72cp8kWbeIedZIHOSqCWIh9m+lzDTuldehsfY=; b=vKFmNQgUv65+a1qwddWOMW3x9LdxeinHNp9rx9zXAGsMB80WzZTOMiIs5hrpbT3Zif7x6ltJ1ZYV3vQDxjrh5fIib88vtBnkJEq2IJVpmsMSFfDV5mAEfqM3LdlSolwjBqw+NOv7WR0Th/a/xAc2iUxgVkJt0/DbSbhOQGFBjfhy8gP+uzU+p8n6WGorKuwCEgc5pQ01rqLaD/84gDA4fXMbs27EsR/x/506bqydpM6qllyOsX4sRndsIDRkxMj2E3Y8Q6/47k44dkQVYl/uOlAHWWX7d0nK+d0uG6RCdSdFzqX/beV2X1UnFD1/3wJrAOcdYCfmlqmI88fCTJOKEA== 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=39AUcV72cp8kWbeIedZIHOSqCWIh9m+lzDTuldehsfY=; b=jaXB+2L6v+6/vPQ5vBsUeNx/bLp2uG2SMYLMyLH45Mdn8WdCRePG83WrD8Q347kK9jw9DFcEu6fnRR/3Y+fQXT8h394wkurCeAqwcDwt2joPJriN4mWd5vZOKO5E+8HquyFhBWz7seXqvybreJ5mxv+4eSnFkzRo4K+e7gHQWzB972uDHAg87T96cQAoBzE1beA6cBpnqD3TBrEeYmzx9rGINbtY66eXwZyBQQ84MlTJ/fucrGjDewDCkEmLN22JAD9GQ0uI8KfPY7kuNMMsJ0rHMuFMK+l8J4KonJgfdYclLA053YKApmeBTb0cOYvg6BQ745w2HvEA/JSn3PYAEA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from KL1PR0601MB4113.apcprd06.prod.outlook.com (2603:1096:820:31::7) by KL1PR06MB6790.apcprd06.prod.outlook.com (2603:1096:820:ff::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.27; Mon, 30 Sep 2024 07:40:46 +0000 Received: from KL1PR0601MB4113.apcprd06.prod.outlook.com ([fe80::7e85:dad0:3f7:78a1]) by KL1PR0601MB4113.apcprd06.prod.outlook.com ([fe80::7e85:dad0:3f7:78a1%4]) with mapi id 15.20.8005.024; Mon, 30 Sep 2024 07:40:46 +0000 From: Yan Zhen To: bp@alien8.de, tony.luck@intel.com Cc: james.morse@arm.com, mchehab@kernel.org, rric@kernel.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, opensource.kernel@vivo.com, Yan Zhen Subject: [PATCH v1] EDAC: Fix typos in the comments Date: Mon, 30 Sep 2024 15:40:23 +0800 Message-Id: <20240930074023.618110-1-yanzhen@vivo.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SI2PR02CA0025.apcprd02.prod.outlook.com (2603:1096:4:195::21) To KL1PR0601MB4113.apcprd06.prod.outlook.com (2603:1096:820:31::7) 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: KL1PR0601MB4113:EE_|KL1PR06MB6790:EE_ X-MS-Office365-Filtering-Correlation-Id: 905cd669-33c5-47b9-1f48-08dce12331b5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?N8V3o71Oq/14bkIzGU8g4YnfeyWC3RjhbIw4nD1qLGsFYLfQyPMrzRzVuxP5?= =?us-ascii?Q?kX4sRfKS/s4tlBuE0naqbzyNCn9uUmbCzMk91Pjh/fHG2V0U/CZP4dOfxxIF?= =?us-ascii?Q?lGI+w85VUHM4o11JeabkZnFpwKb0NEfmtxl+F25toBtVL35SHshSMn9QYLYL?= =?us-ascii?Q?GcKy/FTVhr+S0hUT/5O//4V3Z48zJkIq9q6rAiS4pBbzR1BWtz/EWbU5Bnud?= =?us-ascii?Q?kUOxM8ZnLbh8mY6npmChB5j+ypxRX39xAfpu2THmgPQ0p11tiJb1LaseMiWj?= =?us-ascii?Q?X3a5xKHmpZDRPAy6vOapAlX21QDKt3Dw3pALEyBCs8pfWLCz4HEAFsTKtw0N?= =?us-ascii?Q?DqcPy6hs7Wz0xPp01Z/8SvmF+tLhhdiRThMqLMEhKINZXa4tKWRreoyCn7Bk?= =?us-ascii?Q?2vdLGs310cJN4jovzzhRPSP+OpPkg3vFVP4UUooSzKwM+0arL5R+ahIu56pW?= =?us-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Ymh6WMp1sJ74mPTkFg=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:KL1PR0601MB4113.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?eA3xqMWjwxEAfvt4EPwsrXBNKFM9LS/WKHOl63yeOlO5gBZ0MOP4a0gSBpba?= =?us-ascii?Q?Z7PdOLvxznKQxsEOaDNK8g0MJyQtzxQgybIprgsPDkEb4VGZQws9ovoTJOqM?= =?us-ascii?Q?p9q6ul+uXIgAF3/0USvz92eGYOhglhDkHUTHpbJy+SQlm949pBckteUNrRbo?= =?us-ascii?Q?fmSgJYtEHOiML8D4lTsuMasUszbkIPoJwmgyOs3T0krGktgj5ahRF7cBYOzr?= =?us-ascii?Q?QxP/V771ma+RAYHkPXl1gR5rEmax3efawHX1kGagTK/IAXyl3YFUXRbs5c05?= =?us-ascii?Q?KmWN3aZCB2vp6cnj3ntXOvCM4bGtEwdtxvsk3dU4LY8RgpHn0onyGqdHD/am?= =?us-ascii?Q?VOe6ptsavYZpiQa8RqeZPNB5kHfNlRFfIRs9rTzO7yIXSPkZYUQlPWRGPHeW?= =?us-ascii?Q?T+3A6bY+JsFZuuNCb2lt+TQqvtfqVSxfAoS31csdTuEcg33SL9looRE6WVkN?= =?us-ascii?Q?xEtcKzcA02tOyuWqKEpuwk58B0B+YGgYpjA1zUwP/bq3efVHJnyA+FHsphKv?= =?us-ascii?Q?OqIGMjt+o40hkXPeyKQ5T4sKvNLcIhBf4pP6trey64EywywIrwl1cym0vvOv?= =?us-ascii?Q?/hssml2Ekt9HeeCMmj4TXcg4cihYT0dbVW3JBOd8mpIy2i2NA9q8psz4so1/?= =?us-ascii?Q?XSVceApR6rEgaA8c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yUh/ySld?= =?us-ascii?Q?Srlz+PTnTY1BVs6TM+SWuaSIalOPM2K4/ZhqP/IE?= X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 905cd669-33c5-47b9-1f48-08dce12331b5 X-MS-Exchange-CrossTenant-AuthSource: KL1PR0601MB4113.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 07:40:46.0681 (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: pyDvSalWe7wtByJYpMBjUXVp03bE31x3qAS+SJjDcWHciv0vk8WqHDZeSZ6W9yajCp8gvsWQSgL8LZ/obq0RDg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR06MB6790 Content-Type: text/plain; charset="utf-8" Correctly spelled comments make it easier for the reader to understand the code. Fix typos: 'Alocate' =3D=3D> 'Allocate', 'specifed' =3D=3D> 'specified', 'Technlogy' =3D=3D> 'Technology', 'Brnach' =3D=3D> 'Branch', 'branchs' =3D=3D> 'branches'. Signed-off-by: Yan Zhen --- drivers/edac/edac_mc.c | 2 +- drivers/edac/edac_mc_sysfs.c | 6 +++--- drivers/edac/i5000_edac.c | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index d6eed727b0cd..0959320fe51c 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c @@ -214,7 +214,7 @@ static int edac_mc_alloc_csrows(struct mem_ctl_info *mc= i) unsigned int row, chn; =20 /* - * Alocate and fill the csrow/channels structs + * Allocate and fill the csrow/channels structs */ mci->csrows =3D kcalloc(tot_csrows, sizeof(*mci->csrows), GFP_KERNEL); if (!mci->csrows) diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/edac_mc_sysfs.c index 4200aec04831..0f338adf7d93 100644 --- a/drivers/edac/edac_mc_sysfs.c +++ b/drivers/edac/edac_mc_sysfs.c @@ -422,7 +422,7 @@ static inline int nr_pages_per_csrow(struct csrow_info = *csrow) return nr_pages; } =20 -/* Create a CSROW object under specifed edac_mc_device */ +/* Create a CSROW object under specified edac_mc_device */ static int edac_create_csrow_object(struct mem_ctl_info *mci, struct csrow_info *csrow, int index) { @@ -449,7 +449,7 @@ static int edac_create_csrow_object(struct mem_ctl_info= *mci, return 0; } =20 -/* Create a CSROW object under specifed edac_mc_device */ +/* Create a CSROW object under specified edac_mc_device */ static int edac_create_csrow_objects(struct mem_ctl_info *mci) { int err, i; @@ -636,7 +636,7 @@ static void dimm_release(struct device *dev) */ } =20 -/* Create a DIMM object under specifed memory controller device */ +/* Create a DIMM object under specified memory controller device */ static int edac_create_dimm_object(struct mem_ctl_info *mci, struct dimm_info *dimm) { diff --git a/drivers/edac/i5000_edac.c b/drivers/edac/i5000_edac.c index 4b5a71f8739d..4a1bebc1ff14 100644 --- a/drivers/edac/i5000_edac.c +++ b/drivers/edac/i5000_edac.c @@ -338,11 +338,11 @@ struct i5000_pvt { =20 u16 mir0, mir1, mir2; =20 - u16 b0_mtr[NUM_MTRS]; /* Memory Technlogy Reg */ + u16 b0_mtr[NUM_MTRS]; /* Memory Technology Reg */ u16 b0_ambpresent0; /* Branch 0, Channel 0 */ - u16 b0_ambpresent1; /* Brnach 0, Channel 1 */ + u16 b0_ambpresent1; /* Branch 0, Channel 1 */ =20 - u16 b1_mtr[NUM_MTRS]; /* Memory Technlogy Reg */ + u16 b1_mtr[NUM_MTRS]; /* Memory Technology Reg */ u16 b1_ambpresent0; /* Branch 1, Channel 8 */ u16 b1_ambpresent1; /* Branch 1, Channel 1 */ =20 @@ -1210,7 +1210,7 @@ static void i5000_get_mc_regs(struct mem_ctl_info *mc= i) &pvt->b0_ambpresent1); edac_dbg(2, "\t\tAMB-Branch 0-present1 0x%x:\n", pvt->b0_ambpresent1); =20 - /* Only if we have 2 branchs (4 channels) */ + /* Only if we have 2 branches (4 channels) */ if (pvt->maxch < CHANNELS_PER_BRANCH) { pvt->b1_ambpresent0 =3D 0; pvt->b1_ambpresent1 =3D 0; --=20 2.34.1