mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Chen Gang <chengang@emindsoft.com.cn>
Cc: kbuild-all@01.org, Arnd Bergmann <arnd@arndb.de>,
	trivial@kernel.org, Linux-Arch <linux-arch@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH trivial] include: asm-generic: Notice about 80 columns in pgtable-no*.h
Date: Tue, 15 Dec 2015 23:47:28 +0800	[thread overview]
Message-ID: <201512152302.Zy0UpM2T%fengguang.wu@intel.com> (raw)
In-Reply-To: <56702088.9080605@emindsoft.com.cn>

[-- Attachment #1: Type: text/plain, Size: 3172 bytes --]

Hi Chen,

[auto build test ERROR on v4.4-rc5]
[also build test ERROR on next-20151215]

url:    https://github.com/0day-ci/linux/commits/Chen-Gang/include-asm-generic-Notice-about-80-columns-in-pgtable-no-h/20151215-221607
config: arm-shannon_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All error/warnings (new ones prefixed by >>):

   In file included from arch/arm/include/asm/pgtable.h:33:0,
                    from include/linux/mm.h:55,
                    from arch/arm/mm/fault.c:13:
   arch/arm/mm/fault.c: In function 'do_translation_fault':
>> arch/arm/include/asm/pgtable-2level.h:187:27: error: expected expression before 'do'
    #define set_pud(pud,pudp) do { } while (0)
                              ^
   include/asm-generic/pgtable-nopud.h:36:36: note: in expansion of macro 'set_pud'
    #define set_pgd(pgdptr, pgdval)   (set_pud((pud_t *)(pgdptr), \
                                       ^
>> arch/arm/mm/fault.c:444:3: note: in expansion of macro 'set_pgd'
      set_pgd(pgd, *pgd_k);
      ^

vim +/set_pgd +444 arch/arm/mm/fault.c

^1da177e Linus Torvalds 2005-04-16  428  	pmd_t *pmd, *pmd_k;
^1da177e Linus Torvalds 2005-04-16  429  
^1da177e Linus Torvalds 2005-04-16  430  	if (addr < TASK_SIZE)
^1da177e Linus Torvalds 2005-04-16  431  		return do_page_fault(addr, fsr, regs);
^1da177e Linus Torvalds 2005-04-16  432  
5e27fb78 Anfei          2010-06-08  433  	if (user_mode(regs))
5e27fb78 Anfei          2010-06-08  434  		goto bad_area;
5e27fb78 Anfei          2010-06-08  435  
^1da177e Linus Torvalds 2005-04-16  436  	index = pgd_index(addr);
^1da177e Linus Torvalds 2005-04-16  437  
^1da177e Linus Torvalds 2005-04-16  438  	pgd = cpu_get_pgd() + index;
^1da177e Linus Torvalds 2005-04-16  439  	pgd_k = init_mm.pgd + index;
^1da177e Linus Torvalds 2005-04-16  440  
^1da177e Linus Torvalds 2005-04-16  441  	if (pgd_none(*pgd_k))
^1da177e Linus Torvalds 2005-04-16  442  		goto bad_area;
^1da177e Linus Torvalds 2005-04-16  443  	if (!pgd_present(*pgd))
^1da177e Linus Torvalds 2005-04-16 @444  		set_pgd(pgd, *pgd_k);
^1da177e Linus Torvalds 2005-04-16  445  
516295e5 Russell King   2010-11-21  446  	pud = pud_offset(pgd, addr);
516295e5 Russell King   2010-11-21  447  	pud_k = pud_offset(pgd_k, addr);
516295e5 Russell King   2010-11-21  448  
516295e5 Russell King   2010-11-21  449  	if (pud_none(*pud_k))
516295e5 Russell King   2010-11-21  450  		goto bad_area;
516295e5 Russell King   2010-11-21  451  	if (!pud_present(*pud))
516295e5 Russell King   2010-11-21  452  		set_pud(pud, *pud_k);

:::::: The code at line 444 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 11564 bytes --]

  parent reply	other threads:[~2015-12-15 15:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-15 14:15 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201512152302.Zy0UpM2T%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=chengang@emindsoft.com.cn \
    --cc=kbuild-all@01.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®