Message ID | 20220724063622.3205-1-wangjianli@cdjrlc.com (mailing list archive) |
---|---|
State | Rejected, archived |
Headers | show |
Series | powerpc/mm: fix repeated words in comments | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/github-powerpc_selftests | success | Successfully ran 10 jobs. |
snowpatch_ozlabs/github-powerpc_ppctests | success | Successfully ran 10 jobs. |
snowpatch_ozlabs/github-powerpc_sparse | success | Successfully ran 4 jobs. |
snowpatch_ozlabs/github-powerpc_clang | success | Successfully ran 7 jobs. |
snowpatch_ozlabs/github-powerpc_kernel_qemu | success | Successfully ran 23 jobs. |
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
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);
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(-)