[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202106251218.WzYv1ZLl-lkp@intel.com>
Date: Fri, 25 Jun 2021 12:24:38 +0800
From: kernel test robot <lkp@...el.com>
To: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...ainline.org>,
bjorn.andersson@...aro.org
Cc: kbuild-all@...ts.01.org, agross@...nel.org,
daniel.lezcano@...aro.org, rjw@...ysocki.net,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
linux-arm-msm@...r.kernel.org, phone-devel@...r.kernel.org,
konrad.dybcio@...ainline.org, marijn.suijten@...ainline.org
Subject: Re: [PATCH v7 1/5] cpuidle: qcom_spm: Detach state machine from main
SPM handling
Hi AngeloGioacchino,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on pm/linux-next]
[also build test ERROR on robh/for-next linus/master v5.13-rc7 next-20210624]
[cannot apply to daniel.lezcano/clockevents/next]
[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/Implement-SPM-SAW-for-MSM8998-and-SDM6xx/20210622-221217
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: arm64-allmodconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
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
# https://github.com/0day-ci/linux/commit/a5f597a04c298c9fa6e493d34e133da8a1468322
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review AngeloGioacchino-Del-Regno/Implement-SPM-SAW-for-MSM8998-and-SDM6xx/20210622-221217
git checkout a5f597a04c298c9fa6e493d34e133da8a1468322
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All error/warnings (new ones prefixed by >>):
>> drivers/soc/qcom/spm.c:198:1: warning: data definition has no type or storage class
198 | arch_initcall(qcom_spm_init);
| ^~~~~~~~~~~~~
>> drivers/soc/qcom/spm.c:198:1: error: type defaults to 'int' in declaration of 'arch_initcall' [-Werror=implicit-int]
>> drivers/soc/qcom/spm.c:198:1: warning: parameter names (without types) in function declaration
drivers/soc/qcom/spm.c:194:19: warning: 'qcom_spm_init' defined but not used [-Wunused-function]
194 | static int __init qcom_spm_init(void)
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +198 drivers/soc/qcom/spm.c
193
194 static int __init qcom_spm_init(void)
195 {
196 return platform_driver_register(&spm_driver);
197 }
> 198 arch_initcall(qcom_spm_init);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (77529 bytes)
Powered by blists - more mailing lists