lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201702132242.avF8bUP0%fengguang.wu@intel.com>
Date:   Mon, 13 Feb 2017 22:54:07 +0800
From:   kbuild test robot <lkp@...el.com>
To:     zhouxianrong@...wei.com
Cc:     kbuild-all@...org, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
        catalin.marinas@....com, will.deacon@....com, robh+dt@...nel.org,
        frowand.list@...il.com, ard.biesheuvel@...aro.org,
        mark.rutland@....com, wangkefeng.wang@...wei.com,
        jszhang@...vell.com, gkulkarni@...iumnetworks.com,
        steve.capper@....com, chengang@...ndsoft.com.cn,
        dennis.chen@....com, srikar@...ux.vnet.ibm.com,
        kuleshovmail@...il.com, zijun_hu@....com, tj@...nel.org,
        joe@...ches.com, Mi.Sophia.Wang@...wei.com,
        zhouxianrong@...wei.com, zhouxiyu@...wei.com, weidu.du@...wei.com,
        zhangshiming5@...wei.com, won.ho.park@...wei.com
Subject: Re: [PATCH] mm: free reserved area's memmap if possiable

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@...sung.com>
:::::: CC: Grant Likely <grant.likely@...aro.org>

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

Download attachment ".config.gz" of type "application/gzip" (48158 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ