From nobody Fri Nov 29 08:40:41 2024 Received: from HK2PR02CU002.outbound.protection.outlook.com (mail-eastasiaazon11010043.outbound.protection.outlook.com [52.101.128.43]) (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 35A932940B for ; Mon, 23 Sep 2024 06:57:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.128.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727074627; cv=fail; b=nbnKWC77PjEgqi3bW0jiUG2ug1HWjutXRGkDrc7uERgeJL0q3ecfAJXfwYuh+3/+7pSidWxSK2Hn5CZ/7N355p6Ejr3Kvo+XVJm9M4lb7wn/F6dLkrYwScZkxfT2LhpBWXpHjOXc1R8QLFEKJmc5wNpvwSYjpjIm+T5p2t64Qgc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727074627; c=relaxed/simple; bh=MeATTAVhg4wVuvGLQRuKnecxse+FBeyl8RCJeKYrzcw=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=XioRHWPM4Et/C1B82rCzwoGlNm5IYQGuxQ50/ZNhW0KPUHY9O/fttaB6KV6Kz0FN6sqVCmj2PQkz0VXqMjAGoSkjRZsQQM1SqbBOWwqhFShwMnFlUwdPaSjXZt33ukJOLlEKHwJ48XgxJlSHD1QxqngIae0P4ZjRMBkrtPB/EsU= 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=qlQmfAwl; arc=fail smtp.client-ip=52.101.128.43 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="qlQmfAwl" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wI9ievtVsK9GlxWRn7FdvkPqGcl4bsr9shFqwWY1BowDzkEsToBNSxP8OklqFgcS76OeJMM1BA85xS1bq17qjVrocf+hmq98rdE4B6N0lnjI4Aub4Kn1AX+lued3ERrwvo4/mgWkvCA40aoZFCNlrl5kyrkTWhNiKjwjP2jIDcf58lqeuihJXDI6jXIUu4H99PexZ1yMfCmgNBxJQZxeb13VtBnj8f/m3azWACuBrU986DsP6WRxWUvI/WD8vMeF2qhSV+H61K/I2RdUf2fydwrK3e1gDZ1kic0/Cbz/UNZzghXvmiFvkdQXve70WBxVgPt5YwgBU/lQYExi9HOUDw== 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=oGCE+44M5NNe0hhADGpmahDg58tK4OVGYBbZBP6wR9o=; b=Wwz1hXyCNmcgBAKXG8bEHH8T0eHOSWdrY1Tx+hh+JgSfU2MifNz+99YYJ3VsCttuHfPXdj3y2TeQWQX0uoprIG+eLfjDlQJFPjXQ6h+nQJ9x4+QOv7Wohm3hZG4aEqNGu8IuZ+zFQxkgbQG3ySZstSqOcJwvcq+E0wqCbz07lSweYwNWLI8OqWpgzASFpVLX3FwX2wllhK2Pg3RlKWqOVXPLA5kcb68+QLuoPtOUF8RPX7Jr+DDXUSRKxZe/Ry2MlpHryzoN9C1JfotOZAWt2hlpT0C3ZRgRNyrpbqaPA/ltEx5HPV3smRicwLte0cNnc1BgV+G3PP4k6E72ChUWag== 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=oGCE+44M5NNe0hhADGpmahDg58tK4OVGYBbZBP6wR9o=; b=qlQmfAwlcVzrKm8lkKS2Bz9Fdz0rmwto8dBlV0MROHx6jUkZ5/rYFJUai9b+fbO2agYRQJvoLe0+5ke5KhKr3DNxxImPiA2+GTcpPvazIOy2rQEjGhw4ID6Giaqig0lU68tNVvvTyM/fCu645YknozZfDsk+Stht19DDspm/1cE/dWpjpC5OQH1Uley2vYgMgb37oHLEM/LSDW6nL2DbnjI0Di8Ce0Jnk7ZVtIEnh6tVukvl5GN9AQQ8BW6saB2r+tAKMLoNrdee3S+gSPJ/+7sHrAylvI2BLmZwTUHAXsDmZqZUGWdpxWASWpsO1L4LvGZ1Wqj47QJ/2vd+WxzFGQ== 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 TYZPR06MB6725.apcprd06.prod.outlook.com (2603:1096:400:45a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.25; Mon, 23 Sep 2024 06:57:01 +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; Mon, 23 Sep 2024 06:57:00 +0000 From: Shen Lichuan To: computersforpeace@gmail.com, kamal.dasu@broadcom.com, miquel.raynal@bootlin.com, vigneshr@ti.com, maximlevitsky@gmail.com Cc: bcm-kernel-feedback-list@broadcom.com, richard@nod.at, michal.simek@amd.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, opensource.kernel@vivo.com, Shen Lichuan Subject: [PATCH v1] mtd: rawnand: Correct multiple typos in comments Date: Mon, 23 Sep 2024 14:56:49 +0800 Message-Id: <20240923065649.11966-1-shenlichuan@vivo.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: TYCP286CA0196.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:385::7) 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_|TYZPR06MB6725:EE_ X-MS-Office365-Filtering-Correlation-Id: ebcc5137-be9d-40d1-af3f-08dcdb9cec2e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|7416014|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?fPEzFwGIv1JZhjAtJMJeOUBQ3ZguaklpvR2SQsP+QT9nEt0euQl0ZuHzgGiP?= =?us-ascii?Q?sNNODPeZ98xK0RTgUpTnfQe4y28Gr6s2GidAI8tIA0DUMTOOfoKnUER6Ua1e?= =?us-ascii?Q?OAg0poFCDM3wwa1DPrYDmgy+TnbGNjO8kL9dlhp8kuc7e2e67d6qjdOcj3n1?= =?us-ascii?Q?xbNq6hEcERDTaUd/IsoVMf6RSvm8l0+GftJ9mgA9h8+CUqwzVkAQ0gk+LJzV?= =?us-ascii?Q?uNyjfSloqnoOtOlylnxzr8nWHmYIjksRaOB8aqmcsxaCEr4WiiikwN8KXL4V?= =?us-ascii?Q?LPtIj+TEZD5es0fL9tIIXz/wWm/JwHv6fApy+7dgy4ub8I8bEhqOcmQUbiSL?= =?us-ascii?Q?WrBQkWQneGdoXSBi2FqIc7nUbiyPK6Th0xSZAggRrj/S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+Y2tc637MTK7rQVMBqwYfInjDyFj+reBqCnUOR923Qwad0G8?= =?us-ascii?Q?AiQQN+zXFLw6EbEYcoJ8NxVQpphFa6F3Hma4pLNoLDokAQ=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)(1800799024)(52116014)(7416014)(376014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?z6v6tqTIU69HvwyG27bGtnq3FzNP3CsDA4Mdv0M693daTpX/iEnxwEwdLIDL?= =?us-ascii?Q?m5h27KF3/arvEwUBaAc/L5mTaIeLfw/0NuERqZi7t7GB5uM29uciZZCvyEsA?= =?us-ascii?Q?BY0fRsmSXa//VzQXdYGMz9IqcykMwyJQ7DGTYL6VcwPLCqPvepRpvDkOWaQ9?= =?us-ascii?Q?+sBylw24W+bkuWQVejTpwSHXI8aHJprOFliYTjE7Gi8PUSabZltxQmPMDDvd?= =?us-ascii?Q?ri/CsqkaznLXNaWw3ZjG4RSYEKkg2hwL1qYj3tV6gJSwXpz5DDeTIiBdTyaV?= =?us-ascii?Q?R/Ykdc4As2HofuJYhEfy+DheDu5viJAkJBn3AoibHxT7c4r+hXPd6X2Sn9OA?= =?us-ascii?Q?K8dOZ/lenfXRU1PGAlW6Gp2gw296vKmAwK0RxYsLXf5Iv7mJHxlVYIsmpcCz?= =?us-ascii?Q?yxNhAW8+Ar1ZBVOhH+HfAlgeFkAJqLzmm4CGu8sMkn2WltgYA4rTkyGOGGLP?= =?us-ascii?Q?GaIclIi92L0QxnTlZzsq409yBu5ueg2dZ2UXqhwu40BoA/8ULhLGl1EPmk1V?= =?us-ascii?Q?kHicBaBEXyvEPqNTMvfdDpfUDXAu38W34MpM+c+umosGVxLGW6WOD06U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tNsiTCYtRz5XUXtbt5edoWaQdizCxRNqKErGnXEssdUCtauV7Jqm9YB?= =?us-ascii?Q?ciXGd53ms39i9RI1yJN0EH+ILrtTCuKlfu1BdjSwmD/eYXoqf4q2RnC7wxvi?= =?us-ascii?Q?v3H2/iALnjrER2lHlXNM7vkvwukJVB8RRMKRfV8W?= X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: ebcc5137-be9d-40d1-af3f-08dcdb9cec2e X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5899.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Sep 2024 06:57:00.6993 (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: uC7zVZAo9vQWYkoc7YhnWQ3jKJJZzVoaHKJ+XGRcrTBrVGCIWPXuQ7uF9WfZ7LMu87QA9dpcZhsJxi5mmMPevg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB6725 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fixed some confusing spelling errors, the details are as follows: -in the code comments: remaing -> remaining alingment -> alignment capabilitiies -> capabilities operatoin -> operation decriptors -> descriptors stareted -> started Unfortunelly -> Unfortunately compatabable -> compatible depenent -> dependent Signed-off-by: Shen Lichuan --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 2 +- drivers/mtd/nand/raw/cadence-nand-controller.c | 2 +- drivers/mtd/nand/raw/cs553x_nand.c | 2 +- drivers/mtd/nand/raw/nand_macronix.c | 2 +- drivers/mtd/nand/raw/pl35x-nand-controller.c | 2 +- drivers/mtd/nand/raw/r852.c | 4 ++-- drivers/mtd/nand/raw/sm_common.c | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c b/drivers/mtd/nand/ra= w/brcmnand/brcmnand.c index 1b2ec0fec60c..9c253a511e45 100644 --- a/drivers/mtd/nand/raw/brcmnand/brcmnand.c +++ b/drivers/mtd/nand/raw/brcmnand/brcmnand.c @@ -1561,7 +1561,7 @@ static int write_oob_to_regs(struct brcmnand_controll= er *ctrl, int i, (oob[j + 2] << 8) | (oob[j + 3] << 0)); =20 - /* handle the remaing bytes */ + /* handle the remaining bytes */ while (j < tbytes) plast[k++] =3D oob[j++]; =20 diff --git a/drivers/mtd/nand/raw/cadence-nand-controller.c b/drivers/mtd/n= and/raw/cadence-nand-controller.c index 3bc89b356963..5e87ba66ea03 100644 --- a/drivers/mtd/nand/raw/cadence-nand-controller.c +++ b/drivers/mtd/nand/raw/cadence-nand-controller.c @@ -1891,7 +1891,7 @@ static int cadence_nand_read_buf(struct cdns_nand_ctr= l *cdns_ctrl, =20 int len_in_words =3D (data_dma_width =3D=3D 4) ? len >> 2 : len >> 3; =20 - /* read alingment data */ + /* read alignment data */ if (data_dma_width =3D=3D 4) ioread32_rep(cdns_ctrl->io.virt, buf, len_in_words); #ifdef CONFIG_64BIT diff --git a/drivers/mtd/nand/raw/cs553x_nand.c b/drivers/mtd/nand/raw/cs55= 3x_nand.c index f0a15717cf05..341318024a19 100644 --- a/drivers/mtd/nand/raw/cs553x_nand.c +++ b/drivers/mtd/nand/raw/cs553x_nand.c @@ -26,7 +26,7 @@ =20 #define NR_CS553X_CONTROLLERS 4 =20 -#define MSR_DIVIL_GLD_CAP 0x51400000 /* DIVIL capabilitiies */ +#define MSR_DIVIL_GLD_CAP 0x51400000 /* DIVIL capabilities */ #define CAP_CS5535 0x2df000ULL #define CAP_CS5536 0x5df500ULL =20 diff --git a/drivers/mtd/nand/raw/nand_macronix.c b/drivers/mtd/nand/raw/na= nd_macronix.c index e229de32ff50..03237310852c 100644 --- a/drivers/mtd/nand/raw/nand_macronix.c +++ b/drivers/mtd/nand/raw/nand_macronix.c @@ -113,7 +113,7 @@ static void macronix_nand_onfi_init(struct nand_chip *c= hip) rand_otp =3D of_property_read_bool(dn, "mxic,enable-randomizer-otp"); =20 mxic =3D (struct nand_onfi_vendor_macronix *)p->onfi->vendor; - /* Subpage write is prohibited in randomizer operatoin */ + /* Subpage write is prohibited in randomizer operation */ if (rand_otp && chip->options & NAND_NO_SUBPAGE_WRITE && mxic->reliability_func & MACRONIX_RANDOMIZER_BIT) { if (p->supports_set_get_features) { diff --git a/drivers/mtd/nand/raw/pl35x-nand-controller.c b/drivers/mtd/nan= d/raw/pl35x-nand-controller.c index 2570fd0beea0..a4c192061528 100644 --- a/drivers/mtd/nand/raw/pl35x-nand-controller.c +++ b/drivers/mtd/nand/raw/pl35x-nand-controller.c @@ -187,7 +187,7 @@ static const struct mtd_ooblayout_ops pl35x_ecc_ooblayo= ut16_ops =3D { .free =3D pl35x_ecc_ooblayout16_free, }; =20 -/* Generic flash bbt decriptors */ +/* Generic flash bbt descriptors */ static u8 bbt_pattern[] =3D { 'B', 'b', 't', '0' }; static u8 mirror_pattern[] =3D { '1', 't', 'b', 'B' }; =20 diff --git a/drivers/mtd/nand/raw/r852.c b/drivers/mtd/nand/raw/r852.c index ed0cf732d20e..b07c2f8b4035 100644 --- a/drivers/mtd/nand/raw/r852.c +++ b/drivers/mtd/nand/raw/r852.c @@ -335,7 +335,7 @@ static void r852_cmdctl(struct nand_chip *chip, int dat= , unsigned int ctrl) else dev->ctlreg &=3D ~R852_CTL_WRITE; =20 - /* when write is stareted, enable write access */ + /* when write is started, enable write access */ if (dat =3D=3D NAND_CMD_ERASE1) dev->ctlreg |=3D R852_CTL_WRITE; =20 @@ -372,7 +372,7 @@ static int r852_wait(struct nand_chip *chip) =20 nand_status_op(chip, &status); =20 - /* Unfortunelly, no way to send detailed error status... */ + /* Unfortunately, no way to send detailed error status... */ if (dev->dma_error) { status |=3D NAND_STATUS_FAIL; dev->dma_error =3D 0; diff --git a/drivers/mtd/nand/raw/sm_common.c b/drivers/mtd/nand/raw/sm_com= mon.c index 24f52a30fb13..e238784c8c3e 100644 --- a/drivers/mtd/nand/raw/sm_common.c +++ b/drivers/mtd/nand/raw/sm_common.c @@ -52,8 +52,8 @@ static const struct mtd_ooblayout_ops oob_sm_ops =3D { .free =3D oob_sm_ooblayout_free, }; =20 -/* NOTE: This layout is not compatabable with SmartMedia, */ -/* because the 256 byte devices have page depenent oob layout */ +/* NOTE: This layout is not compatible with SmartMedia, */ +/* because the 256 byte devices have page dependent oob layout */ /* However it does preserve the bad block markers */ /* If you use smftl, it will bypass this and work correctly */ /* If you not, then you break SmartMedia compliance anyway */ --=20 2.17.1