Skip to contentSkip to conversation

kexec/kdump: fix grammar in comment

PATCH In review Horms 3 participants 4 messages Jan 10, 2007 – Jan 11, 2007

lore
Share & tools
lore

Horms

author
#0 lore raw

PATCH 1/1 kexec/kdump: fix grammar in comment

Hi, I am resending this patch, please consider.

Signature · 20 lines
Horms

Fix the grammar in the comment that features in
xen_machine_kexec_setup_resources(). The current
edition is a bit odd.

Signed-off-by: Simon Horman <[email protected]>

diff -r a9a43705f26b linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c	Wed Dec 27 00:38:01 2006 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c	Wed Dec 27 13:21:54 2006 +0900
@@ -99,7 +99,7 @@ void xen_machine_kexec_setup_resources(v
 	/*
 	 * It isn't possible to free xen_phys_cpus this early in the
 	 * boot. Since failure at this stage is unexpected and the
-	 * amount is small we leak the memory.
+	 * amount of memory that we leak is small.
          */
 	xen_max_nr_phys_cpus = 0;
 	return;
#1 lore raw
Quoted 3 lines · Horms

Fix the grammar in the comment that features in
xen_machine_kexec_setup_resources(). The current
edition is a bit odd.

What I was trying to say is that we allow a possible memory leak because the failure is unexpected and the amount is small, your version doesn't really convey that information.

I've changed it to:

* It isn't possible to free xen_phys_cpus this early in the
* boot. Failure at this stage is unexpected and the
* amount of memory is small therefore we tolerate the
* potential leak.

Ian.

author
#2 lore raw
Quoted 9 lines · Ian Campbell
Quoted 3 lines · Horms

Fix the grammar in the comment that features in
xen_machine_kexec_setup_resources(). The current
edition is a bit odd.

What I was trying to say is that we allow a possible memory leak because the failure is unexpected and the amount is small, your version doesn't really convey that information.

Quoted 6 lines

I've changed it to:

* It isn't possible to free xen_phys_cpus this early in the
* boot. Failure at this stage is unexpected and the
* amount of memory is small therefore we tolerate the
* potential leak.

Thanks.

Signature · 3 lines
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/
#3 lore raw
In reply to Horms

The existing sentence is grammatically okay and fits better with the first sentence.

K.

Quoted 1 line · Horms

Hi, I am resending this patch, please consider.