Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1667934rwe; Fri, 2 Sep 2022 01:28:22 -0700 (PDT) X-Google-Smtp-Source: AA6agR6r1YpyrUUG4rtaV+IBFPOw9OF1WXjhIL9k263cPwY4os4R6apjydPVhY9anEs5+lvJ/InS X-Received: by 2002:a05:6402:4515:b0:443:7833:3d7b with SMTP id ez21-20020a056402451500b0044378333d7bmr7140509edb.151.1662107302730; Fri, 02 Sep 2022 01:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662107302; cv=none; d=google.com; s=arc-20160816; b=N9ROZJ/NJo+XGv+83sJL1HDMtuHJhg0g4kD14wGgW24Gf4cW31VvtbnSC83U0eRumn uGCVYEs9mxWKL0PEURCNCIyAW2Gu2rm3EeqLVaGa2Ey3bcti6lWhWYYVb5pes67jvKMU aNI3/gzedViT0IVZxhp75aZKpwYI96vUE6g4h6nfVoG6L5czYZVVymmNXBtVuaxWq96r JRhEEz6m76iTLfcGbzqgFfcOkT7Tgenmvl+DgpqfJ4/E2r6cqal0YIg0a+8iU5Z9Cbd8 KzRS5rnjD9RPYUWz3R0TgbebgUBfcd+05EAf3IKHlVABCbcHUNc/3EksRhHqbv+9QIPH BPQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=geMGWHtVXqDG7bcKU0V9M+d902V0xBjLtVwQc+DtB0k=; b=pQG4o7glppkRULlcvudPnIgeimSozg8I7SK8FAt9aarnItT2Ui1rwEsuFm4kTRURKc H3Yj6j5NviYT0w2sirwDxsYDr+BGRW2oX904dNabm7jAkzaWBgirwWt+/NzJb1hqPt0A OkKwM6WkN8aL8Fcso0OBW1tWOMfOoxf0M6dWWJygo0JHe40cOjSJAGbgTfIRG9EPJBkZ EjdUXVTvHbiTpRXveyr2mWfsBV7QM5+2yXSzcTj0YDbsYyuwbHw30/2g+Gm440SWeaLV Ig3tzYzV2WIDl9LryLll1vr5xnDrP6cUo8SzvMKBdxtqppsUX+cvbUa9BQNwSoeJO3Kr aEjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=khJFcYMM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cr2-20020a170906d54200b00741a089d344si1505688ejc.809.2022.09.02.01.27.56; Fri, 02 Sep 2022 01:28:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=khJFcYMM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235648AbiIBIIF (ORCPT + 99 others); Fri, 2 Sep 2022 04:08:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235645AbiIBIIC (ORCPT ); Fri, 2 Sep 2022 04:08:02 -0400 Received: from mail-m974.mail.163.com (mail-m974.mail.163.com [123.126.97.4]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9AD99B7776; Fri, 2 Sep 2022 01:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=geMGW HtVXqDG7bcKU0V9M+d902V0xBjLtVwQc+DtB0k=; b=khJFcYMM7cNbrVqZ3gZdA UeH/5Yy7ru17hCOVpK8H/42N4nb1u4MvHX55hk8GueHEI3o8PkA40Bh8Qry5MTyK UXvEt6J7idViZFGtETvZO5ynWbxQ3AgEbT6bOzcJt/bn9ley5Fo0VIhz+aEr/CUY ZOj3KlwmeuWbWHoeDJRRbI= Received: from localhost.localdomain (unknown [116.128.244.169]) by smtp4 (Coremail) with SMTP id HNxpCgA3YtLUuRFj+4I9Zg--.5745S2; Fri, 02 Sep 2022 16:07:51 +0800 (CST) From: Jiangshan Yi <13667453960@163.com> To: viro@zeniv.linux.org.uk, akpm@linux-foundation.org Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Jiangshan Yi , k2ci Subject: [PATCH] fs/nls/nls_euc-jp.c: Fix spelling typo in comment Date: Fri, 2 Sep 2022 16:07:38 +0800 Message-Id: <20220902080738.1807198-1-13667453960@163.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: HNxpCgA3YtLUuRFj+4I9Zg--.5745S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxJr4rGr1UAF1rtry7Xr45Awb_yoW8Jw45pF n5uaykta1DAr12qa4Yva1xGw4DJ3yvqF4jgr1jgrWrAF9rJrnIq3Zaq3WxCwnFyF4rKay7 A3s2yw13Xayjgr7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07UGtCcUUUUU= X-Originating-IP: [116.128.244.169] X-CM-SenderInfo: bprtllyxuvjmiwq6il2tof0z/1tbi8A1o+1uoh9WV9AABsv X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,FROM_LOCAL_DIGITS,FROM_LOCAL_HEX,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jiangshan Yi Fix spelling typo in comment. Reported-by: k2ci Signed-off-by: Jiangshan Yi --- fs/nls/nls_euc-jp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nls/nls_euc-jp.c b/fs/nls/nls_euc-jp.c index 162b3f160353..64ea8bdb596b 100644 --- a/fs/nls/nls_euc-jp.c +++ b/fs/nls/nls_euc-jp.c @@ -15,7 +15,7 @@ static struct nls_table *p_nls; #define IS_SJIS_LOW_BYTE(l) ((0x40 <= (l)) && ((l) <= 0xFC) && ((l) != 0x7F)) -/* JIS X 0208 (include NEC spesial characters) */ +/* JIS X 0208 (include NEC special characters) */ #define IS_SJIS_JISX0208(h, l) ((((0x81 <= (h)) && ((h) <= 0x9F)) \ || ((0xE0 <= (h)) && ((h) <= 0xEA))) \ && IS_SJIS_LOW_BYTE(l)) @@ -522,7 +522,7 @@ static int char2uni(const unsigned char *rawstring, int boundlen, MAP_EUC2SJIS(rawstring[0], rawstring[1], 0xF5, sjis_temp[0], sjis_temp[1], 0xF0); } else if (IS_EUC_JISX0208(rawstring[0], rawstring[1])) { - /* JIS X 0208 (include NEC spesial characters) */ + /* JIS X 0208 (include NEC special characters) */ sjis_temp[0] = ((rawstring[0]-0x5f)/2) ^ 0xA0; if (!(rawstring[0] & 1)) sjis_temp[1] = rawstring[1] - 0x02; -- 2.25.1 No virus found Checked by Hillstone Network AntiVirus