From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933513AbbLOOSD (ORCPT ); Tue, 15 Dec 2015 09:18:03 -0500 Received: from mail113-248.mail.alibaba.com ([205.204.113.248]:53197 "EHLO us-alimail-mta1.hst.scl.en.alidc.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753682AbbLOOR5 (ORCPT ); Tue, 15 Dec 2015 09:17:57 -0500 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.07470047|-1;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03308;MF=chengang@emindsoft.com.cn;NM=1;PH=DS;RN=6;RT=5;SR=0;TI=SMTPD_----4Lr4P7L_1450189023; Message-ID: <56702193.9040004@emindsoft.com.cn> Date: Tue, 15 Dec 2015 22:20:03 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Arnd Bergmann , trivial@kernel.org CC: Linux-Arch , "linux-kernel@vger.kernel.org" , Andrew Morton Subject: Re: [PATCH trivial] include: asm-generic: Notice about 80 columns in pgtable-no*.h References: <56702088.9080605@emindsoft.com.cn> In-Reply-To: <56702088.9080605@emindsoft.com.cn> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After this patch, I finish 'scanning' mm related headers in "include/asm-genric/*". Next I shall continue 'scanning' mm related headers in "include/linux/*" to know about the common sense information. Thanks. On 12/15/15 22:15, Chen Gang wrote: > > It is a trivial patch. > > Signed-off-by: Chen Gang > --- > 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) > { > -- Chen Gang (陈刚) Open, share, and attitude like air, water, and life which God blessed