All of lore.kernel.org
 help / color / mirror / Atom feed
* [xilinx-xlnx:master 11230/12535] drivers/remoteproc/ingenic_rproc.c:144:21: 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...
@ 2021-11-17 21:06 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-17 21:06 UTC (permalink / raw)
  To: Wendy Liang; +Cc: kbuild-all, linux-arm-kernel, Michal Simek

[-- Attachment #1: Type: text/plain, Size: 3460 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: microblaze-randconfig-r025-20211031 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 11.2.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 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=gcc-11.2.0 make.cross ARCH=microblaze 

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/ingenic_rproc.c:144:21: 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]
     144 |         .da_to_va = ingenic_rproc_da_to_va,
         |                     ^~~~~~~~~~~~~~~~~~~~~~
   drivers/remoteproc/ingenic_rproc.c:144:21: note: (near initialization for 'ingenic_rproc_ops.da_to_va')
   cc1: some warnings being treated as errors
--
>> drivers/remoteproc/mtk_scp.c:463:27: 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]
     463 |         .da_to_va       = scp_da_to_va,
         |                           ^~~~~~~~~~~~
   drivers/remoteproc/mtk_scp.c:463:27: note: (near initialization for 'scp_ops.da_to_va')
   cc1: some warnings being treated as errors


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

* [xilinx-xlnx:master 11230/12535] drivers/remoteproc/ingenic_rproc.c:144:21: 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...
@ 2021-11-17 21:06 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-17 21:06 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3517 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: microblaze-randconfig-r025-20211031 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 11.2.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 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=gcc-11.2.0 make.cross ARCH=microblaze 

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/ingenic_rproc.c:144:21: 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]
     144 |         .da_to_va = ingenic_rproc_da_to_va,
         |                     ^~~~~~~~~~~~~~~~~~~~~~
   drivers/remoteproc/ingenic_rproc.c:144:21: note: (near initialization for 'ingenic_rproc_ops.da_to_va')
   cc1: some warnings being treated as errors
--
>> drivers/remoteproc/mtk_scp.c:463:27: 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]
     463 |         .da_to_va       = scp_da_to_va,
         |                           ^~~~~~~~~~~~
   drivers/remoteproc/mtk_scp.c:463:27: note: (near initialization for 'scp_ops.da_to_va')
   cc1: some warnings being treated as errors


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: 36075 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-17 21:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 21:06 [xilinx-xlnx:master 11230/12535] drivers/remoteproc/ingenic_rproc.c:144:21: 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 kernel test robot
2021-11-17 21:06 ` 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.