linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: zhouxianrong@huawei.com
Cc: kbuild-all@01.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
	catalin.marinas@arm.com, will.deacon@arm.com, robh+dt@kernel.org,
	frowand.list@gmail.com, ard.biesheuvel@linaro.org,
	mark.rutland@arm.com, wangkefeng.wang@huawei.com,
	jszhang@marvell.com, gkulkarni@caviumnetworks.com,
	steve.capper@arm.com, chengang@emindsoft.com.cn,
	dennis.chen@arm.com, srikar@linux.vnet.ibm.com,
	kuleshovmail@gmail.com, zijun_hu@htc.com, tj@kernel.org,
	joe@perches.com, Mi.Sophia.Wang@huawei.com, zhouxiyu@huawei.com,
	weidu.du@huawei.com, zhangshiming5@huawei.com,
	won.ho.park@huawei.com
Subject: Re: [PATCH] mm: free reserved area's memmap if possiable
Date: Mon, 13 Feb 2017 22:54:07 +0800	[thread overview]
Message-ID: <201702132242.avF8bUP0%fengguang.wu@intel.com> (raw)
In-Reply-To: <1486987349-58711-1-git-send-email-zhouxianrong@huawei.com>

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

Hi zhouxianrong,

[auto build test ERROR on arm64/for-next/core]
[also build test ERROR on v4.10-rc8 next-20170213]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/zhouxianrong-huawei-com/mm-free-reserved-area-s-memmap-if-possiable/20170213-203618
base:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

>> drivers/of/of_reserved_mem.c:34:19: error: conflicting types for 'early_init_dt_alloc_reserved_memory_arch'
    int __init __weak early_init_dt_alloc_reserved_memory_arch(phys_addr_t size,
                      ^
   In file included from drivers/of/of_reserved_mem.c:24:0:
   include/linux/of_reserved_mem.h:37:5: note: previous declaration of 'early_init_dt_alloc_reserved_memory_arch' was here
    int early_init_dt_alloc_reserved_memory_arch(phys_addr_t size,
        ^

vim +/early_init_dt_alloc_reserved_memory_arch +34 drivers/of/of_reserved_mem.c

3f0c8206 Marek Szyprowski 2014-02-28  28  #define MAX_RESERVED_REGIONS	16
3f0c8206 Marek Szyprowski 2014-02-28  29  static struct reserved_mem reserved_mem[MAX_RESERVED_REGIONS];
3f0c8206 Marek Szyprowski 2014-02-28  30  static int reserved_mem_count;
3f0c8206 Marek Szyprowski 2014-02-28  31  
3f0c8206 Marek Szyprowski 2014-02-28  32  #if defined(CONFIG_HAVE_MEMBLOCK)
3f0c8206 Marek Szyprowski 2014-02-28  33  #include <linux/memblock.h>
3f0c8206 Marek Szyprowski 2014-02-28 @34  int __init __weak early_init_dt_alloc_reserved_memory_arch(phys_addr_t size,
3f0c8206 Marek Szyprowski 2014-02-28  35  	phys_addr_t align, phys_addr_t start, phys_addr_t end, bool nomap,
6094ef24 zhouxianrong     2017-02-13  36  	bool raw_pfn, phys_addr_t *res_base)
3f0c8206 Marek Szyprowski 2014-02-28  37  {

:::::: The code at line 34 was first introduced by commit
:::::: 3f0c8206644836e4f10a6b9fc47cda6a9a372f9b drivers: of: add initialization code for dynamic reserved memory

:::::: TO: Marek Szyprowski <m.szyprowski@samsung.com>
:::::: CC: Grant Likely <grant.likely@linaro.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

  parent reply	other threads:[~2017-02-13 14:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-13 12:02 zhouxianrong
2017-02-13 12:17 ` Will Deacon
2017-02-13 12:24   ` Russell King - ARM Linux
2017-02-13 14:54 ` kbuild test robot [this message]
2017-02-14  6:53 ` zhouxianrong
2017-02-14  7:18   ` zhouxianrong
2017-02-14  9:03   ` Ard Biesheuvel
2017-02-15  1:44     ` zhouxianrong
2017-02-15  7:10       ` Ard Biesheuvel
2017-02-16  1:11         ` zhouxianrong
2017-03-01 10:41           ` Jisheng Zhang
2017-03-02  6:00             ` zhouxianrong

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=201702132242.avF8bUP0%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=Mi.Sophia.Wang@huawei.com \
    --cc=akpm@linux-foundation.org \
    --cc=ard.biesheuvel@linaro.org \
    --cc=catalin.marinas@arm.com \
    --cc=chengang@emindsoft.com.cn \
    --cc=dennis.chen@arm.com \
    --cc=frowand.list@gmail.com \
    --cc=gkulkarni@caviumnetworks.com \
    --cc=joe@perches.com \
    --cc=jszhang@marvell.com \
    --cc=kbuild-all@01.org \
    --cc=kuleshovmail@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=srikar@linux.vnet.ibm.com \
    --cc=steve.capper@arm.com \
    --cc=tj@kernel.org \
    --cc=wangkefeng.wang@huawei.com \
    --cc=weidu.du@huawei.com \
    --cc=will.deacon@arm.com \
    --cc=won.ho.park@huawei.com \
    --cc=zhangshiming5@huawei.com \
    --cc=zhouxianrong@huawei.com \
    --cc=zhouxiyu@huawei.com \
    --cc=zijun_hu@htc.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox