summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-09-15 08:59:59 +0200
committerGabriel Krisman Bertazi <krisman@collabora.com>2021-10-11 17:01:40 -0300
commitf3a9c82396006a5664f6e398d6928799d29de76e (patch)
tree2cf5c57ed207fcfbf4e0af8a657d2c466f1a8948
parenta440943e68cd1b5a853a6f60865967b7cc2539eb (diff)
unicode: mark the version field in struct unicode_map unsigned
unicode version tripplets are always unsigned. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Gabriel Krisman Bertazi <krisman@collabora.com> Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
-rw-r--r--include/linux/unicode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/unicode.h b/include/linux/unicode.h
index 6a392cd9f076..0744f81c4b5f 100644
--- a/include/linux/unicode.h
+++ b/include/linux/unicode.h
@@ -6,7 +6,7 @@
#include <linux/dcache.h>
struct unicode_map {
- int version;
+ unsigned int version;
};
int utf8_validate(const struct unicode_map *um, const struct qstr *str);