All of lore.kernel.org
 help / color / mirror / Atom feed
* [vhost:vhost 29/31] drivers/crypto/virtio/virtio_crypto_core.c:516:25: error: initialization of 'int (*)(struct virtio_device *, void *)' from incompatible pointer type 'int (*)(struct virtio_device *)'
@ 2021-07-07 20:35 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-07-07 20:35 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: kbuild-all, kvm, virtualization, netdev

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost
head:   168a32fcc18a6f4afb7ea9d4760bf82becc67a43
commit: e397242b72e20f12139d895e4f10da736b2ae0a4 [29/31] virtio: allow passing config data from validate callback
config: openrisc-randconfig-r025-20210707 (attached as .config)
compiler: or1k-linux-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://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git/commit/?id=e397242b72e20f12139d895e4f10da736b2ae0a4
        git remote add vhost https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git
        git fetch --no-tags vhost vhost
        git checkout e397242b72e20f12139d895e4f10da736b2ae0a4
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc 

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/crypto/virtio/virtio_crypto_core.c:516:25: error: initialization of 'int (*)(struct virtio_device *, void *)' from incompatible pointer type 'int (*)(struct virtio_device *)' [-Werror=incompatible-pointer-types]
     516 |  .probe               = virtcrypto_probe,
         |                         ^~~~~~~~~~~~~~~~
   drivers/crypto/virtio/virtio_crypto_core.c:516:25: note: (near initialization for 'virtio_crypto_driver.probe')
   cc1: some warnings being treated as errors


vim +516 drivers/crypto/virtio/virtio_crypto_core.c

dbaf0624ffa57a Gonglei 2016-12-15  509  
dbaf0624ffa57a Gonglei 2016-12-15  510  static struct virtio_driver virtio_crypto_driver = {
dbaf0624ffa57a Gonglei 2016-12-15  511  	.driver.name         = KBUILD_MODNAME,
dbaf0624ffa57a Gonglei 2016-12-15  512  	.driver.owner        = THIS_MODULE,
dbaf0624ffa57a Gonglei 2016-12-15  513  	.feature_table       = features,
dbaf0624ffa57a Gonglei 2016-12-15  514  	.feature_table_size  = ARRAY_SIZE(features),
dbaf0624ffa57a Gonglei 2016-12-15  515  	.id_table            = id_table,
dbaf0624ffa57a Gonglei 2016-12-15 @516  	.probe               = virtcrypto_probe,
dbaf0624ffa57a Gonglei 2016-12-15  517  	.remove              = virtcrypto_remove,
dbaf0624ffa57a Gonglei 2016-12-15  518  	.config_changed = virtcrypto_config_changed,
dbaf0624ffa57a Gonglei 2016-12-15  519  #ifdef CONFIG_PM_SLEEP
dbaf0624ffa57a Gonglei 2016-12-15  520  	.freeze = virtcrypto_freeze,
dbaf0624ffa57a Gonglei 2016-12-15  521  	.restore = virtcrypto_restore,
dbaf0624ffa57a Gonglei 2016-12-15  522  #endif
dbaf0624ffa57a Gonglei 2016-12-15  523  };
dbaf0624ffa57a Gonglei 2016-12-15  524  

:::::: The code at line 516 was first introduced by commit
:::::: dbaf0624ffa57ae6e7d87a823185ccd9a7852d3c crypto: add virtio-crypto driver

:::::: TO: Gonglei <arei.gonglei@huawei.com>
:::::: CC: Michael S. Tsirkin <mst@redhat.com>

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

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

* [vhost:vhost 29/31] drivers/crypto/virtio/virtio_crypto_core.c:516:25: error: initialization of 'int (*)(struct virtio_device *, void *)' from incompatible pointer type 'int (*)(struct virtio_device *)'
@ 2021-07-07 20:35 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-07-07 20:35 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: netdev, kbuild-all, kvm, virtualization

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost
head:   168a32fcc18a6f4afb7ea9d4760bf82becc67a43
commit: e397242b72e20f12139d895e4f10da736b2ae0a4 [29/31] virtio: allow passing config data from validate callback
config: openrisc-randconfig-r025-20210707 (attached as .config)
compiler: or1k-linux-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://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git/commit/?id=e397242b72e20f12139d895e4f10da736b2ae0a4
        git remote add vhost https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git
        git fetch --no-tags vhost vhost
        git checkout e397242b72e20f12139d895e4f10da736b2ae0a4
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc 

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/crypto/virtio/virtio_crypto_core.c:516:25: error: initialization of 'int (*)(struct virtio_device *, void *)' from incompatible pointer type 'int (*)(struct virtio_device *)' [-Werror=incompatible-pointer-types]
     516 |  .probe               = virtcrypto_probe,
         |                         ^~~~~~~~~~~~~~~~
   drivers/crypto/virtio/virtio_crypto_core.c:516:25: note: (near initialization for 'virtio_crypto_driver.probe')
   cc1: some warnings being treated as errors


vim +516 drivers/crypto/virtio/virtio_crypto_core.c

dbaf0624ffa57a Gonglei 2016-12-15  509  
dbaf0624ffa57a Gonglei 2016-12-15  510  static struct virtio_driver virtio_crypto_driver = {
dbaf0624ffa57a Gonglei 2016-12-15  511  	.driver.name         = KBUILD_MODNAME,
dbaf0624ffa57a Gonglei 2016-12-15  512  	.driver.owner        = THIS_MODULE,
dbaf0624ffa57a Gonglei 2016-12-15  513  	.feature_table       = features,
dbaf0624ffa57a Gonglei 2016-12-15  514  	.feature_table_size  = ARRAY_SIZE(features),
dbaf0624ffa57a Gonglei 2016-12-15  515  	.id_table            = id_table,
dbaf0624ffa57a Gonglei 2016-12-15 @516  	.probe               = virtcrypto_probe,
dbaf0624ffa57a Gonglei 2016-12-15  517  	.remove              = virtcrypto_remove,
dbaf0624ffa57a Gonglei 2016-12-15  518  	.config_changed = virtcrypto_config_changed,
dbaf0624ffa57a Gonglei 2016-12-15  519  #ifdef CONFIG_PM_SLEEP
dbaf0624ffa57a Gonglei 2016-12-15  520  	.freeze = virtcrypto_freeze,
dbaf0624ffa57a Gonglei 2016-12-15  521  	.restore = virtcrypto_restore,
dbaf0624ffa57a Gonglei 2016-12-15  522  #endif
dbaf0624ffa57a Gonglei 2016-12-15  523  };
dbaf0624ffa57a Gonglei 2016-12-15  524  

:::::: The code at line 516 was first introduced by commit
:::::: dbaf0624ffa57ae6e7d87a823185ccd9a7852d3c crypto: add virtio-crypto driver

:::::: TO: Gonglei <arei.gonglei@huawei.com>
:::::: CC: Michael S. Tsirkin <mst@redhat.com>

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

[-- Attachment #3: Type: text/plain, Size: 183 bytes --]

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

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

* [vhost:vhost 29/31] drivers/crypto/virtio/virtio_crypto_core.c:516:25: error: initialization of 'int (*)(struct virtio_device *, void *)' from incompatible pointer type 'int (*)(struct virtio_device *)'
@ 2021-07-07 20:35 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-07-07 20:35 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost
head:   168a32fcc18a6f4afb7ea9d4760bf82becc67a43
commit: e397242b72e20f12139d895e4f10da736b2ae0a4 [29/31] virtio: allow passing config data from validate callback
config: openrisc-randconfig-r025-20210707 (attached as .config)
compiler: or1k-linux-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://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git/commit/?id=e397242b72e20f12139d895e4f10da736b2ae0a4
        git remote add vhost https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git
        git fetch --no-tags vhost vhost
        git checkout e397242b72e20f12139d895e4f10da736b2ae0a4
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc 

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/crypto/virtio/virtio_crypto_core.c:516:25: error: initialization of 'int (*)(struct virtio_device *, void *)' from incompatible pointer type 'int (*)(struct virtio_device *)' [-Werror=incompatible-pointer-types]
     516 |  .probe               = virtcrypto_probe,
         |                         ^~~~~~~~~~~~~~~~
   drivers/crypto/virtio/virtio_crypto_core.c:516:25: note: (near initialization for 'virtio_crypto_driver.probe')
   cc1: some warnings being treated as errors


vim +516 drivers/crypto/virtio/virtio_crypto_core.c

dbaf0624ffa57a Gonglei 2016-12-15  509  
dbaf0624ffa57a Gonglei 2016-12-15  510  static struct virtio_driver virtio_crypto_driver = {
dbaf0624ffa57a Gonglei 2016-12-15  511  	.driver.name         = KBUILD_MODNAME,
dbaf0624ffa57a Gonglei 2016-12-15  512  	.driver.owner        = THIS_MODULE,
dbaf0624ffa57a Gonglei 2016-12-15  513  	.feature_table       = features,
dbaf0624ffa57a Gonglei 2016-12-15  514  	.feature_table_size  = ARRAY_SIZE(features),
dbaf0624ffa57a Gonglei 2016-12-15  515  	.id_table            = id_table,
dbaf0624ffa57a Gonglei 2016-12-15 @516  	.probe               = virtcrypto_probe,
dbaf0624ffa57a Gonglei 2016-12-15  517  	.remove              = virtcrypto_remove,
dbaf0624ffa57a Gonglei 2016-12-15  518  	.config_changed = virtcrypto_config_changed,
dbaf0624ffa57a Gonglei 2016-12-15  519  #ifdef CONFIG_PM_SLEEP
dbaf0624ffa57a Gonglei 2016-12-15  520  	.freeze = virtcrypto_freeze,
dbaf0624ffa57a Gonglei 2016-12-15  521  	.restore = virtcrypto_restore,
dbaf0624ffa57a Gonglei 2016-12-15  522  #endif
dbaf0624ffa57a Gonglei 2016-12-15  523  };
dbaf0624ffa57a Gonglei 2016-12-15  524  

:::::: The code at line 516 was first introduced by commit
:::::: dbaf0624ffa57ae6e7d87a823185ccd9a7852d3c crypto: add virtio-crypto driver

:::::: TO: Gonglei <arei.gonglei@huawei.com>
:::::: CC: Michael S. Tsirkin <mst@redhat.com>

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

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

end of thread, other threads:[~2021-07-07 20:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07 20:35 [vhost:vhost 29/31] drivers/crypto/virtio/virtio_crypto_core.c:516:25: error: initialization of 'int (*)(struct virtio_device *, void *)' from incompatible pointer type 'int (*)(struct virtio_device *)' kernel test robot
2021-07-07 20:35 ` kernel test robot
2021-07-07 20:35 ` 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.