Skip to contentSkip to conversation

sched_ext; Add missing static to scx_dump_data

PATCH New Tejun Heo 1 participant 1 message Sep 7, 2024 Scheduler

lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

PATCH 1/1 sched_ext; Add missing static to scx_dump_data

From 9d547798509340cb4f3fd95accaf78178ee353ae Mon Sep 17 00:00:00 2001
From: Tejun Heo <[email protected]>
Date: Sat, 7 Sep 2024 08:11:25 -1000

scx_dump_data is only used inside ext.c but doesn't have static. Add it.

---
Applied to sched_ext/for-6.12.

Thanks.

 kernel/sched/ext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/ext.c +1 -1
index 02cc45f7d81b..d9b6882760d9 100644
@@ -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,
 };
 
Signature · 1 line
2.46.0