All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Michal Hocko <mhocko@kernel.org>
Cc: kbuild-all@01.org, Andrew Morton <akpm@linux-foundation.org>,
	Vlastimil Babka <vbabka@suse.cz>,
	linux-mm@kvack.org, LKML <linux-kernel@vger.kernel.org>,
	Michal Hocko <mhocko@suse.com>
Subject: Re: [PATCH] mm, vmalloc: properly track vmalloc users
Date: Wed, 3 May 2017 09:29:21 +0800	[thread overview]
Message-ID: <201705030940.1ufJ0yFy%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170502134657.12381-1-mhocko@kernel.org>

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

Hi Michal,

[auto build test ERROR on mmotm/master]
[also build test ERROR on next-20170502]
[cannot apply to v4.11]
[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/Michal-Hocko/mm-vmalloc-properly-track-vmalloc-users/20170503-065022
base:   git://git.cmpxchg.org/linux-mmotm.git master
config: m68k-multi_defconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All errors (new ones prefixed by >>):

   In file included from arch/m68k/include/asm/pgtable_mm.h:147:0,
                    from arch/m68k/include/asm/pgtable.h:4,
                    from include/linux/vmalloc.h:9,
                    from fs/nfsd/nfscache.c:12:
   arch/m68k/include/asm/motorola_pgtable.h: In function 'pgd_offset':
>> arch/m68k/include/asm/motorola_pgtable.h:198:11: error: dereferencing pointer to incomplete type
     return mm->pgd + pgd_index(address);
              ^

vim +198 arch/m68k/include/asm/motorola_pgtable.h

^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  182  }
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  183  static inline pte_t pte_mkcache(pte_t pte)
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  184  {
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  185  	pte_val(pte) = (pte_val(pte) & _CACHEMASK040) | m68k_supervisor_cachemode;
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  186  	return pte;
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  187  }
7e675137 include/asm-m68k/motorola_pgtable.h Nick Piggin        2008-04-28  188  static inline pte_t pte_mkspecial(pte_t pte)	{ return pte; }
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  189  
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  190  #define PAGE_DIR_OFFSET(tsk,address) pgd_offset((tsk),(address))
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  191  
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  192  #define pgd_index(address)     ((address) >> PGDIR_SHIFT)
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  193  
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  194  /* to find an entry in a page-table-directory */
5b808a59 include/asm-m68k/motorola_pgtable.h Geert Uytterhoeven 2008-02-07  195  static inline pgd_t *pgd_offset(const struct mm_struct *mm,
5b808a59 include/asm-m68k/motorola_pgtable.h Geert Uytterhoeven 2008-02-07  196  				unsigned long address)
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  197  {
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16 @198  	return mm->pgd + pgd_index(address);
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  199  }
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  200  
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  201  #define swapper_pg_dir kernel_pg_dir
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  202  extern pgd_t kernel_pg_dir[128];
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  203  
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  204  static inline pgd_t *pgd_offset_k(unsigned long address)
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  205  {
^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds     2005-04-16  206  	return kernel_pg_dir + (address >> PGDIR_SHIFT);

:::::: The code at line 198 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/gzip, Size: 13571 bytes --]

      parent reply	other threads:[~2017-05-03  1:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-02 13:46 Michal Hocko
2017-05-02 13:46 ` Michal Hocko
2017-05-03  0:52 ` kbuild test robot
2017-05-03  6:37   ` Michal Hocko
2017-05-03  6:37     ` Michal Hocko
2017-05-03 13:09     ` Michal Hocko
2017-05-03 13:09       ` Michal Hocko
2017-05-09 11:19     ` Michal Hocko
2017-05-09 11:19       ` Michal Hocko
2017-05-03  1:29 ` kbuild test robot [this message]

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=201705030940.1ufJ0yFy%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@kernel.org \
    --cc=mhocko@suse.com \
    --cc=vbabka@suse.cz \
    --subject='Re: [PATCH] mm, vmalloc: properly track vmalloc users' \
    /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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.