linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Wendy Liang <wendy.liang@xilinx.com>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org,
	Michal Simek <monstr@monstr.eu>
Subject: [xlnx:master 11230/12130] drivers/remoteproc/st_slim_rproc.c:203: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 'vo...
Date: Thu, 22 Apr 2021 03:55:57 +0800	[thread overview]
Message-ID: <202104220344.4yJKjKRa-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2839 bytes --]

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: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-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/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=gcc-9.3.0 make.cross W=1 ARCH=arm 

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/st_slim_rproc.c:203: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,  unsigned int)'} [-Werror=incompatible-pointer-types]
     203 |  .da_to_va       = slim_rproc_da_to_va,
         |                    ^~~~~~~~~~~~~~~~~~~
   drivers/remoteproc/st_slim_rproc.c:203:20: note: (near initialization for 'slim_rproc_ops.da_to_va')
   cc1: some warnings being treated as errors


vim +203 drivers/remoteproc/st_slim_rproc.c

bb6869b2147817 Peter Griffin   2016-10-18  199  
0f21f9cc9d8687 Bjorn Andersson 2018-01-05  200  static const struct rproc_ops slim_rproc_ops = {
0f21f9cc9d8687 Bjorn Andersson 2018-01-05  201  	.start		= slim_rproc_start,
0f21f9cc9d8687 Bjorn Andersson 2018-01-05  202  	.stop		= slim_rproc_stop,
0f21f9cc9d8687 Bjorn Andersson 2018-01-05 @203  	.da_to_va       = slim_rproc_da_to_va,
0f21f9cc9d8687 Bjorn Andersson 2018-01-05  204  	.get_boot_addr	= rproc_elf_get_boot_addr,
0f21f9cc9d8687 Bjorn Andersson 2018-01-05  205  	.load		= rproc_elf_load_segments,
e29ff72b779426 Clement Leger   2020-04-22  206  	.sanity_check	= rproc_elf_sanity_check,
bb6869b2147817 Peter Griffin   2016-10-18  207  };
bb6869b2147817 Peter Griffin   2016-10-18  208  

:::::: The code at line 203 was first introduced by commit
:::::: 0f21f9cc9d868784c7564edc0cfeddd25ca9621a remoteproc: Merge rproc_ops and rproc_fw_ops

:::::: TO: Bjorn Andersson <bjorn.andersson@linaro.org>
:::::: 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: 53822 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

                 reply	other threads:[~2021-04-21 19:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202104220344.4yJKjKRa-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=monstr@monstr.eu \
    --cc=wendy.liang@xilinx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).