Skip to content

Commit 3ac3527

Browse files
committed
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/
1 parent 02e65e1 commit 3ac3527

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/sched/ext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ struct scx_dump_data {
968968
struct scx_bstr_buf buf;
969969
};
970970

971-
struct scx_dump_data scx_dump_data = {
971+
static struct scx_dump_data scx_dump_data = {
972972
.cpu = -1,
973973
};
974974

0 commit comments

Comments
 (0)