Re: [PATCH v2 05/12] mm: thp: add core routines for thp/pmd migration

From: kbuild test robot
Date: Mon Nov 07 2016 - 22:06:45 EST


Hi Naoya,

[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.9-rc4 next-20161028]
[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/Naoya-Horiguchi/mm-x86-move-_PAGE_SWP_SOFT_DIRTY-from-bit-7-to-bit-6/20161108-080615
base: git://git.cmpxchg.org/linux-mmotm.git master
config: arm-at91_dt_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
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=arm

All errors (new ones prefixed by >>):

In file included from fs/proc/task_mmu.c:14:0:
include/linux/swapops.h: In function 'swp_entry_to_pmd':
>> include/linux/swapops.h:216:14: error: empty scalar initializer
pmd_t pmd = {};
^
include/linux/swapops.h:216:14: note: (near initialization for 'pmd')

vim +216 include/linux/swapops.h

210 {
211 return swp_entry(0, 0);
212 }
213
214 static inline pmd_t swp_entry_to_pmd(swp_entry_t entry)
215 {
> 216 pmd_t pmd = {};
217
218 return pmd;
219 }

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

Attachment: .config.gz
Description: application/gzip