Content-Type: multipart/mixed; boundary="===============3732967108180153606==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] block: print_disk_stats() can be static Date: Thu, 01 Jul 2021 02:21:14 +0800 Message-ID: <20210630182114.GA45709@e2f15dc0397a> In-Reply-To: <20210630081028.161284-1-abd.masalkhi@gmail.com> List-Id: --===============3732967108180153606== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable block/genhd.c:1110:6: warning: symbol 'print_disk_stats' was not declared. = Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- genhd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/genhd.c b/block/genhd.c index 5d393b2bc62c3..803c3448f09ae 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -1107,8 +1107,8 @@ const struct device_type disk_type =3D { = #ifdef CONFIG_PROC_FS = -void print_disk_stats(struct seq_file *seqf, - unsigned int inflight, struct disk_stats *stat) +static void print_disk_stats(struct seq_file *seqf, + unsigned int inflight, struct disk_stats *stat) { seq_printf(seqf, "%lu %lu %lu %u " "%lu %lu %lu %u " --===============3732967108180153606==--