[xlnx:master 11230/12130] drivers/remoteproc/ti_k3_r5_remoteproc.c:627: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 *, u6...
kernel test robot
lkp at intel.com
Wed Apr 21 20:44:44 BST 2021
tree: https://github.com/Xilinx/linux-xlnx master
head: 0605a36e057480f3a83ae401e7ff59739da78e82
commit: a324889a971b8e827c53deaffe630b420bde4067 [11230/12130] remoteproc: Add support for peek from remote and acking kick from remote
config: arm64-randconfig-r022-20210421 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project d87b9b81ccb95217181ce75515c6c68bbb408ca4)
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 W=1 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/ti_k3_r5_remoteproc.c:627: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 = k3_r5_rproc_da_to_va,
^~~~~~~~~~~~~~~~~~~~
1 error generated.
vim +627 drivers/remoteproc/ti_k3_r5_remoteproc.c
6dedbd1d544389 Suman Anna 2020-10-02 620
6dedbd1d544389 Suman Anna 2020-10-02 621 static const struct rproc_ops k3_r5_rproc_ops = {
6dedbd1d544389 Suman Anna 2020-10-02 622 .prepare = k3_r5_rproc_prepare,
6dedbd1d544389 Suman Anna 2020-10-02 623 .unprepare = k3_r5_rproc_unprepare,
6dedbd1d544389 Suman Anna 2020-10-02 624 .start = k3_r5_rproc_start,
6dedbd1d544389 Suman Anna 2020-10-02 625 .stop = k3_r5_rproc_stop,
6dedbd1d544389 Suman Anna 2020-10-02 626 .kick = k3_r5_rproc_kick,
6dedbd1d544389 Suman Anna 2020-10-02 @627 .da_to_va = k3_r5_rproc_da_to_va,
6dedbd1d544389 Suman Anna 2020-10-02 628 };
6dedbd1d544389 Suman Anna 2020-10-02 629
:::::: The code at line 627 was first introduced by commit
:::::: 6dedbd1d544389d6ab1727423348572a11e9df5d remoteproc: k3-r5: Add a remoteproc driver for R5F subsystem
:::::: TO: Suman Anna <s-anna at ti.com>
:::::: 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: 32914 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210422/ec3e2faf/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list