Re: [PATCH v2] soc: qcom: Add SoC info driver

From: kbuild test robot
Date: Thu Oct 27 2016 - 12:48:18 EST


Hi Imran,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.9-rc2 next-20161027]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url: https://github.com/0day-ci/linux/commits/Imran-Khan/soc-qcom-Add-SoC-info-driver/20161027-223213
config: arm64-defconfig (attached as .config)
compiler: aarch64-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
# save the attached .config to linux build tree
make.cross ARCH=arm64

All errors (new ones prefixed by >>):

drivers/built-in.o: In function `qcom_smem_probe':
>> drivers/soc/qcom/smem.c:768: undefined reference to `qcom_socinfo_init'
drivers/soc/qcom/smem.c:768:(.text+0xf2438): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `qcom_socinfo_init'
>> drivers/soc/qcom/smem.c:766: undefined reference to `setup_dummy_socinfo'
drivers/soc/qcom/smem.c:766:(.text+0xf24d8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `setup_dummy_socinfo'
>> drivers/soc/qcom/smem.c:768: undefined reference to `qcom_socinfo_init'
drivers/soc/qcom/smem.c:768:(.text+0xf24dc): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `qcom_socinfo_init'

vim +768 drivers/soc/qcom/smem.c

760
761 socinfo = qcom_smem_get(QCOM_SMEM_HOST_ANY, SMEM_HW_SW_BUILD_ID,
762 &size);
763 if (IS_ERR(socinfo)) {
764 dev_warn(&pdev->dev,
765 "Can't find SMEM_HW_SW_BUILD_ID; falling back on dummy values.\n");
> 766 socinfo = setup_dummy_socinfo();
767 }
> 768 qcom_socinfo_init(socinfo);
769
770 return 0;
771 }

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

Attachment: .config.gz
Description: application/gzip