Skip to content

Commit

Permalink
unicode: mark the version field in struct unicode_map unsigned
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Gabriel Krisman Bertazi committed Oct 11, 2021
1 parent a440943 commit f3a9c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/unicode.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f3a9c82

Please sign in to comment.