Re: [PATCH v6 1/6] soc: qcom: cpr: Move common functions to new file

From: kernel test robot
Date: Thu Jul 01 2021 - 13:48:01 EST


Hi AngeloGioacchino,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on robh/for-next]
[also build test ERROR on linus/master v5.13 next-20210701]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/AngeloGioacchino-Del-Regno/Add-support-for-Core-Power-Reduction-v3-v4-and-Hardened/20210701-185521
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: arm64-randconfig-r015-20210630 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project e7e71e9454ed76c1b3d8140170b5333c28bef1be)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/0day-ci/linux/commit/bb8640b1f6e304b68df3073a1dd8f508f63d6049
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review AngeloGioacchino-Del-Regno/Add-support-for-Core-Power-Reduction-v3-v4-and-Hardened/20210701-185521
git checkout bb8640b1f6e304b68df3073a1dd8f508f63d6049
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>, old ones prefixed by <<):

ERROR: modpost: missing MODULE_LICENSE() in drivers/soc/qcom/cpr-common.o
>> ERROR: modpost: "cpr_interpolate" [drivers/soc/qcom/cpr.ko] undefined!
>> ERROR: modpost: "cpr_calculate_scaling" [drivers/soc/qcom/cpr.ko] undefined!
>> ERROR: modpost: "cpr_find_initial_corner" [drivers/soc/qcom/cpr.ko] undefined!
>> ERROR: modpost: "cpr_get_opp_hz_for_req" [drivers/soc/qcom/cpr.ko] undefined!
>> ERROR: modpost: "cpr_get_fuse_corner" [drivers/soc/qcom/cpr.ko] undefined!
>> ERROR: modpost: "cpr_check_vreg_constraints" [drivers/soc/qcom/cpr.ko] undefined!
>> ERROR: modpost: "cpr_populate_fuse_common" [drivers/soc/qcom/cpr.ko] undefined!
>> ERROR: modpost: "cpr_populate_ring_osc_idx" [drivers/soc/qcom/cpr.ko] undefined!
>> ERROR: modpost: "cpr_get_fuses" [drivers/soc/qcom/cpr.ko] undefined!
>> ERROR: modpost: "cpr_read_efuse" [drivers/soc/qcom/cpr.ko] undefined!

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip