2020-01-10 07:28:53

by chenzhou

[permalink] [raw]
Subject: [PATCH] cgroup: fix function name in comment

Function name cgroup_rstat_cpu_pop_upated() in comment should be
cgroup_rstat_cpu_pop_updated().

Signed-off-by: Chen Zhou <[email protected]>
---
kernel/cgroup/rstat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cgroup/rstat.c b/kernel/cgroup/rstat.c
index b48b22d..6f87352 100644
--- a/kernel/cgroup/rstat.c
+++ b/kernel/cgroup/rstat.c
@@ -33,7 +33,7 @@ void cgroup_rstat_updated(struct cgroup *cgrp, int cpu)
return;

/*
- * Paired with the one in cgroup_rstat_cpu_pop_upated(). Either we
+ * Paired with the one in cgroup_rstat_cpu_pop_updated(). Either we
* see NULL updated_next or they see our updated stat.
*/
smp_mb();
--
2.7.4


2020-01-15 16:00:24

by Tejun Heo

[permalink] [raw]
Subject: Re: [PATCH] cgroup: fix function name in comment

On Fri, Jan 10, 2020 at 03:23:20PM +0800, Chen Zhou wrote:
> Function name cgroup_rstat_cpu_pop_upated() in comment should be
> cgroup_rstat_cpu_pop_updated().
>
> Signed-off-by: Chen Zhou <[email protected]>

Applied to cgroup/for-5.6.

Thanks.

--
tejun