linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ammarfaizi2-block:google/android/kernel/common/android-4.19-stable 551/9999] arch/arm64/mm/mmu.c:80:13: warning: no previous prototype for 'dma_contiguous_early_fixup'
@ 2022-03-09  6:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-09  6:51 UTC (permalink / raw)
  To: Laura Abbott
  Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel, Saravana Kannan,
	Patrick Daly, Mark Salyzyn

tree:   https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android-4.19-stable
head:   3fba6c6e70994eff4dcc5be475c9d2bd3848b83d
commit: 0a85ff1b796eade4d8867982209c5cba8078b940 [551/9999] ANDROID: GKI: arm64: Support early fixup for CMA
config: arm64-randconfig-r033-20220308 (https://download.01.org/0day-ci/archive/20220309/202203091423.BhhlT2nM-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.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://github.com/ammarfaizi2/linux-block/commit/0a85ff1b796eade4d8867982209c5cba8078b940
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android-4.19-stable
        git checkout 0a85ff1b796eade4d8867982209c5cba8078b940
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/arm64/mm/mmu.c:80:13: warning: no previous prototype for 'dma_contiguous_early_fixup' [-Wmissing-prototypes]
      80 | void __init dma_contiguous_early_fixup(phys_addr_t base, unsigned long size)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arm64/mm/mmu.c:806:6: warning: no previous prototype for 'vmemmap_free' [-Wmissing-prototypes]
     806 | void vmemmap_free(unsigned long start, unsigned long end,
         |      ^~~~~~~~~~~~
   arch/arm64/mm/mmu.c:969:12: warning: no previous prototype for 'arch_ioremap_p4d_supported' [-Wmissing-prototypes]
     969 | int __init arch_ioremap_p4d_supported(void)
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/dma_contiguous_early_fixup +80 arch/arm64/mm/mmu.c

    79	
  > 80	void __init dma_contiguous_early_fixup(phys_addr_t base, unsigned long size)
    81	{
    82		if (dma_mmu_remap_num >= ARRAY_SIZE(dma_mmu_remap)) {
    83			pr_err("ARM64: Not enough slots for DMA fixup reserved regions!\n");
    84			return;
    85		}
    86		dma_mmu_remap[dma_mmu_remap_num].base = base;
    87		dma_mmu_remap[dma_mmu_remap_num].size = size;
    88		dma_mmu_remap_num++;
    89	}
    90	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-09  6:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-09  6:51 [ammarfaizi2-block:google/android/kernel/common/android-4.19-stable 551/9999] arch/arm64/mm/mmu.c:80:13: warning: no previous prototype for 'dma_contiguous_early_fixup' kernel test robot

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).