Re: [PATCH 1/9] hugetlb: Pass vma into huge_pte_alloc()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Axel,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on arm64/for-next/core]
[also build test ERROR on powerpc/next s390/features tip/perf/core linus/master v5.11-rc3 next-20210115]
[cannot apply to hp-parisc/for-next hnaz-linux-mm/master ia64/next sparc-next/master sparc/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Axel-Rasmussen/userfaultfd-add-minor-fault-handling/20210116-030900
base:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: mips-cavium_octeon_defconfig (attached as .config)
compiler: mips64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/4af095177515048cbeff41653579e2243fef2295
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Axel-Rasmussen/userfaultfd-add-minor-fault-handling/20210116-030900
        git checkout 4af095177515048cbeff41653579e2243fef2295
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> arch/mips/mm/hugetlbpage.c:24:45: error: unknown type name 'structt'; did you mean 'struct'?
      24 | pte_t *huge_pte_alloc(struct mm_struct *mm, structt vm_area_struct *vma,
         |                                             ^~~~~~~
         |                                             struct


vim +24 arch/mips/mm/hugetlbpage.c

    23	
  > 24	pte_t *huge_pte_alloc(struct mm_struct *mm, structt vm_area_struct *vma,
    25			      unsigned long addr, unsigned long sz)
    26	{
    27		pgd_t *pgd;
    28		p4d_t *p4d;
    29		pud_t *pud;
    30		pte_t *pte = NULL;
    31	
    32		pgd = pgd_offset(mm, addr);
    33		p4d = p4d_alloc(mm, pgd, addr);
    34		pud = pud_alloc(mm, p4d, addr);
    35		if (pud)
    36			pte = (pte_t *)pmd_alloc(mm, pud, addr);
    37	
    38		return pte;
    39	}
    40	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux