]> git.ipfire.org Git - people/ms/linux.git/commit - fs/exfat/exfat_fs.h
exfat: standardize checksum calculation
authorTetsuhiro Kohada <kohada.t2@gmail.com>
Fri, 29 May 2020 10:14:59 +0000 (19:14 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Tue, 9 Jun 2020 07:49:25 +0000 (16:49 +0900)
commit5875bf287d95314c58add01184f361cc5aa38429
tree1de468fb69859f1d17eac04c52d125d4761af6f6
parent476189c0ef3b658de3f6b89fd0fdeb6dc451b564
exfat: standardize checksum calculation

To clarify that it is a 16-bit checksum, the parts related to the 16-bit
checksum are renamed and change type to u16.
Furthermore, replace checksum calculation in exfat_load_upcase_table()
with exfat_calc_checksum32().

Signed-off-by: Tetsuhiro Kohada <kohada.t2@gmail.com>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
fs/exfat/dir.c
fs/exfat/exfat_fs.h
fs/exfat/misc.c
fs/exfat/nls.c