From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [arm-integrator:kasan 1/6] arch/arm/mm/mmu.c:1302:13: warning: no previous prototype for 'arm_mm_clear_atag_pages'
Date: Fri, 02 Oct 2020 17:06:25 +0800 [thread overview]
Message-ID: <202010021721.PdCpfIOV-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2020-10-02 9:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202010021721.PdCpfIOV-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.