[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210413061422.GA20444@5a950bd79ae1>
Date: Tue, 13 Apr 2021 14:14:22 +0800
From: kernel test robot <lkp@...el.com>
To: brookxu <brookxu.cn@...il.com>, adobriyan@...il.com,
bsingharora@...il.com, akpm@...ux-foundation.org,
ebiederm@...ssion.com, linux-kernel@...r.kernel.org
Cc: kbuild-all@...ts.01.org
Subject: [RFC PATCH] delayacct: delayacct_stats[] can be static
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: kernel test robot <lkp@...el.com>
---
delayacct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/delayacct.c b/kernel/delayacct.c
index b8d719fbfc404..2505aa9f87f61 100644
--- a/kernel/delayacct.c
+++ b/kernel/delayacct.c
@@ -32,7 +32,7 @@ struct delayacct_stat {
unsigned int idx;
};
-struct delayacct_stat delayacct_stats[] = {
+static struct delayacct_stat delayacct_stats[] = {
{"blkio", DELAYACCT_BLKIO},
{"swapin", DELAYACCT_SWAPIN},
{"pagecache_thrashing", DELAYACCT_THRASHING},
Powered by blists - more mailing lists