lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri,  2 Sep 2022 16:07:38 +0800
From:   Jiangshan Yi <13667453960@....com>
To:     viro@...iv.linux.org.uk, akpm@...ux-foundation.org
Cc:     linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
        Jiangshan Yi <yijiangshan@...inos.cn>,
        k2ci <kernel-bot@...inos.cn>
Subject: [PATCH] fs/nls/nls_euc-jp.c: Fix spelling typo in comment

From: Jiangshan Yi <yijiangshan@...inos.cn>

Fix spelling typo in comment.

Reported-by: k2ci <kernel-bot@...inos.cn>
Signed-off-by: Jiangshan Yi <yijiangshan@...inos.cn>
---
 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ