linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/mm: fix repeated words in comments
@ 2022-07-24  6:36 wangjianli
  2022-07-25  1:46 ` Segher Boessenkool
  0 siblings, 1 reply; 2+ messages in thread
From: wangjianli @ 2022-07-24  6:36 UTC (permalink / raw)
  To: mpe, benh, paulus; +Cc: linuxppc-dev, linux-kernel, wangjianli

 Delete the redundant word 'so'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
 arch/powerpc/mm/init-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/mm/init-common.c b/arch/powerpc/mm/init-common.c
index 119ef491f797..acf5d7ba79d1 100644
--- a/arch/powerpc/mm/init-common.c
+++ b/arch/powerpc/mm/init-common.c
@@ -130,7 +130,7 @@ void pgtable_cache_add(unsigned int shift)
 
 	/* It would be nice if this was a BUILD_BUG_ON(), but at the
 	 * moment, gcc doesn't seem to recognize is_power_of_2 as a
-	 * constant expression, so so much for that. */
+	 * constant expression, so much for that. */
 	BUG_ON(!is_power_of_2(minalign));
 	BUG_ON(shift > MAX_PGTABLE_INDEX_SIZE);
 
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] powerpc/mm: fix repeated words in comments
  2022-07-24  6:36 [PATCH] powerpc/mm: fix repeated words in comments wangjianli
@ 2022-07-25  1:46 ` Segher Boessenkool
  0 siblings, 0 replies; 2+ messages in thread
From: Segher Boessenkool @ 2022-07-25  1:46 UTC (permalink / raw)
  To: wangjianli; +Cc: mpe, benh, paulus, linuxppc-dev, linux-kernel

On Sun, Jul 24, 2022 at 02:36:22PM +0800, wangjianli wrote:
>  Delete the redundant word 'so'.

>  	/* It would be nice if this was a BUILD_BUG_ON(), but at the
>  	 * moment, gcc doesn't seem to recognize is_power_of_2 as a
> -	 * constant expression, so so much for that. */
> +	 * constant expression, so much for that. */

It is not redundant here.  The first "so" means "therefore", and the
second "so" means "to such a great extent".


Segher

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-25  1:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-24  6:36 [PATCH] powerpc/mm: fix repeated words in comments wangjianli
2022-07-25  1:46 ` Segher Boessenkool

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).