All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Wendy Liang <wendy.liang@xilinx.com>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
	linux-arm-kernel@lists.infradead.org,
	Michal Simek <monstr@monstr.eu>
Subject: [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)...
Date: Thu, 26 Aug 2021 04:27:44 +0800	[thread overview]
Message-ID: <202108260436.6FDw9PCr-lkp@intel.com> (raw)

[-- 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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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)...
Date: Thu, 26 Aug 2021 04:27:44 +0800	[thread overview]
Message-ID: <202108260436.6FDw9PCr-lkp@intel.com> (raw)

[-- 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 --]

             reply	other threads:[~2021-08-25 20:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-25 20:27 kernel test robot [this message]
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

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=202108260436.6FDw9PCr-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.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 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.