Skip to contentSkip to conversation

sched: core: Don't mix use of typedef ctl_table and struct ctl_table

PATCH New Joe Perches 2 participants 2 messages Jun 12, 2013 – Jun 19, 2013 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched: core: Don't mix use of typedef ctl_table and struct ctl_table

Just use struct ctl_table.

---
 kernel/sched/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/core.c +1 -1
index 58453b8..17315d7 100644
@@ -5080,7 +5080,7 @@ sd_alloc_ctl_domain_table(struct sched_domain *sd)
 	return table;
 }
 
-static ctl_table *sd_alloc_ctl_cpu_table(int cpu)
+static struct ctl_table *sd_alloc_ctl_cpu_table(int cpu)
 {
 	struct ctl_table *entry, *table;
 	struct sched_domain *sd;
#1 lore raw

[tip:sched/core] sched: Don' t mix use of typedef ctl_table and struct ctl_table

sched: Don't mix use of typedef ctl_table and struct ctl_table
Commit-ID:  be7002e6c613d22976f2b8d4bae6121a5fc0433a
Gitweb:     http://git.kernel.org/tip/be7002e6c613d22976f2b8d4bae6121a5fc0433a
Author:     Joe Perches <[email protected]>
AuthorDate: Wed, 12 Jun 2013 11:55:36 -0700
Committer:  Ingo Molnar <[email protected]>
CommitDate: Wed, 19 Jun 2013 12:58:48 +0200

sched: Don't mix use of typedef ctl_table and struct ctl_table

Just use struct ctl_table.

---
 kernel/sched/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/core.c +1 -1
index 21b1403..ceeaf0f 100644
@@ -4533,7 +4533,7 @@ sd_alloc_ctl_domain_table(struct sched_domain *sd)
 	return table;
 }
 
-static ctl_table *sd_alloc_ctl_cpu_table(int cpu)
+static struct ctl_table *sd_alloc_ctl_cpu_table(int cpu)
 {
 	struct ctl_table *entry, *table;
 	struct sched_domain *sd;