lkml.org 
[lkml]   [2019]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] node: Fix warning while make xmldocs
Date
This patch fixes following warning while make xmldocs.
./drivers/base/node.c:690: warning: Excess function parameter
'mem_node' description in 'register_memory_node_under_compute_node'
./drivers/base/node.c:690: warning: Excess function parameter
'cpu_node' description in 'register_memory_node_under_compute_node'

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
drivers/base/node.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/base/node.c b/drivers/base/node.c
index d8c02e65df68..944ee45d122f 100644
--- a/drivers/base/node.c
+++ b/drivers/base/node.c
@@ -673,8 +673,8 @@ int register_cpu_under_node(unsigned int cpu, unsigned int nid)
/**
* register_memory_node_under_compute_node - link memory node to its compute
* node for a given access class.
- * @mem_node: Memory node number
- * @cpu_node: Cpu node number
+ * @mem_nid: Memory node identifier
+ * @cpu_nid: Cpu node identifier
* @access: Access class to register
*
* Description:
--
2.22.0.190.ga6a95cd1b46e
\
 
 \ /
  Last update: 2019-06-24 05:58    [W:0.087 / U:3.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site