sched/topology: Add __init for init_defrootdomain
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
@@ -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
Steven Rostedt
reviewerQuoted 6 lines · On Fri, 9 Sep 2022 14:24:06 +0800 Bing Huang <[email protected]> wrote:
From: Bing Huang <[email protected]>
init_defrootdomainis only used in initializationSigned-off-by Bing Huang <[email protected]>Reviewed-by Steven Rostedt <[email protected]>
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
Reviewed-by Randy Dunlap <[email protected]>Reviewed-by Valentin Schneider <[email protected]>---
v1->v2:
Remove__initin function prototypekernel/sched/topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/sched/topology.c +1
-1@@ -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);