diff options
author | Tejun Heo <tj@kernel.org> | 2024-09-07 08:11:25 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-09-09 13:34:33 -1000 |
commit | 3ac352797cf02b53ea4a6ca0b958a288eedda514 (patch) | |
tree | 197f931dd333cefc48104a38a06c2826837d91b9 /kernel/sched | |
parent | 02e65e1c1282b8e38638de238ac7410846898348 (diff) |
sched_ext: Add missing static to scx_dump_data
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/
Diffstat (limited to 'kernel/sched')
-rw-r--r-- | kernel/sched/ext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/ext.c b/kernel/sched/ext.c index 02cc45f7d81b..d9b6882760d9 100644 --- a/kernel/sched/ext.c +++ b/kernel/sched/ext.c @@ -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, }; |