Hi Yishai, I love your patch! Yet something to improve: [auto build test ERROR on awilliam-vfio/next] [also build test ERROR on next-20220520] [cannot apply to v5.18-rc7] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Yishai-Hadas/vfio-Split-migration-ops-from-main-device-ops/20220522-174959 base: https://github.com/awilliam/linux-vfio.git next config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20220523/202205230157.hD7n0wig-lkp@xxxxxxxxx/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 1443dbaba6f0e57be066995db9164f89fb57b413) 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 # https://github.com/intel-lab-lkp/linux/commit/f9fa522b20c805dbbb0907b0f90b2b7f1d260218 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Yishai-Hadas/vfio-Split-migration-ops-from-main-device-ops/20220522-174959 git checkout f9fa522b20c805dbbb0907b0f90b2b7f1d260218 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/vfio/pci/hisilicon/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c:1188:22: error: no member named 'migration_set_state' in 'struct vfio_device_ops' if (core_vdev->ops->migration_set_state) { ~~~~~~~~~~~~~~ ^ 1 error generated. vim +1188 drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c 6abdce51af1a21 Shameer Kolothum 2022-03-08 1176 ee3a5b2359e0e5 Shameer Kolothum 2022-03-08 1177 static int hisi_acc_vfio_pci_open_device(struct vfio_device *core_vdev) ee3a5b2359e0e5 Shameer Kolothum 2022-03-08 1178 { b0eed085903e77 Longfang Liu 2022-03-08 1179 struct hisi_acc_vf_core_device *hisi_acc_vdev = container_of(core_vdev, b0eed085903e77 Longfang Liu 2022-03-08 1180 struct hisi_acc_vf_core_device, core_device.vdev); b0eed085903e77 Longfang Liu 2022-03-08 1181 struct vfio_pci_core_device *vdev = &hisi_acc_vdev->core_device; ee3a5b2359e0e5 Shameer Kolothum 2022-03-08 1182 int ret; ee3a5b2359e0e5 Shameer Kolothum 2022-03-08 1183 ee3a5b2359e0e5 Shameer Kolothum 2022-03-08 1184 ret = vfio_pci_core_enable(vdev); ee3a5b2359e0e5 Shameer Kolothum 2022-03-08 1185 if (ret) ee3a5b2359e0e5 Shameer Kolothum 2022-03-08 1186 return ret; ee3a5b2359e0e5 Shameer Kolothum 2022-03-08 1187 b0eed085903e77 Longfang Liu 2022-03-08 @1188 if (core_vdev->ops->migration_set_state) { b0eed085903e77 Longfang Liu 2022-03-08 1189 ret = hisi_acc_vf_qm_init(hisi_acc_vdev); b0eed085903e77 Longfang Liu 2022-03-08 1190 if (ret) { b0eed085903e77 Longfang Liu 2022-03-08 1191 vfio_pci_core_disable(vdev); b0eed085903e77 Longfang Liu 2022-03-08 1192 return ret; b0eed085903e77 Longfang Liu 2022-03-08 1193 } b0eed085903e77 Longfang Liu 2022-03-08 1194 hisi_acc_vdev->mig_state = VFIO_DEVICE_STATE_RUNNING; b0eed085903e77 Longfang Liu 2022-03-08 1195 } ee3a5b2359e0e5 Shameer Kolothum 2022-03-08 1196 b0eed085903e77 Longfang Liu 2022-03-08 1197 vfio_pci_core_finish_enable(vdev); ee3a5b2359e0e5 Shameer Kolothum 2022-03-08 1198 return 0; ee3a5b2359e0e5 Shameer Kolothum 2022-03-08 1199 } ee3a5b2359e0e5 Shameer Kolothum 2022-03-08 1200 -- 0-DAY CI Kernel Test Service https://01.org/lkp