Re: [linux-next:master 5015/5284] arch/powerpc/mm/init_64.c:201:15: error: no previous prototype for function '__vmemmap_populate'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/28/23 1:59 PM, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   d7b3af5a77e8d8da28f435f313e069aea5bcf172
> commit: 5d1acc0d9b24e48fde5297a6a40cb9c1a682d740 [5015/5284] powerpc/book3s64/radix: remove mmu_vmemmap_psize
> config: powerpc-ppc64e_defconfig (https://download.01.org/0day-ci/archive/20230728/202307281617.OxcXz84j-lkp@xxxxxxxxx/config)
> compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
> reproduce: (https://download.01.org/0day-ci/archive/20230728/202307281617.OxcXz84j-lkp@xxxxxxxxx/reproduce)
> 
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202307281617.OxcXz84j-lkp@xxxxxxxxx/
> 
> All errors (new ones prefixed by >>):

>                                            ~~~~~~~~~~~~~~~~~~~~~^
>>> arch/powerpc/mm/init_64.c:201:15: error: no previous prototype for function '__vmemmap_populate' [-Werror,-Wmissing-prototypes]
>    int __meminit __vmemmap_populate(unsigned long start, unsigned long end, int node,
>                  ^
>    arch/powerpc/mm/init_64.c:201:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
>    int __meminit __vmemmap_populate(unsigned long start, unsigned long end, int node,
>    ^
>    static 
>    13 errors generated.

Thanks for the report. I also identified missing `static` in __vmemmap_free. I will send a fixup patch to the original patch.

-aneesh




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux