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 <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
1 parent 02e65e1 commit 3ac3527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)