[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201604210302.gvs4r2dP%fengguang.wu@intel.com>
Date: Thu, 21 Apr 2016 03:04:40 +0800
From: kbuild test robot <lkp@...el.com>
To: Yang Shi <yang.shi@...aro.org>
Cc: kbuild-all@...org, akpm@...ux-foundation.org,
kirill.shutemov@...ux.intel.com, aarcange@...hat.com,
hughd@...gle.com, mgorman@...e.de, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, linaro-kernel@...ts.linaro.org,
yang.shi@...aro.org
Subject: Re: [PATCH] mm: move huge_pmd_set_accessed out of huge_memory.c
Hi,
[auto build test ERROR on v4.6-rc4]
[also build test ERROR on next-20160420]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Yang-Shi/mm-move-huge_pmd_set_accessed-out-of-huge_memory-c/20160421-025318
config: mips-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
# save the attached .config to linux build tree
make.cross ARCH=mips
All errors (new ones prefixed by >>):
mm/memory.c: In function 'huge_pmd_set_accessed':
>> mm/memory.c:3304:10: error: implicit declaration of function 'pmd_mkyoung' [-Werror=implicit-function-declaration]
entry = pmd_mkyoung(orig_pmd);
^
>> mm/memory.c:3304:8: error: incompatible types when assigning to type 'pmd_t {aka struct <anonymous>}' from type 'int'
entry = pmd_mkyoung(orig_pmd);
^
cc1: some warnings being treated as errors
vim +/pmd_mkyoung +3304 mm/memory.c
3298 unsigned long haddr;
3299
3300 ptl = pmd_lock(mm, pmd);
3301 if (unlikely(!pmd_same(*pmd, orig_pmd)))
3302 goto unlock;
3303
> 3304 entry = pmd_mkyoung(orig_pmd);
3305 haddr = address & HPAGE_PMD_MASK;
3306 if (pmdp_set_access_flags(vma, haddr, pmd, entry, dirty))
3307 update_mmu_cache_pmd(vma, address, pmd);
---
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" (41426 bytes)
Powered by blists - more mailing lists