Thread (16 messages) 16 messages, 4 authors, 2021-09-08
STALE1781d

[PATCH 04/11] unicode: mark the version field in struct unicode_map unsigned

From: Christoph Hellwig <hch@lst.de>
Date: 2021-08-18 14:16:10
Also in: linux-f2fs-devel, linux-fsdevel
Subsystem: the rest · Maintainer: Linus Torvalds

unicode version tripplets are always unsigned.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/linux/unicode.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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);
-- 
2.30.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help