public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH trivial] include: asm-generic: Notice about 80 columns in pgtable-no*.h
@ 2015-12-15 14:15 Chen Gang
  2015-12-15 14:20 ` Chen Gang
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Chen Gang @ 2015-12-15 14:15 UTC (permalink / raw)
  To: Arnd Bergmann, trivial; +Cc: Linux-Arch, linux-kernel@vger.kernel.org


It is a trivial patch.

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
 include/asm-generic/pgtable-nopmd.h | 3 ++-
 include/asm-generic/pgtable-nopud.h | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/asm-generic/pgtable-nopmd.h b/include/asm-generic/pgtable-nopmd.h
index 725612b..7a81185 100644
--- a/include/asm-generic/pgtable-nopmd.h
+++ b/include/asm-generic/pgtable-nopmd.h
@@ -38,7 +38,8 @@ static inline void pud_clear(pud_t *pud)	{ }
  * (pmds are folded into puds so this doesn't get actually called,
  * but the define is needed for a generic inline function.)
  */
-#define set_pud(pudptr, pudval)			set_pmd((pmd_t *)(pudptr), (pmd_t) { pudval })
+#define set_pud(pudptr, pudval)			(set_pmd((pmd_t *)(pudptr), \
+							(pmd_t) { pudval }))
 
 static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address)
 {
diff --git a/include/asm-generic/pgtable-nopud.h b/include/asm-generic/pgtable-nopud.h
index 810431d..bc78818 100644
--- a/include/asm-generic/pgtable-nopud.h
+++ b/include/asm-generic/pgtable-nopud.h
@@ -33,7 +33,8 @@ static inline void pgd_clear(pgd_t *pgd)	{ }
  * (puds are folded into pgds so this doesn't get actually called,
  * but the define is needed for a generic inline function.)
  */
-#define set_pgd(pgdptr, pgdval)			set_pud((pud_t *)(pgdptr), (pud_t) { pgdval })
+#define set_pgd(pgdptr, pgdval)			(set_pud((pud_t *)(pgdptr), \
+							(pud_t) { pgdval }))
 
 static inline pud_t * pud_offset(pgd_t * pgd, unsigned long address)
 {
-- 
1.9.3

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

end of thread, other threads:[~2015-12-15 22:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15 14:15 [PATCH trivial] include: asm-generic: Notice about 80 columns in pgtable-no*.h Chen Gang
2015-12-15 14:20 ` Chen Gang
2015-12-15 15:34 ` kbuild test robot
2015-12-15 15:47 ` kbuild test robot
2015-12-15 15:50   ` Arnd Bergmann
2015-12-15 21:57     ` Chen Gang
2015-12-15 20:26 ` Joe Perches
2015-12-15 22:06   ` Chen Gang
2015-12-15 20:29 ` kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox