Re: [PATCH 1/2] remoteproc: qcom: Add PAS based SPSS PIL driver

From: kbuild test robot
Date: Sun Mar 08 2020 - 21:18:19 EST


Hi Rishabh,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linux/master]
[also build test ERROR on robh/for-next linus/master v5.6-rc4 next-20200306]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url: https://github.com/0day-ci/linux/commits/Rishabh-Bhatnagar/Introduce-PAS-based-Secure-Subsystem-rproc-driver/20200307-062353
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f5ae2ea6347a308cfe91f53b53682ce635497d0d
config: arm64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (git://gitmirror/llvm_project 0dfcb23b0507d57a30f313eed082f730bdc3ce3a)
reproduce:
# FIXME the reproduce steps for clang is not ready yet

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

All errors (new ones prefixed by >>):

>> drivers/remoteproc/qcom_spss.c:187:13: error: no member named 'skip_fw_load' in 'struct rproc'
if (rproc->skip_fw_load)
~~~~~ ^
drivers/remoteproc/qcom_spss.c:207:13: error: no member named 'skip_fw_load' in 'struct rproc'
if (rproc->skip_fw_load)
~~~~~ ^
drivers/remoteproc/qcom_spss.c:208:10: error: no member named 'skip_fw_load' in 'struct rproc'
rproc->skip_fw_load = false;
~~~~~ ^
drivers/remoteproc/qcom_spss.c:218:13: error: no member named 'skip_fw_load' in 'struct rproc'
if (rproc->skip_fw_load) {
~~~~~ ^
drivers/remoteproc/qcom_spss.c:414:9: error: no member named 'skip_fw_load' in 'struct rproc'
rproc->skip_fw_load = desc->skip_fw_load;
~~~~~ ^
5 errors generated.

vim +187 drivers/remoteproc/qcom_spss.c

182
183 static int spss_load(struct rproc *rproc, const struct firmware *fw)
184 {
185 struct qcom_spss *spss = (struct qcom_spss *)rproc->priv;
186
> 187 if (rproc->skip_fw_load)
188 return 0;
189
190 return qcom_mdt_load(spss->dev, fw, rproc->firmware, spss->pas_id,
191 spss->mem_region, spss->mem_phys, spss->mem_size,
192 &spss->mem_reloc);
193

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

Attachment: .config.gz
Description: application/gzip