diff mbox

numa: fix comment

Message ID 1403589076-25812-1-git-send-email-mst@redhat.com
State New
Headers show

Commit Message

Michael S. Tsirkin June 24, 2014, 5:51 a.m. UTC
s/if given for/is given for/;

Reported-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 numa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Igor Mammedov June 24, 2014, 6:05 a.m. UTC | #1
On Tue, 24 Jun 2014 08:51:23 +0300
"Michael S. Tsirkin" <mst@redhat.com> wrote:

> s/if given for/is given for/;
> 
> Reported-by: Hu Tao <hutao@cn.fujitsu.com>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>  numa.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/numa.c b/numa.c
> index 47049a5..6c2eae7 100644
> --- a/numa.c
> +++ b/numa.c
> @@ -161,7 +161,7 @@ void set_numa_nodes(void)
>              nb_numa_nodes = MAX_NODES;
>          }
>  
> -        /* If no memory size if given for any node, assume the default case
> +        /* If no memory size is given for any node, assume the default case
>           * and distribute the available memory equally across all nodes
>           */
>          for (i = 0; i < nb_numa_nodes; i++) {

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
diff mbox

Patch

diff --git a/numa.c b/numa.c
index 47049a5..6c2eae7 100644
--- a/numa.c
+++ b/numa.c
@@ -161,7 +161,7 @@  void set_numa_nodes(void)
             nb_numa_nodes = MAX_NODES;
         }
 
-        /* If no memory size if given for any node, assume the default case
+        /* If no memory size is given for any node, assume the default case
          * and distribute the available memory equally across all nodes
          */
         for (i = 0; i < nb_numa_nodes; i++) {