numa: fix comment
PATCH 1/1 numa: fix comment
Fix up English in comments:
s/the each/each/
Signed-off-by Michael S. Tsirkin <[email protected]>
--- numa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
numa.c +1 -1
@@ -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++) {
Signature · 1 line
MST
Quoted 23 lines · Michael S. Tsirkin
Fix up English in comments:
s/the each/each/Signed-off-by Michael S. Tsirkin <[email protected]>--- numa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)numa.c +1
-1@@ -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++) {Signature · 1 line
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
Quoted 27 lines · Hu Tao
Quoted 23 lines · Michael S. Tsirkin
Fix up English in comments:
s/the each/each/Signed-off-by Michael S. Tsirkin <[email protected]>--- numa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)numa.c +1
-1@@ -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++) {Signature · 1 line
MSTThere is another one in the same function that can be fixed togehter:
Quoted 5 lines
/* If no memory size if given for any node
s/if/is/
Hu
Fixed, thanks.