Messages in this thread |  | | Date | Sun, 16 Oct 2016 05:32:12 +0800 | From | kbuild test robot <> | Subject | arch/mips/kernel/mips-cpc.c:47: undefined reference to `mips_cpc_default_phys_base' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1001354ca34179f3db924eb66672442a173147dc commit: eed0eabd12ef061821cbfa20d903476e07645320 MIPS: generic: Introduce generic DT-based board support date: 9 days ago config: mips-generic_defconfig (attached as .config) compiler: mipsel-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 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 git checkout eed0eabd12ef061821cbfa20d903476e07645320 # save the attached .config to linux build tree make.cross ARCH=mips
All errors (new ones prefixed by >>):
arch/mips/built-in.o: In function `mips_cpc_phys_base': >> arch/mips/kernel/mips-cpc.c:47: undefined reference to `mips_cpc_default_phys_base'
vim +47 arch/mips/kernel/mips-cpc.c
8dedde6b2 Bjorn Helgaas 2015-07-12 31 static phys_addr_t mips_cpc_phys_base(void) 9c38cf447 Paul Burton 2014-01-15 32 { 391057d91 Markos Chandras 2015-07-09 33 unsigned long cpc_base; 9c38cf447 Paul Burton 2014-01-15 34 9c38cf447 Paul Burton 2014-01-15 35 if (!mips_cm_present()) 9c38cf447 Paul Burton 2014-01-15 36 return 0; 9c38cf447 Paul Burton 2014-01-15 37 9c38cf447 Paul Burton 2014-01-15 38 if (!(read_gcr_cpc_status() & CM_GCR_CPC_STATUS_EX_MSK)) 9c38cf447 Paul Burton 2014-01-15 39 return 0; 9c38cf447 Paul Burton 2014-01-15 40 9c38cf447 Paul Burton 2014-01-15 41 /* If the CPC is already enabled, leave it so */ 9c38cf447 Paul Burton 2014-01-15 42 cpc_base = read_gcr_cpc_base(); 9c38cf447 Paul Burton 2014-01-15 43 if (cpc_base & CM_GCR_CPC_BASE_CPCEN_MSK) 9c38cf447 Paul Burton 2014-01-15 44 return cpc_base & CM_GCR_CPC_BASE_CPCBASE_MSK; 9c38cf447 Paul Burton 2014-01-15 45 9c38cf447 Paul Burton 2014-01-15 46 /* Otherwise, give it the default address & enable it */ 9c38cf447 Paul Burton 2014-01-15 @47 cpc_base = mips_cpc_default_phys_base(); 9c38cf447 Paul Burton 2014-01-15 48 write_gcr_cpc_base(cpc_base | CM_GCR_CPC_BASE_CPCEN_MSK); 9c38cf447 Paul Burton 2014-01-15 49 return cpc_base; 9c38cf447 Paul Burton 2014-01-15 50 } 9c38cf447 Paul Burton 2014-01-15 51 9c38cf447 Paul Burton 2014-01-15 52 int mips_cpc_probe(void) 9c38cf447 Paul Burton 2014-01-15 53 { 15d45cce3 Ralf Baechle 2014-11-22 54 phys_addr_t addr; 6b89d22e7 Matt Redfearn 2016-09-07 55 unsigned int cpu;
:::::: The code at line 47 was first introduced by commit :::::: 9c38cf44712af95a5ec3937d63faaea9b43eab9a MIPS: Add CPC probe, access functions
:::::: TO: Paul Burton <paul.burton@imgtec.com> :::::: CC: Ralf Baechle <ralf@linux-mips.org>
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [unhandled content-type:application/gzip] |  |