[xlnx:master 11230/12253] drivers/remoteproc/imx_rproc.c:247:20: 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)...
kernel test robot
lkp at intel.com
Mon May 24 08:44:43 PDT 2021
tree: https://github.com/Xilinx/linux-xlnx master
head: 5db91ec53100477ab552583e5629f91ac02f998e
commit: a324889a971b8e827c53deaffe630b420bde4067 [11230/12253] remoteproc: Add support for peek from remote and acking kick from remote
config: arm64-randconfig-r015-20210524 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 93d1e5822ed64abd777eb94ea9899e96c4c39fbe)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/Xilinx/linux-xlnx/commit/a324889a971b8e827c53deaffe630b420bde4067
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx master
git checkout a324889a971b8e827c53deaffe630b420bde4067
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
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/imx_rproc.c:247:20: 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 = imx_rproc_da_to_va,
^~~~~~~~~~~~~~~~~~
1 error generated.
--
>> drivers/remoteproc/qcom_q6v5_adsp.c:304: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 = adsp_da_to_va,
^~~~~~~~~~~~~
1 error generated.
--
>> drivers/remoteproc/qcom_q6v5_pas.c:255: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 = adsp_da_to_va,
^~~~~~~~~~~~~
1 error generated.
vim +247 drivers/remoteproc/imx_rproc.c
a0ff4aa6f01080 Oleksij Rempel 2017-08-17 243
a0ff4aa6f01080 Oleksij Rempel 2017-08-17 244 static const struct rproc_ops imx_rproc_ops = {
a0ff4aa6f01080 Oleksij Rempel 2017-08-17 245 .start = imx_rproc_start,
a0ff4aa6f01080 Oleksij Rempel 2017-08-17 246 .stop = imx_rproc_stop,
a0ff4aa6f01080 Oleksij Rempel 2017-08-17 @247 .da_to_va = imx_rproc_da_to_va,
a0ff4aa6f01080 Oleksij Rempel 2017-08-17 248 };
a0ff4aa6f01080 Oleksij Rempel 2017-08-17 249
:::::: The code at line 247 was first introduced by commit
:::::: a0ff4aa6f010801b2a61c203c6e09d01b110fddf remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver
:::::: TO: Oleksij Rempel <o.rempel at pengutronix.de>
:::::: 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: 41919 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210524/05de2c48/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list