Skip to contentSkip to conversation

sched/topology: Add __init for init_defrootdomain

PATCH Superseded Bing Huang 2 participants 2 messages Sep 9, 2022 Scheduler

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Bing Huang

author
#0 lore raw

PATCH v2 1/1 sched/topology: Add __init for init_defrootdomain

From: Bing Huang <[email protected]>

init_defrootdomain is only used in initialization

---
v1->v2:
Remove __init in function prototype

 kernel/sched/topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/topology.c +1 -1
index 8739c2a5a54e..dea9fa39e7c0 100644
@@ -578,7 +578,7 @@ static int init_rootdomain(struct root_domain *rd)
  */
 struct root_domain def_root_domain;
 
-void init_defrootdomain(void)
+void __init init_defrootdomain(void)
 {
 	init_rootdomain(&def_root_domain);
 
Signature · 5 lines
2.25.1


No virus found
		Checked by Hillstone Network AntiVirus
#1 lore raw
Quoted 6 lines · On Fri, 9 Sep 2022 14:24:06 +0800 Bing Huang <[email protected]> wrote:

From: Bing Huang <[email protected]>

init_defrootdomain is only used in initialization

Do not add a reviewed-by tag unless it is explicitly stated that you can. Just because someone reviews your patch does not mean it allows you to add that tag. I have not reviewed this version of the patch, and the last version was not acceptable.

That said, this version is acceptable. But that still doesn't mean it was right to add that tag before I gave the OK. That's because that tag carries some weight of responsibility to those that give their review.

-- Steve

Quoted 22 lines

---
v1->v2:
Remove __init in function prototype

 kernel/sched/topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/topology.c +1 -1
index 8739c2a5a54e..dea9fa39e7c0 100644
@@ -578,7 +578,7 @@ static int init_rootdomain(struct root_domain *rd)
  */
 struct root_domain def_root_domain;
 
-void init_defrootdomain(void)
+void __init init_defrootdomain(void)
 {
 	init_rootdomain(&def_root_domain);