VisionFive2 Linux kernel

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

More than 9999 Commits   33 Branches   55 Tags
author: Timur Tabi <timur@kernel.org> 2021-02-14 10:13:46 -0600 committer: Petr Mladek <pmladek@suse.com> 2021-02-15 11:01:42 +0100 commit: 4e89a78779647ca7ee2967551c599633fe9d3647 parent: 61bb17da44a0b6d079e68872e3569bb3eda17656
Commit Summary:
lib: use KSTM_MODULE_GLOBALS macro in kselftest drivers
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/lib/test_printf.c b/lib/test_printf.c
index 7ac87f18a10f..ad2bcfa8caa1 100644
--- a/lib/test_printf.c
+++ b/lib/test_printf.c
@@ -30,8 +30,8 @@
 #define PAD_SIZE 16
 #define FILL_CHAR '$'
 
-static unsigned total_tests __initdata;
-static unsigned failed_tests __initdata;
+KSTM_MODULE_GLOBALS();
+
 static char *test_buffer __initdata;
 static char *alloced_buffer __initdata;