2015-05-11 12:09:22

by gongzg

[permalink] [raw]
Subject: [PATCH] function name in the comment differs from the real function name

From: gongzhaogang <[email protected]>

modify wq_calc_node_mask to wq_calc_node_cpumask

Signed-off-by: Gong Zhaogang <[email protected]>
---
kernel/workqueue.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index cae6277..d65ef96 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -3438,7 +3438,7 @@ static void free_unbound_pwq(struct pool_workqueue *pwq)
}

/**
- * wq_calc_node_mask - calculate a wq_attrs' cpumask for the specified node
+ * wq_calc_node_cpumask - calculate a wq_attrs' cpumask for the specified node
* @attrs: the wq_attrs of interest
* @node: the target NUMA node
* @cpu_going_down: if >= 0, the CPU to consider as offline
--
1.7.1


2015-05-11 15:04:27

by Tejun Heo

[permalink] [raw]
Subject: Re: [PATCH] function name in the comment differs from the real function name

On Mon, May 11, 2015 at 07:37:40PM +0800, Gong Zhaogang wrote:
> From: gongzhaogang <[email protected]>
>
> modify wq_calc_node_mask to wq_calc_node_cpumask
>
> Signed-off-by: Gong Zhaogang <[email protected]>

Applied to wq/for-4.2.

Thanks.

--
tejun