From: Tejun Heo Date: Sat, 7 Sep 2024 18:11:25 +0000 (-1000) Subject: sched_ext: Add missing static to scx_dump_data X-Git-Tag: v6.12-rc1~111^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3ac352797cf02b53ea4a6ca0b958a288eedda514;p=thirdparty%2Fkernel%2Flinux.git 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 Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202409070218.RB5WsQ07-lkp@intel.com/ --- diff --git a/kernel/sched/ext.c b/kernel/sched/ext.c index 02cc45f7d81b6..d9b6882760d99 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, };