[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201705260111.PCjyEyr4%fengguang.wu@intel.com>
Date: Fri, 26 May 2017 01:06:43 +0800
From: kbuild test robot <lkp@...el.com>
To: Zi Yan <zi.yan@...t.com>
Cc: kbuild-all@...org, n-horiguchi@...jp.nec.com,
kirill.shutemov@...ux.intel.com, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, akpm@...ux-foundation.org, minchan@...nel.org,
vbabka@...e.cz, mgorman@...hsingularity.net, mhocko@...nel.org,
khandual@...ux.vnet.ibm.com, zi.yan@...rutgers.edu,
dnellans@...dia.com, dave.hansen@...el.com
Subject: Re: [PATCH v6 05/10] mm: thp: enable thp migration in generic path
Hi Zi,
[auto build test WARNING on mmotm/master]
[also build test WARNING on v4.12-rc2 next-20170525]
[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/Zi-Yan/mm-page-migration-enhancement-for-thp/20170526-003749
base: git://git.cmpxchg.org/linux-mmotm.git master
config: i386-randconfig-x016-201721 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
In file included from fs/proc/task_mmu.c:15:0:
include/linux/swapops.h: In function 'swp_entry_to_pmd':
>> include/linux/swapops.h:222:16: warning: missing braces around initializer [-Wmissing-braces]
return (pmd_t){{ 0 }};
^
include/linux/swapops.h:222:16: note: (near initialization for '(anonymous)')
vim +222 include/linux/swapops.h
206 struct page *new)
207 {
208 BUILD_BUG();
209 }
210
211 static inline void pmd_migration_entry_wait(struct mm_struct *m, pmd_t *p) { }
212
213 static inline swp_entry_t pmd_to_swp_entry(pmd_t pmd)
214 {
215 BUILD_BUG();
216 return swp_entry(0, 0);
217 }
218
219 static inline pmd_t swp_entry_to_pmd(swp_entry_t entry)
220 {
221 BUILD_BUG();
> 222 return (pmd_t){{ 0 }};
223 }
224
225 static inline int is_pmd_migration_entry(pmd_t pmd)
226 {
227 return 0;
228 }
229 #endif
230
---
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/gzip" (31611 bytes)
Powered by blists - more mailing lists