Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1429414

Re: [PATCH 2/2] sparc64: Fix pagetable freeing for hugepage regions

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] sparc64: Fix pagetable freeing for hugepage regions
Date 2016-06-23 04:40 +0200
Message-ID <rN2IF-3BK-9@gated-at.bofh.it> (permalink)
References <rN1tg-2Ol-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

[auto build test ERROR on sparc/master]
[also build test ERROR on v4.7-rc4 next-20160622]
[cannot apply to sparc-next/master]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Nitin-Gupta/sparc64-Trim-page-tables-for-8M-hugepages/20160623-092926
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git master
config: i386-defconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from include/linux/hugetlb.h:420:0,
                    from kernel/fork.c:38:
>> arch/x86/include/asm/hugetlb.h:30:20: error: static declaration of 'hugetlb_free_pgd_range' follows non-static declaration
    static inline void hugetlb_free_pgd_range(struct mmu_gather *tlb,
                       ^~~~~~~~~~~~~~~~~~~~~~
   In file included from kernel/fork.c:38:0:
   include/linux/hugetlb.h:123:6: note: previous declaration of 'hugetlb_free_pgd_range' was here
    void hugetlb_free_pgd_range(struct mmu_gather *tlb, unsigned long addr,
         ^~~~~~~~~~~~~~~~~~~~~~

vim +/hugetlb_free_pgd_range +30 arch/x86/include/asm/hugetlb.h

6d779079 include/asm-x86/hugetlb.h Gerald Schaefer 2008-04-28  24  		return -EINVAL;
a5516438 include/asm-x86/hugetlb.h Andi Kleen      2008-07-23  25  	if (addr & ~huge_page_mask(h))
6d779079 include/asm-x86/hugetlb.h Gerald Schaefer 2008-04-28  26  		return -EINVAL;
6d779079 include/asm-x86/hugetlb.h Gerald Schaefer 2008-04-28  27  	return 0;
6d779079 include/asm-x86/hugetlb.h Gerald Schaefer 2008-04-28  28  }
6d779079 include/asm-x86/hugetlb.h Gerald Schaefer 2008-04-28  29  
42b77728 include/asm-x86/hugetlb.h Jan Beulich     2008-07-23 @30  static inline void hugetlb_free_pgd_range(struct mmu_gather *tlb,
6d779079 include/asm-x86/hugetlb.h Gerald Schaefer 2008-04-28  31  					  unsigned long addr, unsigned long end,
6d779079 include/asm-x86/hugetlb.h Gerald Schaefer 2008-04-28  32  					  unsigned long floor,
6d779079 include/asm-x86/hugetlb.h Gerald Schaefer 2008-04-28  33  					  unsigned long ceiling)

:::::: The code at line 30 was first introduced by commit
:::::: 42b7772812d15b86543a23b82bd6070eef9a08b1 mm: remove double indirection on tlb parameter to free_pgd_range() & Co

:::::: TO: Jan Beulich <jbeulich@novell.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] sparc64: Trim page tables for 8M hugepages Nitin Gupta <nitin.m.gupta@oracle.com> - 2016-06-23 03:20 +0200
  [PATCH 2/2] sparc64: Fix pagetable freeing for hugepage regions Nitin Gupta <nitin.m.gupta@oracle.com> - 2016-06-23 03:20 +0200
    Re: [PATCH 2/2] sparc64: Fix pagetable freeing for hugepage regions kbuild test robot <lkp@intel.com> - 2016-06-23 04:40 +0200
    Re: [PATCH 2/2] sparc64: Fix pagetable freeing for hugepage regions kbuild test robot <lkp@intel.com> - 2016-06-23 05:30 +0200
    Re: [PATCH 2/2] sparc64: Fix pagetable freeing for hugepage regions kbuild test robot <lkp@intel.com> - 2016-06-23 05:40 +0200

csiph-web