linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] module: remove extra spaces in include/asm-generic/tlb.h
@ 2021-03-03  3:04 menglong8.dong
  2021-03-03  3:11 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: menglong8.dong @ 2021-03-03  3:04 UTC (permalink / raw)
  To: will
  Cc: aneesh.kumar, akpm, npiggin, peterz, arnd, linux-arch, linux-mm,
	linux-kernel, Zhang Yunkai

From: Zhang Yunkai <zhang.yunkai@zte.com.cn>

Some typos are found out by codespell tool:

"# define" should be "#define".

Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
---
 include/asm-generic/tlb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb.h
index 2c68a545ffa7..5be89d9ba362 100644
--- a/include/asm-generic/tlb.h
+++ b/include/asm-generic/tlb.h
@@ -23,7 +23,7 @@
  * the loaded mm.
  */
 #ifndef nmi_uaccess_okay
-# define nmi_uaccess_okay() true
+#define nmi_uaccess_okay() true
 #endif
 
 #ifdef CONFIG_MMU
-- 
2.25.1



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

* Re: [PATCH] module: remove extra spaces in include/asm-generic/tlb.h
  2021-03-03  3:04 [PATCH] module: remove extra spaces in include/asm-generic/tlb.h menglong8.dong
@ 2021-03-03  3:11 ` Matthew Wilcox
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Wilcox @ 2021-03-03  3:11 UTC (permalink / raw)
  To: menglong8.dong
  Cc: will, aneesh.kumar, akpm, npiggin, peterz, arnd, linux-arch,
	linux-mm, linux-kernel, Zhang Yunkai

On Tue, Mar 02, 2021 at 07:04:43PM -0800, menglong8.dong@gmail.com wrote:
> From: Zhang Yunkai <zhang.yunkai@zte.com.cn>
> 
> Some typos are found out by codespell tool:
> 
> "# define" should be "#define".

Your tool is broken.  This is a style used by some to indicate nesting.


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

end of thread, other threads:[~2021-03-03  3:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03  3:04 [PATCH] module: remove extra spaces in include/asm-generic/tlb.h menglong8.dong
2021-03-03  3:11 ` Matthew Wilcox

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