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@xxxxxxxxx> 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@xxxxxxxxxx> :::::: CC: Michael S. Tsirkin <mst@xxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization