VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Colin Ian King <colin.king@canonical.com> 2019-09-06 14:58:07 +0100 committer: Gabriel Krisman Bertazi <krisman@collabora.com> 2019-09-17 11:48:24 -0400 commit: aa28b98d6dbcdb1c822b53f90e509565dfc450b0 parent: 334b427e96d10f6e07117a785636dac81c430141
Commit Summary:
unicode: make array 'token' static const, makes object smaller
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/unicode/utf8-core.c b/fs/unicode/utf8-core.c
index 71ca4d047d65..2a878b739115 100644
--- a/fs/unicode/utf8-core.c
+++ b/fs/unicode/utf8-core.c
@@ -154,7 +154,7 @@ static int utf8_parse_version(const char *version, unsigned int *maj,
 {
 	substring_t args[3];
 	char version_string[12];
-	const struct match_token token[] = {
+	static const struct match_token token[] = {
 		{1, "%d.%d.%d"},
 		{0, NULL}
 	};