diff mbox

numa: fix comment

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

Commit Message

Michael S. Tsirkin June 24, 2014, 4:45 a.m. UTC
Fix up English in comments:
s/the each/each/

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

Comments

Hu Tao June 24, 2014, 5:33 a.m. UTC | #1
On Tue, Jun 24, 2014 at 07:45:15AM +0300, Michael S. Tsirkin wrote:
> Fix up English in comments:
> s/the each/each/
> 
> 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 e471afe..47049a5 100644
> --- a/numa.c
> +++ b/numa.c
> @@ -172,7 +172,7 @@ void set_numa_nodes(void)
>          if (i == nb_numa_nodes) {
>              uint64_t usedmem = 0;
>  
> -            /* On Linux, the each node's border has to be 8MB aligned,
> +            /* On Linux, each node's border has to be 8MB aligned,
>               * the final node gets the rest.
>               */
>              for (i = 0; i < nb_numa_nodes - 1; i++) {
> -- 
> MST

There is another one in the same function that can be fixed togehter:

/* If no memory size if given for any node

s/if/is/

Hu
Michael S. Tsirkin June 24, 2014, 5:51 a.m. UTC | #2
On Tue, Jun 24, 2014 at 01:33:35PM +0800, Hu Tao wrote:
> On Tue, Jun 24, 2014 at 07:45:15AM +0300, Michael S. Tsirkin wrote:
> > Fix up English in comments:
> > s/the each/each/
> > 
> > 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 e471afe..47049a5 100644
> > --- a/numa.c
> > +++ b/numa.c
> > @@ -172,7 +172,7 @@ void set_numa_nodes(void)
> >          if (i == nb_numa_nodes) {
> >              uint64_t usedmem = 0;
> >  
> > -            /* On Linux, the each node's border has to be 8MB aligned,
> > +            /* On Linux, each node's border has to be 8MB aligned,
> >               * the final node gets the rest.
> >               */
> >              for (i = 0; i < nb_numa_nodes - 1; i++) {
> > -- 
> > MST
> 
> There is another one in the same function that can be fixed togehter:
> 
> /* If no memory size if given for any node
> 
> s/if/is/
> 
> Hu

Fixed, thanks.
diff mbox

Patch

diff --git a/numa.c b/numa.c
index e471afe..47049a5 100644
--- a/numa.c
+++ b/numa.c
@@ -172,7 +172,7 @@  void set_numa_nodes(void)
         if (i == nb_numa_nodes) {
             uint64_t usedmem = 0;
 
-            /* On Linux, the each node's border has to be 8MB aligned,
+            /* On Linux, each node's border has to be 8MB aligned,
              * the final node gets the rest.
              */
             for (i = 0; i < nb_numa_nodes - 1; i++) {