Hi Mukesh,

kernel test robot noticed the following build errors:

[auto build test ERROR on remoteproc/rproc-next]
[also build test ERROR on drm-misc/drm-misc-next ath/ath-next linus/master 
v7.4-rc2 next-20261113]
[cannot apply to 
linux-review/Mukesh-Ojha/remoteproc-qcom_wcnss-migrate-to-qcom_mdt_pas_load-and-qcom_pas_prepare_and_auth_reset/20260925-212730]
[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#_base_tree_information]

url:    
https://github.com/intel-lab-lkp/linux/commits/Mukesh-Ojha/firmware-qcom-pas-add-qcom_pas_context_init-for-pre-allocated-context/20261114-002001
base:   https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git 
rproc-next
patch link:    
https://lore.kernel.org/r/20261113185009.157893-3-mukesh.ojha%40oss.qualcomm.com
patch subject: [PATCH v2 2/9] remoteproc: qcom_wcnss: migrate to 
qcom_mdt_pas_load() and qcom_pas_prepare_and_auth_reset()
config: arm64-defconfig 
(https://download.01.org/0day-ci/archive/20261114/[email protected]/config)
compiler: aarch64-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20261114/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   drivers/remoteproc/qcom_wcnss.c: In function 'wcnss_load':
>> drivers/remoteproc/qcom_wcnss.c:161:75: error: passing argument 4 of 
>> 'qcom_mdt_pas_load' makes pointer from integer without a cast 
>> [-Wint-conversion]
     161 |         ret = qcom_mdt_pas_load(wcnss->pas_ctx, fw, rproc->firmware, 
wcnss->mem_reloc);
         |                                                                      
~~~~~^~~~~~~~~~~
         |                                                                      
     |
         |                                                                      
     phys_addr_t {aka long long unsigned int}
   drivers/remoteproc/qcom_wcnss.c:161:75: note: possible fix: take the address 
with '&'
     161 |         ret = qcom_mdt_pas_load(wcnss->pas_ctx, fw, rproc->firmware, 
wcnss->mem_reloc);
         |                                                                      
~~~~~^~~~~~~~~~~
         |                                                                      
&
   In file included from drivers/remoteproc/qcom_wcnss.c:25:
   include/linux/soc/qcom/mdt_loader.h:24:58: note: expected 'phys_addr_t *' 
{aka 'long long unsigned int *'} but argument is of type 'phys_addr_t' {aka 
'long long unsigned int'}
      24 |                       const char *firmware, phys_addr_t *reloc_base);
         |                                             ~~~~~~~~~~~~~^~~~~~~~~~


vim +/qcom_mdt_pas_load +161 drivers/remoteproc/qcom_wcnss.c

   155  
   156  static int wcnss_load(struct rproc *rproc, const struct firmware *fw)
   157  {
   158          struct qcom_wcnss *wcnss = rproc->priv;
   159          int ret;
   160  
 > 161          ret = qcom_mdt_pas_load(wcnss->pas_ctx, fw, rproc->firmware, 
 > wcnss->mem_reloc);
   162          if (ret)
   163                  return ret;
   164  
   165          qcom_pil_info_store("wcnss", wcnss->mem_phys, wcnss->mem_size);
   166  
   167          return 0;
   168  }
   169  

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to