public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: brookxu <brookxu.cn@gmail.com>,
	adobriyan@gmail.com, bsingharora@gmail.com,
	akpm@linux-foundation.org, ebiederm@xmission.com,
	linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org
Subject: [RFC PATCH] delayacct: delayacct_stats[] can be static
Date: Tue, 13 Apr 2021 14:14:22 +0800	[thread overview]
Message-ID: <20210413061422.GA20444@5a950bd79ae1> (raw)
In-Reply-To: <99fd223ec19a6bc17fa5b39aaf6aed6cbdbea722.1618275619.git.brookxu@tencent.com>


Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.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},

  parent reply	other threads:[~2021-04-13  6:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-13  1:37 [RESEND PATCH 1/2] delayacct: refactor the code to simplify the implementation brookxu
2021-04-13  1:37 ` [RESEND PATCH 2/2] delayacct: Add a proc file to dump the delay info brookxu
2021-04-13  6:14   ` kernel test robot
2021-04-13  6:14   ` kernel test robot [this message]
2021-04-13 21:26   ` kernel test robot
2021-04-13 23:19 ` [RESEND PATCH 1/2] delayacct: refactor the code to simplify the implementation kernel test robot
2021-04-14  1:24 ` kernel test robot
2021-04-19  7:01 ` Balbir Singh
2021-04-19  9:30   ` brookxu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210413061422.GA20444@5a950bd79ae1 \
    --to=lkp@intel.com \
    --cc=adobriyan@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=brookxu.cn@gmail.com \
    --cc=bsingharora@gmail.com \
    --cc=ebiederm@xmission.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox