]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
sched_ext: Add missing static to scx_dump_data
authorTejun Heo <tj@kernel.org>
Sat, 7 Sep 2024 18:11:25 +0000 (08:11 -1000)
committerTejun Heo <tj@kernel.org>
Mon, 9 Sep 2024 23:34:33 +0000 (13:34 -1000)
scx_dump_data is only used inside ext.c but doesn't have static. Add it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409070218.RB5WsQ07-lkp@intel.com/
kernel/sched/ext.c

index 02cc45f7d81b660ee6889b4db321db122e0619ef..d9b6882760d99c083a2b386efde2533a3ca7af0e 100644 (file)
@@ -968,7 +968,7 @@ struct scx_dump_data {
        struct scx_bstr_buf     buf;
 };
 
-struct scx_dump_data scx_dump_data = {
+static struct scx_dump_data scx_dump_data = {
        .cpu                    = -1,
 };