* [mmotm:master 56/204] include/linux/swapops.h:220:9: error: implicit declaration of function '__pmd'
@ 2017-08-14 7:01 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-08-14 7:01 UTC (permalink / raw)
To: Zi Yan
Cc: kbuild-all, Johannes Weiner, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 1448 bytes --]
tree: git://git.cmpxchg.org/linux-mmotm.git master
head: 16a1d38e82793981d3e8985ff21cea6ac93ba047
commit: 792804d6e8440cee5881a64104194661eff74148 [56/204] mm-thp-enable-thp-migration-in-generic-path-fix
config: sparc-defconfig (attached as .config)
compiler: sparc-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 792804d6e8440cee5881a64104194661eff74148
# save the attached .config to linux build tree
make.cross ARCH=sparc
All errors (new ones prefixed by >>):
In file included from mm/vmscan.c:55:0:
include/linux/swapops.h: In function 'swp_entry_to_pmd':
>> include/linux/swapops.h:220:9: error: implicit declaration of function '__pmd' [-Werror=implicit-function-declaration]
return __pmd(0);
^~~~~
>> include/linux/swapops.h:220:9: error: incompatible types when returning type 'int' but 'pmd_t {aka struct <anonymous>}' was expected
return __pmd(0);
^~~~~~~~
cc1: some warnings being treated as errors
vim +/__pmd +220 include/linux/swapops.h
217
218 static inline pmd_t swp_entry_to_pmd(swp_entry_t entry)
219 {
> 220 return __pmd(0);
221 }
222
---
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: 12095 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-08-14 7:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-14 7:01 [mmotm:master 56/204] include/linux/swapops.h:220:9: error: implicit declaration of function '__pmd' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox