[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201602071744.Abu6oj1p%fengguang.wu@intel.com>
Date: Sun, 7 Feb 2016 17:42:00 +0800
From: kbuild test robot <lkp@...el.com>
To: Christophe Leroy <christophe.leroy@....fr>
Cc: kbuild-all@...org,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>,
Scott Wood <oss@...error.net>, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH v5 06/23] powerpc32: refactor x_mapped_by_bats() and
x_mapped_by_tlbcam() together
Hi Christophe,
[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.5-rc2 next-20160205]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Christophe-Leroy/powerpc-8xx-Use-large-pages-for-RAM-and-IMMR-and-other-improvments/20160204-071322
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-ppc64e_defconfig (attached as .config)
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=powerpc
All errors (new ones prefixed by >>):
>> arch/powerpc/mm/fsl_booke_mmu.c:78:13: error: redefinition of 'v_block_mapped'
phys_addr_t v_block_mapped(unsigned long va)
^
In file included from arch/powerpc/mm/fsl_booke_mmu.c:57:0:
arch/powerpc/mm/mmu_decl.h:168:27: note: previous definition of 'v_block_mapped' was here
static inline phys_addr_t v_block_mapped(unsigned long va) { return 0; }
^
>> arch/powerpc/mm/fsl_booke_mmu.c:90:15: error: redefinition of 'p_block_mapped'
unsigned long p_block_mapped(phys_addr_t pa)
^
In file included from arch/powerpc/mm/fsl_booke_mmu.c:57:0:
arch/powerpc/mm/mmu_decl.h:169:29: note: previous definition of 'p_block_mapped' was here
static inline unsigned long p_block_mapped(phys_addr_t pa) { return 0; }
^
vim +/v_block_mapped +78 arch/powerpc/mm/fsl_booke_mmu.c
72 return tlbcam_addrs[idx].limit - tlbcam_addrs[idx].start + 1;
73 }
74
75 /*
76 * Return PA for this VA if it is mapped by a CAM, or 0
77 */
> 78 phys_addr_t v_block_mapped(unsigned long va)
79 {
80 int b;
81 for (b = 0; b < tlbcam_index; ++b)
82 if (va >= tlbcam_addrs[b].start && va < tlbcam_addrs[b].limit)
83 return tlbcam_addrs[b].phys + (va - tlbcam_addrs[b].start);
84 return 0;
85 }
86
87 /*
88 * Return VA for a given PA or 0 if not mapped
89 */
> 90 unsigned long p_block_mapped(phys_addr_t pa)
91 {
92 int b;
93 for (b = 0; b < tlbcam_index; ++b)
---
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/octet-stream" (20194 bytes)
Powered by blists - more mailing lists