* [xlnx:master 11230/12418] 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)...
@ 2021-08-25 20:27 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-25 20:27 UTC (permalink / raw)
To: Wendy Liang; +Cc: clang-built-linux, kbuild-all, linux-arm-kernel, Michal Simek
[-- Attachment #1: Type: text/plain, Size: 2705 bytes --]
Hi Wendy,
FYI, the error/warning still remains.
tree: https://github.com/Xilinx/linux-xlnx master
head: 45cd0074cdf1ddd710b28848e6a860b442babfcc
commit: a324889a971b8e827c53deaffe630b420bde4067 [11230/12418] remoteproc: Add support for peek from remote and acking kick from remote
config: arm64-buildonly-randconfig-r005-20210825 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project ea08c4cd1c0869ec5024a8bb3f5cdf06ab03ae83)
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@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.
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@pengutronix.de>
:::::: CC: Bjorn Andersson <bjorn.andersson@linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35414 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [xlnx:master 11230/12418] 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)...
@ 2021-08-25 20:27 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-25 20:27 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2758 bytes --]
Hi Wendy,
FYI, the error/warning still remains.
tree: https://github.com/Xilinx/linux-xlnx master
head: 45cd0074cdf1ddd710b28848e6a860b442babfcc
commit: a324889a971b8e827c53deaffe630b420bde4067 [11230/12418] remoteproc: Add support for peek from remote and acking kick from remote
config: arm64-buildonly-randconfig-r005-20210825 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project ea08c4cd1c0869ec5024a8bb3f5cdf06ab03ae83)
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@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.
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@pengutronix.de>
:::::: CC: Bjorn Andersson <bjorn.andersson@linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35414 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-25 20:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25 20:27 [xlnx:master 11230/12418] 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
2021-08-25 20:27 ` kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.