lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 16 Dec 2015 04:29:23 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Chen Gang <chengang@...ndsoft.com.cn>
Cc:	kbuild-all@...org, Arnd Bergmann <arnd@...db.de>,
	trivial@...nel.org, Linux-Arch <linux-arch@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH trivial] include: asm-generic: Notice about 80 columns in
 pgtable-no*.h

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-axm55xx_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 errors (new ones prefixed by >>):

   In file included from arch/arm/include/asm/pgtable.h:31: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-3level.h:158:2: error: expected expression before 'do'
     do {    \
     ^
   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 +/do +158 arch/arm/include/asm/pgtable-3level.h

da028779 Catalin Marinas  2011-11-22  142  #define pud_none(pud)		(!pud_val(pud))
da028779 Catalin Marinas  2011-11-22  143  #define pud_bad(pud)		(!(pud_val(pud) & 2))
da028779 Catalin Marinas  2011-11-22  144  #define pud_present(pud)	(pud_val(pud))
cc577c26 Christoffer Dall 2013-01-20  145  #define pmd_table(pmd)		((pmd_val(pmd) & PMD_TYPE_MASK) == \
cc577c26 Christoffer Dall 2013-01-20  146  						 PMD_TYPE_TABLE)
cc577c26 Christoffer Dall 2013-01-20  147  #define pmd_sect(pmd)		((pmd_val(pmd) & PMD_TYPE_MASK) == \
cc577c26 Christoffer Dall 2013-01-20  148  						 PMD_TYPE_SECT)
1fd15b87 Russell King     2013-10-23  149  #define pmd_large(pmd)		pmd_sect(pmd)
da028779 Catalin Marinas  2011-11-22  150  
da028779 Catalin Marinas  2011-11-22  151  #define pud_clear(pudp)			\
da028779 Catalin Marinas  2011-11-22  152  	do {				\
da028779 Catalin Marinas  2011-11-22  153  		*pudp = __pud(0);	\
da028779 Catalin Marinas  2011-11-22  154  		clean_pmd_entry(pudp);	\
da028779 Catalin Marinas  2011-11-22  155  	} while (0)
da028779 Catalin Marinas  2011-11-22  156  
da028779 Catalin Marinas  2011-11-22  157  #define set_pud(pudp, pud)		\
da028779 Catalin Marinas  2011-11-22 @158  	do {				\
da028779 Catalin Marinas  2011-11-22  159  		*pudp = pud;		\
da028779 Catalin Marinas  2011-11-22  160  		flush_pmd_entry(pudp);	\
da028779 Catalin Marinas  2011-11-22  161  	} while (0)
da028779 Catalin Marinas  2011-11-22  162  
da028779 Catalin Marinas  2011-11-22  163  static inline pmd_t *pud_page_vaddr(pud_t pud)
da028779 Catalin Marinas  2011-11-22  164  {
da028779 Catalin Marinas  2011-11-22  165  	return __va(pud_val(pud) & PHYS_MASK & (s32)PAGE_MASK);
da028779 Catalin Marinas  2011-11-22  166  }

:::::: The code at line 158 was first introduced by commit
:::::: da02877987e6e173ebba137d4e1e155e1f1151cd ARM: LPAE: Page table maintenance for the 3-level format

:::::: TO: Catalin Marinas <catalin.marinas@....com>
:::::: CC: Catalin Marinas <catalin.marinas@....com>

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

Download attachment ".config.gz" of type "application/octet-stream" (18491 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ