linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH trivial] include/asm-generic/page.h: Notice about 80 columns
@ 2015-12-13  9:04 Chen Gang
  0 siblings, 0 replies; only message in thread
From: Chen Gang @ 2015-12-13  9:04 UTC (permalink / raw)
  To: arnd, trivial
  Cc: Linux-Arch, linux-kernel@vger.kernel.org, Chen Gang, chenwei


It is a trivial patch.

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
 include/asm-generic/page.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/asm-generic/page.h b/include/asm-generic/page.h
index 67cfb7d..e04cef4 100644
--- a/include/asm-generic/page.h
+++ b/include/asm-generic/page.h
@@ -87,7 +87,8 @@ extern unsigned long memory_end;
 #define page_to_phys(page)      ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT)
 #endif
 
-#define pfn_valid(pfn)		((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
+#define pfn_valid(pfn)		((pfn) >= ARCH_PFN_OFFSET && \
+				((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
 
 #define	virt_addr_valid(kaddr)	(((void *)(kaddr) >= (void *)PAGE_OFFSET) && \
 				((void *)(kaddr) < (void *)memory_end))
-- 
1.9.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-13  9:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-13  9:04 [PATCH trivial] include/asm-generic/page.h: Notice about 80 columns Chen Gang

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