tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: ebc7163fafb29c390519378897c201748acc2756 commit: 3ba93823a8cd96b9408cd738a9dcd774a9423a04 [4308/6262] mm: fix huge zero page accounting in smaps report config: sparc64-allyesconfig (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 git checkout 3ba93823a8cd96b9408cd738a9dcd774a9423a04 # save the attached .config to linux build tree make.cross ARCH=sparc64 All error/warnings: In file included from arch/sparc/include/asm/pgtable.h:4:0, from include/linux/mm.h:52, from include/linux/scatterlist.h:6, from include/linux/dma-mapping.h:9, from arch/sparc/include/asm/pci_64.h:6, from arch/sparc/include/asm/pci.h:4, from include/linux/pci.h:1440, from drivers/scsi/aic94xx/aic94xx_init.c:30: arch/sparc/include/asm/pgtable_64.h: In function 'pmd_dirty': >> arch/sparc/include/asm/pgtable_64.h:674:2: error: incompatible types when returning type 'long unsigned int' but 'pmd_t' was expected return pte_dirty(pte); ^ -- In file included from arch/sparc/include/asm/pgtable.h:4:0, from include/linux/mm.h:52, from fs/proc/task_mmu.c:1: arch/sparc/include/asm/pgtable_64.h: In function 'pmd_dirty': >> arch/sparc/include/asm/pgtable_64.h:674:2: error: incompatible types when returning type 'long unsigned int' but 'pmd_t' was expected return pte_dirty(pte); ^ fs/proc/task_mmu.c: In function 'smaps_pmd_entry': >> fs/proc/task_mmu.c:523:2: error: incompatible type for argument 5 of 'smaps_account' smaps_account(mss, page, HPAGE_PMD_SIZE, ^ fs/proc/task_mmu.c:450:13: note: expected 'bool' but argument is of type 'pmd_t' static void smaps_account(struct mem_size_stats *mss, struct page *page, ^ vim +674 arch/sparc/include/asm/pgtable_64.h 668 669 #ifdef CONFIG_TRANSPARENT_HUGEPAGE 670 static inline pmd_t pmd_dirty(pmd_t pmd) 671 { 672 pte_t pte = __pte(pmd_val(pmd)); 673 > 674 return pte_dirty(pte); 675 } 676 677 static inline unsigned long pmd_young(pmd_t pmd) --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation