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: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-arm-kernel@lists.infradead.org,
	Michal Simek <monstr@monstr.eu>
Subject: [xilinx-xlnx:master 11230/12535] drivers/remoteproc/ingenic_rproc.c:144: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, siz...
Date: Tue, 23 Nov 2021 05:06:40 +0800	[thread overview]
Message-ID: <202111230535.jsSpsSyM-lkp@intel.com> (raw)

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

tree:   https://github.com/Xilinx/linux-xlnx master
head:   0a88ef03d3015782318b4bc94ceb20dca375a01b
commit: a324889a971b8e827c53deaffe630b420bde4067 [11230/12535] remoteproc: Add support for peek from remote and acking kick from remote
config: powerpc-randconfig-r026-20210930 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 28981015526f2192440c18f18e8a20cd11b0779c)
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 powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://github.com/Xilinx/linux-xlnx/commit/a324889a971b8e827c53deaffe630b420bde4067
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-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=powerpc 

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 >>):

   In file included from drivers/remoteproc/ingenic_rproc.c:7:
   In file included from include/linux/bitops.h:29:
   In file included from arch/powerpc/include/asm/bitops.h:62:
   arch/powerpc/include/asm/barrier.h:49:9: warning: '__lwsync' macro redefined [-Wmacro-redefined]
   #define __lwsync()      __asm__ __volatile__ (stringify_in_c(LWSYNC) : : :"memory")
           ^
   <built-in>:310:9: note: previous definition is here
   #define __lwsync __builtin_ppc_lwsync
           ^
>> drivers/remoteproc/ingenic_rproc.c:144: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 int)') [-Werror,-Wincompatible-function-pointer-types]
           .da_to_va = ingenic_rproc_da_to_va,
                       ^~~~~~~~~~~~~~~~~~~~~~
   1 warning and 1 error generated.


vim +144 drivers/remoteproc/ingenic_rproc.c

48f0a1bbb7586c Paul Cercueil   2020-05-15  137  
48f0a1bbb7586c Paul Cercueil   2020-05-15  138  static struct rproc_ops ingenic_rproc_ops = {
4605ad8f458198 Mathieu Poirier 2020-06-30  139  	.prepare = ingenic_rproc_prepare,
4605ad8f458198 Mathieu Poirier 2020-06-30  140  	.unprepare = ingenic_rproc_unprepare,
48f0a1bbb7586c Paul Cercueil   2020-05-15  141  	.start = ingenic_rproc_start,
48f0a1bbb7586c Paul Cercueil   2020-05-15  142  	.stop = ingenic_rproc_stop,
48f0a1bbb7586c Paul Cercueil   2020-05-15  143  	.kick = ingenic_rproc_kick,
48f0a1bbb7586c Paul Cercueil   2020-05-15 @144  	.da_to_va = ingenic_rproc_da_to_va,
48f0a1bbb7586c Paul Cercueil   2020-05-15  145  };
48f0a1bbb7586c Paul Cercueil   2020-05-15  146  

:::::: The code at line 144 was first introduced by commit
:::::: 48f0a1bbb7586c94e0f15116b06f8179df2fd60f remoteproc: ingenic: Added remoteproc driver

:::::: TO: Paul Cercueil <paul@crapouillou.net>
:::::: 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: 38896 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Wendy Liang <wendy.liang@xilinx.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-arm-kernel@lists.infradead.org,
	Michal Simek <monstr@monstr.eu>
Subject: [xilinx-xlnx:master 11230/12535] drivers/remoteproc/ingenic_rproc.c:144: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, siz...
Date: Tue, 23 Nov 2021 05:06:40 +0800	[thread overview]
Message-ID: <202111230535.jsSpsSyM-lkp@intel.com> (raw)

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

tree:   https://github.com/Xilinx/linux-xlnx master
head:   0a88ef03d3015782318b4bc94ceb20dca375a01b
commit: a324889a971b8e827c53deaffe630b420bde4067 [11230/12535] remoteproc: Add support for peek from remote and acking kick from remote
config: powerpc-randconfig-r026-20210930 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 28981015526f2192440c18f18e8a20cd11b0779c)
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 powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://github.com/Xilinx/linux-xlnx/commit/a324889a971b8e827c53deaffe630b420bde4067
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-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=powerpc 

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 >>):

   In file included from drivers/remoteproc/ingenic_rproc.c:7:
   In file included from include/linux/bitops.h:29:
   In file included from arch/powerpc/include/asm/bitops.h:62:
   arch/powerpc/include/asm/barrier.h:49:9: warning: '__lwsync' macro redefined [-Wmacro-redefined]
   #define __lwsync()      __asm__ __volatile__ (stringify_in_c(LWSYNC) : : :"memory")
           ^
   <built-in>:310:9: note: previous definition is here
   #define __lwsync __builtin_ppc_lwsync
           ^
>> drivers/remoteproc/ingenic_rproc.c:144: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 int)') [-Werror,-Wincompatible-function-pointer-types]
           .da_to_va = ingenic_rproc_da_to_va,
                       ^~~~~~~~~~~~~~~~~~~~~~
   1 warning and 1 error generated.


vim +144 drivers/remoteproc/ingenic_rproc.c

48f0a1bbb7586c Paul Cercueil   2020-05-15  137  
48f0a1bbb7586c Paul Cercueil   2020-05-15  138  static struct rproc_ops ingenic_rproc_ops = {
4605ad8f458198 Mathieu Poirier 2020-06-30  139  	.prepare = ingenic_rproc_prepare,
4605ad8f458198 Mathieu Poirier 2020-06-30  140  	.unprepare = ingenic_rproc_unprepare,
48f0a1bbb7586c Paul Cercueil   2020-05-15  141  	.start = ingenic_rproc_start,
48f0a1bbb7586c Paul Cercueil   2020-05-15  142  	.stop = ingenic_rproc_stop,
48f0a1bbb7586c Paul Cercueil   2020-05-15  143  	.kick = ingenic_rproc_kick,
48f0a1bbb7586c Paul Cercueil   2020-05-15 @144  	.da_to_va = ingenic_rproc_da_to_va,
48f0a1bbb7586c Paul Cercueil   2020-05-15  145  };
48f0a1bbb7586c Paul Cercueil   2020-05-15  146  

:::::: The code at line 144 was first introduced by commit
:::::: 48f0a1bbb7586c94e0f15116b06f8179df2fd60f remoteproc: ingenic: Added remoteproc driver

:::::: TO: Paul Cercueil <paul@crapouillou.net>
:::::: 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: 38896 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: [xilinx-xlnx:master 11230/12535] drivers/remoteproc/ingenic_rproc.c:144: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, siz...
Date: Tue, 23 Nov 2021 05:06:40 +0800	[thread overview]
Message-ID: <202111230535.jsSpsSyM-lkp@intel.com> (raw)

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

tree:   https://github.com/Xilinx/linux-xlnx master
head:   0a88ef03d3015782318b4bc94ceb20dca375a01b
commit: a324889a971b8e827c53deaffe630b420bde4067 [11230/12535] remoteproc: Add support for peek from remote and acking kick from remote
config: powerpc-randconfig-r026-20210930 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 28981015526f2192440c18f18e8a20cd11b0779c)
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 powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://github.com/Xilinx/linux-xlnx/commit/a324889a971b8e827c53deaffe630b420bde4067
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-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=powerpc 

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 >>):

   In file included from drivers/remoteproc/ingenic_rproc.c:7:
   In file included from include/linux/bitops.h:29:
   In file included from arch/powerpc/include/asm/bitops.h:62:
   arch/powerpc/include/asm/barrier.h:49:9: warning: '__lwsync' macro redefined [-Wmacro-redefined]
   #define __lwsync()      __asm__ __volatile__ (stringify_in_c(LWSYNC) : : :"memory")
           ^
   <built-in>:310:9: note: previous definition is here
   #define __lwsync __builtin_ppc_lwsync
           ^
>> drivers/remoteproc/ingenic_rproc.c:144: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 int)') [-Werror,-Wincompatible-function-pointer-types]
           .da_to_va = ingenic_rproc_da_to_va,
                       ^~~~~~~~~~~~~~~~~~~~~~
   1 warning and 1 error generated.


vim +144 drivers/remoteproc/ingenic_rproc.c

48f0a1bbb7586c Paul Cercueil   2020-05-15  137  
48f0a1bbb7586c Paul Cercueil   2020-05-15  138  static struct rproc_ops ingenic_rproc_ops = {
4605ad8f458198 Mathieu Poirier 2020-06-30  139  	.prepare = ingenic_rproc_prepare,
4605ad8f458198 Mathieu Poirier 2020-06-30  140  	.unprepare = ingenic_rproc_unprepare,
48f0a1bbb7586c Paul Cercueil   2020-05-15  141  	.start = ingenic_rproc_start,
48f0a1bbb7586c Paul Cercueil   2020-05-15  142  	.stop = ingenic_rproc_stop,
48f0a1bbb7586c Paul Cercueil   2020-05-15  143  	.kick = ingenic_rproc_kick,
48f0a1bbb7586c Paul Cercueil   2020-05-15 @144  	.da_to_va = ingenic_rproc_da_to_va,
48f0a1bbb7586c Paul Cercueil   2020-05-15  145  };
48f0a1bbb7586c Paul Cercueil   2020-05-15  146  

:::::: The code at line 144 was first introduced by commit
:::::: 48f0a1bbb7586c94e0f15116b06f8179df2fd60f remoteproc: ingenic: Added remoteproc driver

:::::: TO: Paul Cercueil <paul@crapouillou.net>
:::::: 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: 38896 bytes --]

             reply	other threads:[~2021-11-22 21:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-22 21:06 kernel test robot [this message]
2021-11-22 21:06 ` [xilinx-xlnx:master 11230/12535] drivers/remoteproc/ingenic_rproc.c:144: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, siz kernel test robot
2021-11-22 21:06 ` 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=202111230535.jsSpsSyM-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=llvm@lists.linux.dev \
    --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.