From patchwork Mon Sep 23 08:33:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shen Lichuan X-Patchwork-Id: 1988438 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=TtOz8lN8; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=vivo.com header.i=@vivo.com header.a=rsa-sha256 header.s=selector2 header.b=YKZ2jG0Z; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XBx9Z449Tz1xsg for ; Mon, 23 Sep 2024 18:34:08 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=hDeaHZU6MFyXzwIXlXclwujsJ+rQ3lQcTAc3LJSrOxg=; b=TtOz8lN8tLoMQP qiOe+xv+oR6dA5o8cdRe6uNKrzDk6vCVsh1a4S9UDpf4lEhVdB6ZqyuHctkbZN4T38HqY9ecXMkzL z/v9rf5M33Am16zEN8l/dqQYye0QGiToTj2URZi8lDj4/ho6/OcaWZbWO0zHknFO4xzqsyzazLGNz aUQl7y0j0Izo6uSV/hDMBq0i94bEHAO7KfjMQF6YZdWXOi0XGLqVnq13WSfGN8kMKFr+4L4sc09mo f7+PJFiI4WHFnWQS1d1luHQnRJrCongsR1XoQQcGM6HovPe9r/wmb/FCp/Cw1DDdzYwT9M8+JSzCK TEdgTQypLAo2AVos5peA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sseVx-0000000Gg9F-0ohL; Mon, 23 Sep 2024 08:33:49 +0000 Received: from mail-eastasiaazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c400::] helo=HK2PR02CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sseVt-0000000Gg80-2pSU for linux-mtd@lists.infradead.org; Mon, 23 Sep 2024 08:33:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qkh3QqQMtmY2vG0r4666jEH50C2uy/aIUOs39JOeU7kJEz338NpFyDb7nye1OnBV+WCeahIAdMsvzC7oD9nW4NQa/GQtZ5DskTTXHuxypyboxIXnaGPgnZp/YgNg8Iz4XVpi7GhSgUw0C3OX4fAJbOQpIKnnY7YPwF4VAS8ORQo+hoXfkFY57VqhPSXMUrB6kbMIgPs9stTxzw0kVThfXbWp5Zgp6213JyZpLIgeAEngXLMC8+Dqf5Bvv3uXpq3Vfl3iCtnv2/dwDODKKh02/3h6cuH9sbB7M0TEhdK7moQ8uAP4IUXeQFSbcfFlso04iWHv1CrT2lLG7MtXvimoKg== 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=bfTttx0oHkrSfZLf5eXWFq8XONAiSv2viBcMv5w5Un0=; b=tKwUScloswuKHf69pMDFb1yP6n2jdbYZHA9hOiLvlwmHWgaC05XCcQzLImqnLCVU7G38MbrSU0C0MokxBhqTncnYJmRx6Y/zJehSnFeSbfF5ZJQZ6BGI9ySeog6mdZKuaatVMXClqmbQWtNFsJcmHWK522KcsN+Ny9gyz5LU7ctjZt24SyJaea+feVaF499tdomRUERk3ucPBGblO1m24d6ssivq1sU5lGtnA6BPyRAzvgYXFd8iyKKMzbfCa/TK2aJ2PLJnz2sRHBlchB5hdp3xQuN0nzp7D15n9ou79mt8LMpPPcn3NKoTOalKaOibvk/BurrQL+gGgLyQtaWp5Q== 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=bfTttx0oHkrSfZLf5eXWFq8XONAiSv2viBcMv5w5Un0=; b=YKZ2jG0Ziu4AVR7hFp0O60e+VWQdCxTZWhnSZmOzol/iMkhTcZC9ubiHzLVhzifiNQlQ8OrsaprbGlF0U3gokWh7WkJHdvxCsZxZdDHS36WK3VXqyy0yp5GCrN0xVMbnw6hcFE45YOW7A7WOYJjppHhYTkOdmH5n3POq/hQfF9qmneoDjAsaddSeWc+c4OsnXNcQz5l9AsFQe5BR/dmLZlVroI6dXjka8AUWotEf1AU0sLMFA2RXq3uO/u0gTyhDfdYFKSNQMYdO6tF4eh6lVfn6DsgEOKJtD1aIkpZsAOGOibnUlT8M/XrTXPSk6rycicC3awr4VPd00YPbWM4QuA== 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 SEYPR06MB6358.apcprd06.prod.outlook.com (2603:1096:101:13a::5) 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 08:33:34 +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 08:33:34 +0000 From: Shen Lichuan To: dwmw2@infradead.org, richard@nod.at Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, opensource.kernel@vivo.com, Shen Lichuan Subject: [PATCH v1] jffs2: Correct some typos in comments Date: Mon, 23 Sep 2024 16:33:22 +0800 Message-Id: <20240923083322.13383-1-shenlichuan@vivo.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SI2P153CA0016.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::17) To SEZPR06MB5899.apcprd06.prod.outlook.com (2603:1096:101:e3::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5899:EE_|SEYPR06MB6358:EE_ X-MS-Office365-Filtering-Correlation-Id: 6bbcf7f7-dfe9-4617-0120-08dcdbaa6966 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|52116014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: gY2KafTaqXPEXL8zsoH2s0tIrkc/arUqLWFbua/0SpGOPfGtU1/tXp8mUMVFl6IaRsCSWE2QRwPvQbgPHwBN9m4pa1uTztskBd5y9RAgqE6Yuf+dtJvx2FgPo+e8QUVCJ+f7dUjrufaNJy9yLemnwRDv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jx7cnbQn2q+JRgBU71KNIm1+uz4s5OQ/VM5q7tfkXhWokFrU3P5yQ4Ozw2ghyyarEYiBKCOcVaG3MqLlhyGP24LW6lu+Dlull/F1Nna2N2MasopCgsLODaQ0ELL4OR9nUpX/dHpRsguo9POSbcVuiPpANQ== 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)(376014)(52116014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: N1wDDgbycn/67aFx4qz4ZF0czvLKcEDDqTmpxxW3lZiOPGQyBjLFiz4UoAneMRnOUzq1LUw/CvcYGKHzZJUzZOUOhz1bQEkvyfXUFB6OHfYDFJHmrwuT3IMAv+qM2A756uPYHXB1a6XdGNC2w6Jne9g0MFSXnuMc//C09NDKR+FSW5NmD1WwmzS8mqQS+sNUDcvkgCnM8flWt5GiWEUSD3Drl6CpualWpidagWBUVmcCZFMkLyzo5W/u3MK0rHBdd2KyTKZywa+SFCcQfxlRK9MTliqNVlqQb6ZlPdGiraw72hVww7e91VQnyUMtAkhnloniGSLIiKQ9zoPj/SwJW0TsEAA7m8yuC+7SyUANQRKxo6G0G+knIFHRUHAj4HU1M20syM22bqObTwjhB8UasrT3hIHiLBMAeCA5/usJkDcwDThvRCE12V2YGjhOurWlyIIK6xRE31KQWjItCrzqKZw9fT+5VYzwsPs0xYnDfHEnFpWXHGcbG2DuxvPF8InRwpsQYxXigxL5PFqlXNXyZ1N6hqH5R/lcTao/gPMjh02jrbeC48kxklJRxoum4HKmluQboFfuLj6ZCwwaHcmrksfSei6tJPhwQnjBd90/JFbvX4R+4z5w80RgLovJcaJYQZ8LaFH6MqPDY2RxDesQR7wytK7QUx75hNAsusTS9Qrfal6abg4XRYHf/FNmG6bICsrDoFNhENZh1MFkKOXUYZY2AqLN0Q3vEditTMQAjwnSYICmdAjSJzg1Xd2X0KzSJDg8Ofy/afQVTPWAF13jH4u65Fb0kt1E9VvqB/9pbwdcUI5YcyU04cYEz2yknYKYS7mGF0ICSAaJQTLyRaW2rb4nYwknNFrfBCUGUY3hL3dhuxxbKHZgWqwllRgmyLYuNXOdEYYoyXEisjw5P2P9ZdO4rHX/3a7Nzb5slThzpdl3XKQ6J7/GF1RXA2+L+lhCiSPf+cF66dP5LxB+VdQCd6ka7E/whSYshVkAxffs7SMV90zepXZbsF4TFonw9zznkLNmBAx2SvMlHs3tEI4pLDCJn9pOTwoTSInrzIBve1/jkH6ShfgBbdz/CbKr64b+lCfQTusk8xrTa42a/xeR1i+bW5AwNCm6+D1sJRXEtJP8LGP8dFGXsjHOjPE/qBeL5vpuwURRJklvI7PIkrvDhyLUjt7QsO+obm+KSuIhpe0ztFFayc8vjDHgIiQhFe+HPGSJ056mDflx+Gn8V/xBPgFTc3w/IQPiQZHnSQB/lDDCntFQOE9o6u+Vayacbaast0BAltJLGULdnQtqPBgDKTU4t4zOaxNr7yhXHiXVr7x/sXYZK5r9d1kLwHNw4cvY/HfkD3WkXvhMTrIKcDnSjBaOZPORYj6DTWDJJWleew5vpSAHJGUDEMyJ6XvsJpS05IeNXQJlNKWnLEnpfl5BR2KkXo+oL3NWwt9uyzXmETskis61HN+9r+JNZko7RVDboNmTQ1bEX+4lYGaCFXEJqt1xnbbGGzvTS2uHhA3G01D84FnUu+399aeLZb5O/lZK+jGnGlS1h7AFV83LQETcANMfsqW1NSwSEbk9SGQrxjjyhD+igBAT7qrG6bfnzWaB X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6bbcf7f7-dfe9-4617-0120-08dcdbaa6966 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5899.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Sep 2024 08:33:34.2880 (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: 7BhJDdn3YItu2fe0C2EkYCMaEUne0wRQEBapgNiO0KIoaLqYEWnf3PxagzVxxKISfNY52ljhmj1NxPFW2GVsfw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6358 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240923_013345_737822_DCE7BB16 X-CRM114-Status: GOOD ( 11.43 ) X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Fixed some confusing spelling errors, the details are as follows: -in the code comments: wating -> waiting succefully -> successfully Signed-off-by: Shen Lichuan --- fs/jffs2/gc.c | 2 +- fs/jffs2/readinode.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 ARC_SIGNED Message has a ARC signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 ARC_VALID Message has a valid ARC signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Fixed some confusing spelling errors, the details are as follows: -in the code comments: wating -> waiting succefully -> successfully Signed-off-by: Shen Lichuan Reviewed-by: Zhihao Cheng --- fs/jffs2/gc.c | 2 +- fs/jffs2/readinode.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/jffs2/gc.c b/fs/jffs2/gc.c index 822949d0eb00..1b833bbffcf5 100644 --- a/fs/jffs2/gc.c +++ b/fs/jffs2/gc.c @@ -82,7 +82,7 @@ static struct jffs2_eraseblock *jffs2_find_gc_block(struct jffs2_sb_info *c) nextlist = &c->erasable_list; } else if (!list_empty(&c->erasable_pending_wbuf_list)) { - /* There are blocks are wating for the wbuf sync */ + /* There are blocks are waiting for the wbuf sync */ jffs2_dbg(1, "Synching wbuf in order to reuse erasable_pending_wbuf_list blocks\n"); spin_unlock(&c->erase_completion_lock); jffs2_flush_wbuf_pad(c); diff --git a/fs/jffs2/readinode.c b/fs/jffs2/readinode.c index 03b4f99614be..f987f78a894e 100644 --- a/fs/jffs2/readinode.c +++ b/fs/jffs2/readinode.c @@ -72,7 +72,7 @@ static int check_node_data(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info if (err != -EOPNOTSUPP) JFFS2_WARNING("MTD point failed: error code %d.\n", err); } else - pointed = 1; /* succefully pointed to device */ + pointed = 1; /* successfully pointed to device */ #endif if (!pointed) {