All of lore.kernel.org
 help / color / mirror / Atom feed
* [arm-integrator:kasan 1/6] arch/arm/mm/mmu.c:1302:13: warning: no previous prototype for 'arm_mm_clear_atag_pages'
@ 2020-10-02  9:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-10-02  9:06 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3273 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git kasan
head:   fb5e749f76335be35afcb3ea74ad3fa0926900db
commit: 0ffa763acb72e5e1a0b75b27faa91767d971ba08 [1/6] ARM: Handle a device tree in lowmem
config: arm-spitz_defconfig (attached as .config)
compiler: arm-linux-gnueabi-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/linusw/linux-integrator.git/commit/?id=0ffa763acb72e5e1a0b75b27faa91767d971ba08
        git remote add arm-integrator https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
        git fetch --no-tags arm-integrator kasan
        git checkout 0ffa763acb72e5e1a0b75b27faa91767d971ba08
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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/arm/mm/mmu.c:119:13: warning: no previous prototype for 'init_default_cache_policy' [-Wmissing-prototypes]
     119 | void __init init_default_cache_policy(unsigned long pmd)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arm/mm/mmu.c:1157:13: warning: no previous prototype for 'adjust_lowmem_bounds' [-Wmissing-prototypes]
    1157 | void __init adjust_lowmem_bounds(void)
         |             ^~~~~~~~~~~~~~~~~~~~
>> arch/arm/mm/mmu.c:1302:13: warning: no previous prototype for 'arm_mm_clear_atag_pages' [-Wmissing-prototypes]
    1302 | void __init arm_mm_clear_atag_pages(void)
         |             ^~~~~~~~~~~~~~~~~~~~~~~
   arch/arm/mm/mmu.c:1667:13: warning: no previous prototype for 'paging_init' [-Wmissing-prototypes]
    1667 | void __init paging_init(const struct machine_desc *mdesc)
         |             ^~~~~~~~~~~
   arch/arm/mm/mmu.c:1691:13: warning: no previous prototype for 'early_mm_init' [-Wmissing-prototypes]
    1691 | void __init early_mm_init(const struct machine_desc *mdesc)
         |             ^~~~~~~~~~~~~

vim +/arm_mm_clear_atag_pages +1302 arch/arm/mm/mmu.c

  1301	
> 1302	void __init arm_mm_clear_atag_pages(void)
  1303	{
  1304		unsigned long addr;
  1305		unsigned long atags;
  1306		phys_addr_t end;
  1307	
  1308		/*
  1309		 * Clear out the kernel space mappings used by the attached DTB if
  1310		 * it happens to end up in lowmem.
  1311		 */
  1312		end = memblock.memory.regions[0].base + memblock.memory.regions[0].size;
  1313		if (end >= arm_lowmem_limit)
  1314			end = arm_lowmem_limit;
  1315		atags = __phys_to_virt(__atags_pointer);
  1316		atags &= PMD_MASK;
  1317		for (addr = __phys_to_virt(end);
  1318		     addr < VMALLOC_START; addr += PMD_SIZE) {
  1319			if (addr >= atags && addr < (atags + 2 * PMD_SIZE)) {
  1320				pr_info("Clear ATAGs/DTB PMD @0x%08lx\n", addr);
  1321				pmd_clear(pmd_off_k(addr));
  1322			}
  1323		}
  1324	}
  1325	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 21116 bytes --]

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

only message in thread, other threads:[~2020-10-02  9:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-02  9:06 [arm-integrator:kasan 1/6] arch/arm/mm/mmu.c:1302:13: warning: no previous prototype for 'arm_mm_clear_atag_pages' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.