tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d5beb3140f91b1c8a3d41b14d729aefa4dcc58bc
commit: a927bd6ba952d13c52b8b385030943032f659a3e mm: fix phys_to_target_node() and memory_add_physaddr_to_nid() exports
date: 31 hours ago
config: powerpc-randconfig-r024-20201123 (attached as .config)
compiler: powerpc64le-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a927bd6ba952d13c52b8b385030943032f659a3e
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a927bd6ba952d13c52b8b385030943032f659a3e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
All errors (new ones prefixed by >>):
>> arch/powerpc/mm/book3s64/pgtable.c:174:15: error: no previous prototype for 'create_section_mapping' [-Werror=missing-prototypes]
174 | int __meminit create_section_mapping(unsigned long start, unsigned long end,
| ^~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/mm/book3s64/pgtable.c:405:6: error: no previous prototype for 'arch_report_meminfo' [-Werror=missing-prototypes]
405 | void arch_report_meminfo(struct seq_file *m)
| ^~~~~~~~~~~~~~~~~~~
arch/powerpc/mm/book3s64/pgtable.c:461:5: error: no previous prototype for 'pmd_move_must_withdraw' [-Werror=missing-prototypes]
461 | int pmd_move_must_withdraw(struct spinlock *new_pmd_ptl,
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/create_section_mapping +174 arch/powerpc/mm/book3s64/pgtable.c
32b53c012e0bfe2 arch/powerpc/mm/pgtable-book3s64.c Reza Arbab 2017-01-03 172
32b53c012e0bfe2 arch/powerpc/mm/pgtable-book3s64.c Reza Arbab 2017-01-03 173 #ifdef CONFIG_MEMORY_HOTPLUG
4e00c5affdd4b04 arch/powerpc/mm/book3s64/pgtable.c Logan Gunthorpe 2020-04-10 @174 int __meminit create_section_mapping(unsigned long start, unsigned long end,
4e00c5affdd4b04 arch/powerpc/mm/book3s64/pgtable.c Logan Gunthorpe 2020-04-10 175 int nid, pgprot_t prot)
32b53c012e0bfe2 arch/powerpc/mm/pgtable-book3s64.c Reza Arbab 2017-01-03 176 {
32b53c012e0bfe2 arch/powerpc/mm/pgtable-book3s64.c Reza Arbab 2017-01-03 177 if (radix_enabled())
4e00c5affdd4b04 arch/powerpc/mm/book3s64/pgtable.c Logan Gunthorpe 2020-04-10 178 return radix__create_section_mapping(start, end, nid, prot);
32b53c012e0bfe2 arch/powerpc/mm/pgtable-book3s64.c Reza Arbab 2017-01-03 179
4e00c5affdd4b04 arch/powerpc/mm/book3s64/pgtable.c Logan Gunthorpe 2020-04-10 180 return hash__create_section_mapping(start, end, nid, prot);
32b53c012e0bfe2 arch/powerpc/mm/pgtable-book3s64.c Reza Arbab 2017-01-03 181 }
32b53c012e0bfe2 arch/powerpc/mm/pgtable-book3s64.c Reza Arbab 2017-01-03 182
:::::: The code at line 174 was first introduced by commit
:::::: 4e00c5affdd4b04e6392001716333971932f3d0c powerpc/mm: thread pgprot_t through create_section_mapping()
:::::: TO: Logan Gunthorpe <[email protected]>
:::::: CC: Linus Torvalds <[email protected]>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
On Mon, Nov 23, 2020 at 6:13 PM kernel test robot <[email protected]> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: d5beb3140f91b1c8a3d41b14d729aefa4dcc58bc
> commit: a927bd6ba952d13c52b8b385030943032f659a3e mm: fix phys_to_target_node() and memory_add_physaddr_to_nid() exports
> date: 31 hours ago
> config: powerpc-randconfig-r024-20201123 (attached as .config)
> compiler: powerpc64le-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a927bd6ba952d13c52b8b385030943032f659a3e
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout a927bd6ba952d13c52b8b385030943032f659a3e
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <[email protected]>
>
> All errors (new ones prefixed by >>):
>
> >> arch/powerpc/mm/book3s64/pgtable.c:174:15: error: no previous prototype for 'create_section_mapping' [-Werror=missing-prototypes]
> 174 | int __meminit create_section_mapping(unsigned long start, unsigned long end,
> | ^~~~~~~~~~~~~~~~~~~~~~
> arch/powerpc/mm/book3s64/pgtable.c:405:6: error: no previous prototype for 'arch_report_meminfo' [-Werror=missing-prototypes]
> 405 | void arch_report_meminfo(struct seq_file *m)
> | ^~~~~~~~~~~~~~~~~~~
> arch/powerpc/mm/book3s64/pgtable.c:461:5: error: no previous prototype for 'pmd_move_must_withdraw' [-Werror=missing-prototypes]
> 461 | int pmd_move_must_withdraw(struct spinlock *new_pmd_ptl,
> | ^~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
>
> vim +/create_section_mapping +174 arch/powerpc/mm/book3s64/pgtable.c
The whack-a-mole continues... the kbuild-robot success report I
received gave me too much confidence.
On Mon, Nov 23, 2020 at 07:20:46PM -0800, Dan Williams wrote:
> On Mon, Nov 23, 2020 at 6:13 PM kernel test robot <[email protected]> wrote:
> >
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: d5beb3140f91b1c8a3d41b14d729aefa4dcc58bc
> > commit: a927bd6ba952d13c52b8b385030943032f659a3e mm: fix phys_to_target_node() and memory_add_physaddr_to_nid() exports
> > date: 31 hours ago
> > config: powerpc-randconfig-r024-20201123 (attached as .config)
> > compiler: powerpc64le-linux-gcc (GCC) 9.3.0
> > reproduce (this is a W=1 build):
> > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a927bd6ba952d13c52b8b385030943032f659a3e
> > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > git fetch --no-tags linus master
> > git checkout a927bd6ba952d13c52b8b385030943032f659a3e
> > # save the attached .config to linux build tree
> > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
> >
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kernel test robot <[email protected]>
> >
> > All errors (new ones prefixed by >>):
> >
> > >> arch/powerpc/mm/book3s64/pgtable.c:174:15: error: no previous prototype for 'create_section_mapping' [-Werror=missing-prototypes]
> > 174 | int __meminit create_section_mapping(unsigned long start, unsigned long end,
> > | ^~~~~~~~~~~~~~~~~~~~~~
> > arch/powerpc/mm/book3s64/pgtable.c:405:6: error: no previous prototype for 'arch_report_meminfo' [-Werror=missing-prototypes]
> > 405 | void arch_report_meminfo(struct seq_file *m)
> > | ^~~~~~~~~~~~~~~~~~~
> > arch/powerpc/mm/book3s64/pgtable.c:461:5: error: no previous prototype for 'pmd_move_must_withdraw' [-Werror=missing-prototypes]
> > 461 | int pmd_move_must_withdraw(struct spinlock *new_pmd_ptl,
> > | ^~~~~~~~~~~~~~~~~~~~~~
> > cc1: all warnings being treated as errors
> >
> > vim +/create_section_mapping +174 arch/powerpc/mm/book3s64/pgtable.c
>
> The whack-a-mole continues... the kbuild-robot success report I
> received gave me too much confidence.
sorry Dan, this is a newly generated randconfig, which is not in
the coverage of build success report. Sorry for the confusion.
>