[xilinx-xlnx:xlnx_rebase_v5.10 711/1963] drivers/remoteproc/st_slim_rproc.c:203:27: error: initialization of 'void * (*)(struct rproc *, u64, int)' {aka 'void * (*)(struct rproc *, long long unsigned int, int)'} from incompatible pointer type 'void * (*)(struct rproc *, u64, size_t)' {aka 'vo...

kernel test robot lkp at intel.com
Wed Sep 29 18:09:21 PDT 2021


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.10
head:   9533b527bd9799dc64feddba388e19f0efe27bde
commit: dbb49124cb3ba0ebd03cca4efa2c91cf0164d071 [711/1963] remoteproc: Add support for peek from remote and acking kick from remote
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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/Xilinx/linux-xlnx/commit/dbb49124cb3ba0ebd03cca4efa2c91cf0164d071
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.10
        git checkout dbb49124cb3ba0ebd03cca4efa2c91cf0164d071
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

>> drivers/remoteproc/st_slim_rproc.c:203:27: error: initialization of 'void * (*)(struct rproc *, u64,  int)' {aka 'void * (*)(struct rproc *, long long unsigned int,  int)'} from incompatible pointer type 'void * (*)(struct rproc *, u64,  size_t)' {aka 'void * (*)(struct rproc *, long long unsigned int,  unsigned int)'} [-Werror=incompatible-pointer-types]
     203 |         .da_to_va       = slim_rproc_da_to_va,
         |                           ^~~~~~~~~~~~~~~~~~~
   drivers/remoteproc/st_slim_rproc.c:203:27: note: (near initialization for 'slim_rproc_ops.da_to_va')
   cc1: some warnings being treated as errors


vim +203 drivers/remoteproc/st_slim_rproc.c

bb6869b2147817 Peter Griffin   2016-10-18  199  
0f21f9cc9d8687 Bjorn Andersson 2018-01-05  200  static const struct rproc_ops slim_rproc_ops = {
0f21f9cc9d8687 Bjorn Andersson 2018-01-05  201  	.start		= slim_rproc_start,
0f21f9cc9d8687 Bjorn Andersson 2018-01-05  202  	.stop		= slim_rproc_stop,
0f21f9cc9d8687 Bjorn Andersson 2018-01-05 @203  	.da_to_va       = slim_rproc_da_to_va,
0f21f9cc9d8687 Bjorn Andersson 2018-01-05  204  	.get_boot_addr	= rproc_elf_get_boot_addr,
0f21f9cc9d8687 Bjorn Andersson 2018-01-05  205  	.load		= rproc_elf_load_segments,
e29ff72b779426 Clement Leger   2020-04-22  206  	.sanity_check	= rproc_elf_sanity_check,
bb6869b2147817 Peter Griffin   2016-10-18  207  };
bb6869b2147817 Peter Griffin   2016-10-18  208  

:::::: The code at line 203 was first introduced by commit
:::::: 0f21f9cc9d868784c7564edc0cfeddd25ca9621a remoteproc: Merge rproc_ops and rproc_fw_ops

:::::: TO: Bjorn Andersson <bjorn.andersson at linaro.org>
:::::: CC: Bjorn Andersson <bjorn.andersson at linaro.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 53759 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210930/cd18212a/attachment-0001.gz>


More information about the linux-arm-kernel mailing list