* [rgushchin:fix_vmstats 210/221] arch/microblaze/include/asm/pgalloc.h:63:7: error: implicit declaration of function 'pgtable_page_ctor'; did you mean 'pgtable_pmd_page_ctor'?
@ 2019-08-13 4:38 kbuild test robot
2019-08-13 9:53 ` Mark Rutland
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2019-08-13 4:38 UTC (permalink / raw)
To: Mark Rutland
Cc: kbuild-all, Roman Gushchin, Johannes Weiner, Mike Rapoport,
Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 2451 bytes --]
tree: https://github.com/rgushchin/linux.git fix_vmstats
head: 4ec858b5201ae067607e82706b36588631c1b990
commit: 8abab7c3016f03edee681cd2a8231c0a4f567ec9 [210/221] mm: treewide: clarify pgtable_page_{ctor,dtor}() naming
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 8abab7c3016f03edee681cd2a8231c0a4f567ec9
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=microblaze
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from arch/microblaze/kernel/process.c:21:0:
arch/microblaze/include/asm/pgalloc.h: In function 'pte_alloc_one':
>> arch/microblaze/include/asm/pgalloc.h:63:7: error: implicit declaration of function 'pgtable_page_ctor'; did you mean 'pgtable_pmd_page_ctor'? [-Werror=implicit-function-declaration]
if (!pgtable_page_ctor(ptepage)) {
^~~~~~~~~~~~~~~~~
pgtable_pmd_page_ctor
cc1: some warnings being treated as errors
vim +63 arch/microblaze/include/asm/pgalloc.h
1f84e1ea0e87ad Michal Simek 2009-05-26 59
1f84e1ea0e87ad Michal Simek 2009-05-26 60 ptepage = alloc_pages(flags, 0);
8abe73465660f1 Kirill A. Shutemov 2013-11-14 61 if (!ptepage)
8abe73465660f1 Kirill A. Shutemov 2013-11-14 62 return NULL;
8abe73465660f1 Kirill A. Shutemov 2013-11-14 @63 if (!pgtable_page_ctor(ptepage)) {
8abe73465660f1 Kirill A. Shutemov 2013-11-14 64 __free_page(ptepage);
8abe73465660f1 Kirill A. Shutemov 2013-11-14 65 return NULL;
8abe73465660f1 Kirill A. Shutemov 2013-11-14 66 }
1f84e1ea0e87ad Michal Simek 2009-05-26 67 return ptepage;
1f84e1ea0e87ad Michal Simek 2009-05-26 68 }
1f84e1ea0e87ad Michal Simek 2009-05-26 69
:::::: The code at line 63 was first introduced by commit
:::::: 8abe73465660f12dee03871f681175f4dae62e7f microblaze: add missing pgtable_page_ctor/dtor calls
:::::: TO: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.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: 14011 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [rgushchin:fix_vmstats 210/221] arch/microblaze/include/asm/pgalloc.h:63:7: error: implicit declaration of function 'pgtable_page_ctor'; did you mean 'pgtable_pmd_page_ctor'?
2019-08-13 4:38 [rgushchin:fix_vmstats 210/221] arch/microblaze/include/asm/pgalloc.h:63:7: error: implicit declaration of function 'pgtable_page_ctor'; did you mean 'pgtable_pmd_page_ctor'? kbuild test robot
@ 2019-08-13 9:53 ` Mark Rutland
2019-08-13 10:06 ` Mike Rapoport
0 siblings, 1 reply; 3+ messages in thread
From: Mark Rutland @ 2019-08-13 9:53 UTC (permalink / raw)
To: kbuild test robot
Cc: kbuild-all, Roman Gushchin, Johannes Weiner, Mike Rapoport,
Andrew Morton, Linux Memory Management List
On Tue, Aug 13, 2019 at 12:38:50PM +0800, kbuild test robot wrote:
> tree: https://github.com/rgushchin/linux.git fix_vmstats
> head: 4ec858b5201ae067607e82706b36588631c1b990
> commit: 8abab7c3016f03edee681cd2a8231c0a4f567ec9 [210/221] mm: treewide: clarify pgtable_page_{ctor,dtor}() naming
> config: microblaze-mmu_defconfig (attached as .config)
> compiler: microblaze-linux-gcc (GCC) 7.4.0
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 8abab7c3016f03edee681cd2a8231c0a4f567ec9
> # save the attached .config to linux build tree
> GCC_VERSION=7.4.0 make.cross ARCH=microblaze
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> In file included from arch/microblaze/kernel/process.c:21:0:
> arch/microblaze/include/asm/pgalloc.h: In function 'pte_alloc_one':
> >> arch/microblaze/include/asm/pgalloc.h:63:7: error: implicit declaration of function 'pgtable_page_ctor'; did you mean 'pgtable_pmd_page_ctor'? [-Werror=implicit-function-declaration]
> if (!pgtable_page_ctor(ptepage)) {
> ^~~~~~~~~~~~~~~~~
> pgtable_pmd_page_ctor
> cc1: some warnings being treated as errors
This was correctly changed to pgtable_pte_page_ctor() in patch I posted
[1], and the version in today's linux-next (next-20190813), so AFAICT a
hunk went missing when it was applied to this tree.
Dodgy rebase?
Thanks,
Mark.
>
> vim +63 arch/microblaze/include/asm/pgalloc.h
>
> 1f84e1ea0e87ad Michal Simek 2009-05-26 59
> 1f84e1ea0e87ad Michal Simek 2009-05-26 60 ptepage = alloc_pages(flags, 0);
> 8abe73465660f1 Kirill A. Shutemov 2013-11-14 61 if (!ptepage)
> 8abe73465660f1 Kirill A. Shutemov 2013-11-14 62 return NULL;
> 8abe73465660f1 Kirill A. Shutemov 2013-11-14 @63 if (!pgtable_page_ctor(ptepage)) {
> 8abe73465660f1 Kirill A. Shutemov 2013-11-14 64 __free_page(ptepage);
> 8abe73465660f1 Kirill A. Shutemov 2013-11-14 65 return NULL;
> 8abe73465660f1 Kirill A. Shutemov 2013-11-14 66 }
> 1f84e1ea0e87ad Michal Simek 2009-05-26 67 return ptepage;
> 1f84e1ea0e87ad Michal Simek 2009-05-26 68 }
> 1f84e1ea0e87ad Michal Simek 2009-05-26 69
>
> :::::: The code at line 63 was first introduced by commit
> :::::: 8abe73465660f12dee03871f681175f4dae62e7f microblaze: add missing pgtable_page_ctor/dtor calls
>
> :::::: TO: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> :::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [rgushchin:fix_vmstats 210/221] arch/microblaze/include/asm/pgalloc.h:63:7: error: implicit declaration of function 'pgtable_page_ctor'; did you mean 'pgtable_pmd_page_ctor'?
2019-08-13 9:53 ` Mark Rutland
@ 2019-08-13 10:06 ` Mike Rapoport
0 siblings, 0 replies; 3+ messages in thread
From: Mike Rapoport @ 2019-08-13 10:06 UTC (permalink / raw)
To: Mark Rutland
Cc: kbuild test robot, kbuild-all, Roman Gushchin, Johannes Weiner,
Andrew Morton, Linux Memory Management List
On Tue, Aug 13, 2019 at 10:53:12AM +0100, Mark Rutland wrote:
> On Tue, Aug 13, 2019 at 12:38:50PM +0800, kbuild test robot wrote:
> > tree: https://github.com/rgushchin/linux.git fix_vmstats
> > head: 4ec858b5201ae067607e82706b36588631c1b990
> > commit: 8abab7c3016f03edee681cd2a8231c0a4f567ec9 [210/221] mm: treewide: clarify pgtable_page_{ctor,dtor}() naming
> > config: microblaze-mmu_defconfig (attached as .config)
> > compiler: microblaze-linux-gcc (GCC) 7.4.0
> > reproduce:
> > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > git checkout 8abab7c3016f03edee681cd2a8231c0a4f567ec9
> > # save the attached .config to linux build tree
> > GCC_VERSION=7.4.0 make.cross ARCH=microblaze
> >
> > If you fix the issue, kindly add following tag
> > Reported-by: kbuild test robot <lkp@intel.com>
> >
> > All errors (new ones prefixed by >>):
> >
> > In file included from arch/microblaze/kernel/process.c:21:0:
> > arch/microblaze/include/asm/pgalloc.h: In function 'pte_alloc_one':
> > >> arch/microblaze/include/asm/pgalloc.h:63:7: error: implicit declaration of function 'pgtable_page_ctor'; did you mean 'pgtable_pmd_page_ctor'? [-Werror=implicit-function-declaration]
> > if (!pgtable_page_ctor(ptepage)) {
> > ^~~~~~~~~~~~~~~~~
> > pgtable_pmd_page_ctor
> > cc1: some warnings being treated as errors
>
> This was correctly changed to pgtable_pte_page_ctor() in patch I posted
> [1], and the version in today's linux-next (next-20190813), so AFAICT a
> hunk went missing when it was applied to this tree.
There is a conflict between your patch and the removal of quicklist for pte
allocations for microblaze. I'm sending a "fix" in a short while.
> Dodgy rebase?
>
> Thanks,
> Mark.
>
> >
> > vim +63 arch/microblaze/include/asm/pgalloc.h
> >
> > 1f84e1ea0e87ad Michal Simek 2009-05-26 59
> > 1f84e1ea0e87ad Michal Simek 2009-05-26 60 ptepage = alloc_pages(flags, 0);
> > 8abe73465660f1 Kirill A. Shutemov 2013-11-14 61 if (!ptepage)
> > 8abe73465660f1 Kirill A. Shutemov 2013-11-14 62 return NULL;
> > 8abe73465660f1 Kirill A. Shutemov 2013-11-14 @63 if (!pgtable_page_ctor(ptepage)) {
> > 8abe73465660f1 Kirill A. Shutemov 2013-11-14 64 __free_page(ptepage);
> > 8abe73465660f1 Kirill A. Shutemov 2013-11-14 65 return NULL;
> > 8abe73465660f1 Kirill A. Shutemov 2013-11-14 66 }
> > 1f84e1ea0e87ad Michal Simek 2009-05-26 67 return ptepage;
> > 1f84e1ea0e87ad Michal Simek 2009-05-26 68 }
> > 1f84e1ea0e87ad Michal Simek 2009-05-26 69
> >
> > :::::: The code at line 63 was first introduced by commit
> > :::::: 8abe73465660f12dee03871f681175f4dae62e7f microblaze: add missing pgtable_page_ctor/dtor calls
> >
> > :::::: TO: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> > :::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
> >
> > ---
> > 0-DAY kernel test infrastructure Open Source Technology Center
> > https://lists.01.org/pipermail/kbuild-all Intel Corporation
>
>
--
Sincerely yours,
Mike.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-08-13 10:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-13 4:38 [rgushchin:fix_vmstats 210/221] arch/microblaze/include/asm/pgalloc.h:63:7: error: implicit declaration of function 'pgtable_page_ctor'; did you mean 'pgtable_pmd_page_ctor'? kbuild test robot
2019-08-13 9:53 ` Mark Rutland
2019-08-13 10:06 ` Mike Rapoport
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).