lkml.org 
[lkml]   [2019]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] node: Fix warning while make xmldocs
On Mon, Jun 24, 2019 at 5:58 AM Masanari Iida <standby24x7@gmail.com> wrote:
>
> 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>

Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.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 10:25    [W:0.039 / U:2.136 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site