Hi Vishal,
First bad commit (maybe != root cause):
tree:
https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.10
head: f6f032f82f0a13def702a0154df535db88f43391
commit: 87134cbd0bfd3a28abc5747ce98d0c2098bdda1a [1042/1756] staging: xlnxsync: Fix the
uapi header license
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.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/87134cbd0bfd3a28abc5747ce98d0...
git remote add xlnx
https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx xlnx_rebase_v5.10
git checkout 87134cbd0bfd3a28abc5747ce98d0c2098bdda1a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/remoteproc/qcom_q6v5_adsp.c:304:14: 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,
long unsigned int)'} [-Werror=incompatible-pointer-types]
304 | .da_to_va
= adsp_da_to_va,
| ^~~~~~~~~~~~~
drivers/remoteproc/qcom_q6v5_adsp.c:304:14: note: (near initialization for
'adsp_ops.da_to_va')
cc1: some warnings being treated as errors
--
> drivers/remoteproc/qcom_q6v5_wcss.c:444:14: 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,
long unsigned int)'} [-Werror=incompatible-pointer-types]
444 | .da_to_va
= q6v5_wcss_da_to_va,
| ^~~~~~~~~~~~~~~~~~
drivers/remoteproc/qcom_q6v5_wcss.c:444:14: note: (near initialization for
'q6v5_wcss_ops.da_to_va')
cc1: some warnings being treated as errors
--
> drivers/remoteproc/qcom_wcnss.c:313:14: 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, long
unsigned int)'} [-Werror=incompatible-pointer-types]
313 | .da_to_va =
wcnss_da_to_va,
| ^~~~~~~~~~~~~~
drivers/remoteproc/qcom_wcnss.c:313:14: note: (near initialization for
'wcnss_ops.da_to_va')
cc1: some warnings being treated as errors
--
> drivers/remoteproc/imx_rproc.c:247:20: 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, long
unsigned int)'} [-Werror=incompatible-pointer-types]
247 | .da_to_va
= imx_rproc_da_to_va,
| ^~~~~~~~~~~~~~~~~~
drivers/remoteproc/imx_rproc.c:247:20: note: (near initialization for
'imx_rproc_ops.da_to_va')
cc1: some warnings being treated as errors
vim +304 drivers/remoteproc/qcom_q6v5_adsp.c
717c21bad161dd Bjorn Andersson 2020-03-23 300
dc160e44912227 Rohit kumar 2018-09-24 301 static const struct rproc_ops adsp_ops =
{
dc160e44912227 Rohit kumar 2018-09-24 302 .start = adsp_start,
dc160e44912227 Rohit kumar 2018-09-24 303 .stop = adsp_stop,
dc160e44912227 Rohit kumar 2018-09-24 @304 .da_to_va = adsp_da_to_va,
dc160e44912227 Rohit kumar 2018-09-24 305 .parse_fw = qcom_register_dump_segments,
dc160e44912227 Rohit kumar 2018-09-24 306 .load = adsp_load,
717c21bad161dd Bjorn Andersson 2020-03-23 307 .panic = adsp_panic,
dc160e44912227 Rohit kumar 2018-09-24 308 };
dc160e44912227 Rohit kumar 2018-09-24 309
:::::: The code at line 304 was first introduced by commit
:::::: dc160e449122274e0acffa622cc937f90b76a5a4 remoteproc: qcom: Introduce Non-PAS ADSP
PIL driver
:::::: TO: Rohit kumar <rohitkr(a)codeaurora.org>
:::::: CC: Bjorn Andersson <bjorn.andersson(a)linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org