[xlnx:xlnx_rebase_v5.10 711/1756] drivers/remoteproc/ingenic_rproc.c:144:14: error: incompatible function pointer types initializing 'void *(*)(struct rproc *, u64, int)' (aka 'void *(*)(struct rproc *, unsigned long long, int)') with an expression of type 'void *(struct rproc *, u64, siz...
kernel test robot
lkp at intel.com
Wed Jul 14 14:48:14 PDT 2021
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.10
head: f6f032f82f0a13def702a0154df535db88f43391
commit: dbb49124cb3ba0ebd03cca4efa2c91cf0164d071 [711/1756] remoteproc: Add support for peek from remote and acking kick from remote
config: mips-randconfig-r004-20210714 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d69635ed9ecf36fd0ca85906bfde17949671cbe)
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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://github.com/Xilinx/linux-xlnx/commit/dbb49124cb3ba0ebd03cca4efa2c91cf0164d071
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx xlnx_rebase_v5.10
git checkout dbb49124cb3ba0ebd03cca4efa2c91cf0164d071
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
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/ingenic_rproc.c:144:14: error: incompatible function pointer types initializing 'void *(*)(struct rproc *, u64, int)' (aka 'void *(*)(struct rproc *, unsigned long long, int)') with an expression of type 'void *(struct rproc *, u64, size_t)' (aka 'void *(struct rproc *, unsigned long long, unsigned long)') [-Werror,-Wincompatible-function-pointer-types]
.da_to_va = ingenic_rproc_da_to_va,
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
vim +144 drivers/remoteproc/ingenic_rproc.c
48f0a1bbb7586c Paul Cercueil 2020-05-15 137
48f0a1bbb7586c Paul Cercueil 2020-05-15 138 static struct rproc_ops ingenic_rproc_ops = {
4605ad8f458198 Mathieu Poirier 2020-06-30 139 .prepare = ingenic_rproc_prepare,
4605ad8f458198 Mathieu Poirier 2020-06-30 140 .unprepare = ingenic_rproc_unprepare,
48f0a1bbb7586c Paul Cercueil 2020-05-15 141 .start = ingenic_rproc_start,
48f0a1bbb7586c Paul Cercueil 2020-05-15 142 .stop = ingenic_rproc_stop,
48f0a1bbb7586c Paul Cercueil 2020-05-15 143 .kick = ingenic_rproc_kick,
48f0a1bbb7586c Paul Cercueil 2020-05-15 @144 .da_to_va = ingenic_rproc_da_to_va,
48f0a1bbb7586c Paul Cercueil 2020-05-15 145 };
48f0a1bbb7586c Paul Cercueil 2020-05-15 146
:::::: The code at line 144 was first introduced by commit
:::::: 48f0a1bbb7586c94e0f15116b06f8179df2fd60f remoteproc: ingenic: Added remoteproc driver
:::::: TO: Paul Cercueil <paul at crapouillou.net>
:::::: 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: 34471 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210715/a4e0f0e2/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list