All of lore.kernel.org
 help / color / mirror / Atom feed
* [arm:for-next 21/26] drivers/mailbox/arm_mhuv2.c:1129:13: error: incompatible function pointer types initializing 'void amba_device with an expression of type 'int (struct amba_device
@ 2021-02-03 14:49 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-02-03 14:49 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: clang-built-linux, Ulf Hansson, kbuild-all, Arnd Bergmann,
	linux-arm-kernel

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

Hi Uwe,

FYI, the error/warning still remains.

tree:   git://git.armlinux.org.uk/~rmk/linux-arm.git for-next
head:   d6bae7564ab1254b46ee3a3953ce1eb682a09602
commit: 3fd269e74f2feec973f45ee11d822faeda4fe284 [21/26] amba: Make the remove callback return void
config: arm64-randconfig-r006-20210202 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 275c6af7d7f1ed63a03d05b4484413e447133269)
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
        git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git
        git fetch --no-tags arm for-next
        git checkout 3fd269e74f2feec973f45ee11d822faeda4fe284
        # 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/mailbox/arm_mhuv2.c:1129:13: error: incompatible function pointer types initializing 'void (*)(struct amba_device *)' with an expression of type 'int (struct amba_device *)' [-Werror,-Wincompatible-function-pointer-types]
           .remove         = mhuv2_remove,
                             ^~~~~~~~~~~~
   1 error generated.


vim +1129 drivers/mailbox/arm_mhuv2.c

5a6338cce9f413 Viresh Kumar 2020-11-17  1122  
5a6338cce9f413 Viresh Kumar 2020-11-17  1123  static struct amba_driver mhuv2_driver = {
5a6338cce9f413 Viresh Kumar 2020-11-17  1124  	.drv = {
5a6338cce9f413 Viresh Kumar 2020-11-17  1125  		.name	= "arm-mhuv2",
5a6338cce9f413 Viresh Kumar 2020-11-17  1126  	},
5a6338cce9f413 Viresh Kumar 2020-11-17  1127  	.id_table	= mhuv2_ids,
5a6338cce9f413 Viresh Kumar 2020-11-17  1128  	.probe		= mhuv2_probe,
5a6338cce9f413 Viresh Kumar 2020-11-17 @1129  	.remove		= mhuv2_remove,
5a6338cce9f413 Viresh Kumar 2020-11-17  1130  };
5a6338cce9f413 Viresh Kumar 2020-11-17  1131  module_amba_driver(mhuv2_driver);
5a6338cce9f413 Viresh Kumar 2020-11-17  1132  

:::::: The code at line 1129 was first introduced by commit
:::::: 5a6338cce9f4133c478d3b10b300f96dd644379a mailbox: arm_mhuv2: Add driver

:::::: TO: Viresh Kumar <viresh.kumar@linaro.org>
:::::: CC: Jassi Brar <jaswinder.singh@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: 42924 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] 4+ messages in thread

* [arm:for-next 21/26] drivers/mailbox/arm_mhuv2.c:1129:13: error: incompatible function pointer types initializing 'void amba_device with an expression of type 'int (struct amba_device
@ 2021-02-03 14:49 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-02-03 14:49 UTC (permalink / raw)
  To: kbuild-all

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

Hi Uwe,

FYI, the error/warning still remains.

tree:   git://git.armlinux.org.uk/~rmk/linux-arm.git for-next
head:   d6bae7564ab1254b46ee3a3953ce1eb682a09602
commit: 3fd269e74f2feec973f45ee11d822faeda4fe284 [21/26] amba: Make the remove callback return void
config: arm64-randconfig-r006-20210202 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 275c6af7d7f1ed63a03d05b4484413e447133269)
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
        git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git
        git fetch --no-tags arm for-next
        git checkout 3fd269e74f2feec973f45ee11d822faeda4fe284
        # 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/mailbox/arm_mhuv2.c:1129:13: error: incompatible function pointer types initializing 'void (*)(struct amba_device *)' with an expression of type 'int (struct amba_device *)' [-Werror,-Wincompatible-function-pointer-types]
           .remove         = mhuv2_remove,
                             ^~~~~~~~~~~~
   1 error generated.


vim +1129 drivers/mailbox/arm_mhuv2.c

5a6338cce9f413 Viresh Kumar 2020-11-17  1122  
5a6338cce9f413 Viresh Kumar 2020-11-17  1123  static struct amba_driver mhuv2_driver = {
5a6338cce9f413 Viresh Kumar 2020-11-17  1124  	.drv = {
5a6338cce9f413 Viresh Kumar 2020-11-17  1125  		.name	= "arm-mhuv2",
5a6338cce9f413 Viresh Kumar 2020-11-17  1126  	},
5a6338cce9f413 Viresh Kumar 2020-11-17  1127  	.id_table	= mhuv2_ids,
5a6338cce9f413 Viresh Kumar 2020-11-17  1128  	.probe		= mhuv2_probe,
5a6338cce9f413 Viresh Kumar 2020-11-17 @1129  	.remove		= mhuv2_remove,
5a6338cce9f413 Viresh Kumar 2020-11-17  1130  };
5a6338cce9f413 Viresh Kumar 2020-11-17  1131  module_amba_driver(mhuv2_driver);
5a6338cce9f413 Viresh Kumar 2020-11-17  1132  

:::::: The code at line 1129 was first introduced by commit
:::::: 5a6338cce9f4133c478d3b10b300f96dd644379a mailbox: arm_mhuv2: Add driver

:::::: TO: Viresh Kumar <viresh.kumar@linaro.org>
:::::: CC: Jassi Brar <jaswinder.singh@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: 42924 bytes --]

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

* [arm:for-next 21/26] drivers/mailbox/arm_mhuv2.c:1129:13: error: incompatible function pointer types initializing 'void amba_device with an expression of type 'int (struct amba_device
@ 2021-02-02 19:00 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-02-02 19:00 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: clang-built-linux, Ulf Hansson, kbuild-all, Arnd Bergmann,
	linux-arm-kernel

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

tree:   git://git.armlinux.org.uk/~rmk/linux-arm.git for-next
head:   d6bae7564ab1254b46ee3a3953ce1eb682a09602
commit: 3fd269e74f2feec973f45ee11d822faeda4fe284 [21/26] amba: Make the remove callback return void
config: arm-randconfig-r012-20210202 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 275c6af7d7f1ed63a03d05b4484413e447133269)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git
        git fetch --no-tags arm for-next
        git checkout 3fd269e74f2feec973f45ee11d822faeda4fe284
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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/mailbox/arm_mhuv2.c:1129:13: error: incompatible function pointer types initializing 'void (*)(struct amba_device *)' with an expression of type 'int (struct amba_device *)' [-Werror,-Wincompatible-function-pointer-types]
           .remove         = mhuv2_remove,
                             ^~~~~~~~~~~~
   1 error generated.


vim +1129 drivers/mailbox/arm_mhuv2.c

5a6338cce9f413 Viresh Kumar 2020-11-17  1122  
5a6338cce9f413 Viresh Kumar 2020-11-17  1123  static struct amba_driver mhuv2_driver = {
5a6338cce9f413 Viresh Kumar 2020-11-17  1124  	.drv = {
5a6338cce9f413 Viresh Kumar 2020-11-17  1125  		.name	= "arm-mhuv2",
5a6338cce9f413 Viresh Kumar 2020-11-17  1126  	},
5a6338cce9f413 Viresh Kumar 2020-11-17  1127  	.id_table	= mhuv2_ids,
5a6338cce9f413 Viresh Kumar 2020-11-17  1128  	.probe		= mhuv2_probe,
5a6338cce9f413 Viresh Kumar 2020-11-17 @1129  	.remove		= mhuv2_remove,
5a6338cce9f413 Viresh Kumar 2020-11-17  1130  };
5a6338cce9f413 Viresh Kumar 2020-11-17  1131  module_amba_driver(mhuv2_driver);
5a6338cce9f413 Viresh Kumar 2020-11-17  1132  

:::::: The code at line 1129 was first introduced by commit
:::::: 5a6338cce9f4133c478d3b10b300f96dd644379a mailbox: arm_mhuv2: Add driver

:::::: TO: Viresh Kumar <viresh.kumar@linaro.org>
:::::: CC: Jassi Brar <jaswinder.singh@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: 41430 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] 4+ messages in thread

* [arm:for-next 21/26] drivers/mailbox/arm_mhuv2.c:1129:13: error: incompatible function pointer types initializing 'void amba_device with an expression of type 'int (struct amba_device
@ 2021-02-02 19:00 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-02-02 19:00 UTC (permalink / raw)
  To: kbuild-all

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

tree:   git://git.armlinux.org.uk/~rmk/linux-arm.git for-next
head:   d6bae7564ab1254b46ee3a3953ce1eb682a09602
commit: 3fd269e74f2feec973f45ee11d822faeda4fe284 [21/26] amba: Make the remove callback return void
config: arm-randconfig-r012-20210202 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 275c6af7d7f1ed63a03d05b4484413e447133269)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git
        git fetch --no-tags arm for-next
        git checkout 3fd269e74f2feec973f45ee11d822faeda4fe284
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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/mailbox/arm_mhuv2.c:1129:13: error: incompatible function pointer types initializing 'void (*)(struct amba_device *)' with an expression of type 'int (struct amba_device *)' [-Werror,-Wincompatible-function-pointer-types]
           .remove         = mhuv2_remove,
                             ^~~~~~~~~~~~
   1 error generated.


vim +1129 drivers/mailbox/arm_mhuv2.c

5a6338cce9f413 Viresh Kumar 2020-11-17  1122  
5a6338cce9f413 Viresh Kumar 2020-11-17  1123  static struct amba_driver mhuv2_driver = {
5a6338cce9f413 Viresh Kumar 2020-11-17  1124  	.drv = {
5a6338cce9f413 Viresh Kumar 2020-11-17  1125  		.name	= "arm-mhuv2",
5a6338cce9f413 Viresh Kumar 2020-11-17  1126  	},
5a6338cce9f413 Viresh Kumar 2020-11-17  1127  	.id_table	= mhuv2_ids,
5a6338cce9f413 Viresh Kumar 2020-11-17  1128  	.probe		= mhuv2_probe,
5a6338cce9f413 Viresh Kumar 2020-11-17 @1129  	.remove		= mhuv2_remove,
5a6338cce9f413 Viresh Kumar 2020-11-17  1130  };
5a6338cce9f413 Viresh Kumar 2020-11-17  1131  module_amba_driver(mhuv2_driver);
5a6338cce9f413 Viresh Kumar 2020-11-17  1132  

:::::: The code at line 1129 was first introduced by commit
:::::: 5a6338cce9f4133c478d3b10b300f96dd644379a mailbox: arm_mhuv2: Add driver

:::::: TO: Viresh Kumar <viresh.kumar@linaro.org>
:::::: CC: Jassi Brar <jaswinder.singh@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: 41430 bytes --]

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

end of thread, other threads:[~2021-02-03 14:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03 14:49 [arm:for-next 21/26] drivers/mailbox/arm_mhuv2.c:1129:13: error: incompatible function pointer types initializing 'void amba_device with an expression of type 'int (struct amba_device kernel test robot
2021-02-03 14:49 ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-02-02 19:00 kernel test robot
2021-02-02 19:00 ` 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.