* [PATCH] KVM: fix repeated words in comments
@ 2022-08-31 0:44 Jilin Yuan
2022-08-31 3:34 ` Paul Mackerras
2022-08-31 11:06 ` Christophe Leroy
0 siblings, 2 replies; 3+ messages in thread
From: Jilin Yuan @ 2022-08-31 0:44 UTC (permalink / raw)
To: mpe, npiggin; +Cc: linuxppc-dev, linux-kernel, Jilin Yuan
Delete the redundant word 'that'.
Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
arch/powerpc/kvm/book3s_64_mmu_hv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/kvm/book3s_64_mmu_hv.c b/arch/powerpc/kvm/book3s_64_mmu_hv.c
index e9744b41a226..8e4b42b5f37f 100644
--- a/arch/powerpc/kvm/book3s_64_mmu_hv.c
+++ b/arch/powerpc/kvm/book3s_64_mmu_hv.c
@@ -1601,7 +1601,7 @@ long kvm_vm_ioctl_resize_hpt_commit(struct kvm *kvm,
* is valid, it is written to the HPT as if an H_ENTER with the
* exact flag set was done. When the invalid count is non-zero
* in the header written to the stream, the kernel will make
- * sure that that many HPTEs are invalid, and invalidate them
+ * sure that many HPTEs are invalid, and invalidate them
* if not.
*/
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] KVM: fix repeated words in comments
2022-08-31 0:44 [PATCH] KVM: fix repeated words in comments Jilin Yuan
@ 2022-08-31 3:34 ` Paul Mackerras
2022-08-31 11:06 ` Christophe Leroy
1 sibling, 0 replies; 3+ messages in thread
From: Paul Mackerras @ 2022-08-31 3:34 UTC (permalink / raw)
To: Jilin Yuan; +Cc: mpe, npiggin, linuxppc-dev, linux-kernel
On Wed, Aug 31, 2022 at 08:44:54AM +0800, Jilin Yuan wrote:
> Delete the redundant word 'that'.
Nack, having two "that"s in a row is intentional. It's "make sure
that" (i.e. bring about the situation described in what follows)
"that many HPTEs" (i.e. the number of HPTEs referenced previously)
"are invalid".
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
> ---
> arch/powerpc/kvm/book3s_64_mmu_hv.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/powerpc/kvm/book3s_64_mmu_hv.c b/arch/powerpc/kvm/book3s_64_mmu_hv.c
> index e9744b41a226..8e4b42b5f37f 100644
> --- a/arch/powerpc/kvm/book3s_64_mmu_hv.c
> +++ b/arch/powerpc/kvm/book3s_64_mmu_hv.c
> @@ -1601,7 +1601,7 @@ long kvm_vm_ioctl_resize_hpt_commit(struct kvm *kvm,
> * is valid, it is written to the HPT as if an H_ENTER with the
> * exact flag set was done. When the invalid count is non-zero
> * in the header written to the stream, the kernel will make
> - * sure that that many HPTEs are invalid, and invalidate them
> + * sure that many HPTEs are invalid, and invalidate them
> * if not.
> */
Paul.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] KVM: fix repeated words in comments
2022-08-31 0:44 [PATCH] KVM: fix repeated words in comments Jilin Yuan
2022-08-31 3:34 ` Paul Mackerras
@ 2022-08-31 11:06 ` Christophe Leroy
1 sibling, 0 replies; 3+ messages in thread
From: Christophe Leroy @ 2022-08-31 11:06 UTC (permalink / raw)
To: Jilin Yuan, mpe, npiggin; +Cc: linuxppc-dev, linux-kernel
Le 31/08/2022 à 02:44, Jilin Yuan a écrit :
> Delete the redundant word 'that'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
This change was already proposed and rejected here :
https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20220724062920.1551-1-wangjianli@cdjrlc.com/
Please study history before submitting such low-value changes.
> ---
> arch/powerpc/kvm/book3s_64_mmu_hv.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/powerpc/kvm/book3s_64_mmu_hv.c b/arch/powerpc/kvm/book3s_64_mmu_hv.c
> index e9744b41a226..8e4b42b5f37f 100644
> --- a/arch/powerpc/kvm/book3s_64_mmu_hv.c
> +++ b/arch/powerpc/kvm/book3s_64_mmu_hv.c
> @@ -1601,7 +1601,7 @@ long kvm_vm_ioctl_resize_hpt_commit(struct kvm *kvm,
> * is valid, it is written to the HPT as if an H_ENTER with the
> * exact flag set was done. When the invalid count is non-zero
> * in the header written to the stream, the kernel will make
> - * sure that that many HPTEs are invalid, and invalidate them
> + * sure that many HPTEs are invalid, and invalidate them
> * if not.
> */
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-31 11:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31 0:44 [PATCH] KVM: fix repeated words in comments Jilin Yuan
2022-08-31 3:34 ` Paul Mackerras
2022-08-31 11:06 ` Christophe Leroy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).