[PATCH] The same content in the comment appear twice.

2015-05-29 Thread Gong Zhaogang
From: gongzhaogang 

Delete the extra content in the comment.
 return_object   - Where to put method's return value (if
   any). If NULL, no value is returned.

Signed-off-by: Gong Zhaogang 
---
 drivers/acpi/acpica/nseval.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/acpi/acpica/nseval.c b/drivers/acpi/acpica/nseval.c
index 7bcc68f..82e2eef 100644
--- a/drivers/acpi/acpica/nseval.c
+++ b/drivers/acpi/acpica/nseval.c
@@ -69,8 +69,6 @@ acpi_ns_exec_module_code(union acpi_operand_object 
*method_obj,
  *  return_object   - Where to put method's return value (if
  *any). If NULL, no value is returned.
  *  parameter_type  - Type of Parameter list
- *  return_object   - Where to put method's return value (if
- *any). If NULL, no value is returned.
  *  flags   - ACPI_IGNORE_RETURN_VALUE to delete return
  *
  * RETURN:  Status
-- 
1.9.1


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] function name in the comment differs from the real function name

2015-05-11 Thread Gong Zhaogang
From: gongzhaogang 

modify wq_calc_node_mask to wq_calc_node_cpumask

Signed-off-by: Gong Zhaogang 
---
 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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/