Hi Alexey, Thank you for the patch! Yet something to improve: [auto build test ERROR on powerpc/topic/ppc-kvm] [also build test ERROR on v5.16-rc7] [cannot apply to next-20211224] [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/0day-ci/linux/commits/Alexey-Kardashevskiy/KVM-PPC-Merge-powerpc-s-debugfs-entry-content-into-generic-entry/20211220-092433 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git topic/ppc-kvm config: powerpc64-randconfig-s031-20211228 (https://download.01.org/0day-ci/archive/20211229/202112291710.E7bImDlB-lkp@xxxxxxxxx/config) compiler: powerpc64-linux-gcc (GCC) 11.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/0day-ci/linux/commit/3d3a1a5e82517f5f1a5dd3d7131afb3aa4312d82 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Alexey-Kardashevskiy/KVM-PPC-Merge-powerpc-s-debugfs-entry-content-into-generic-entry/20211220-092433 git checkout 3d3a1a5e82517f5f1a5dd3d7131afb3aa4312d82 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/kvm/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> arch/powerpc/kvm/e500mc.c:384:32: error: initialization of 'int (*)(struct kvm_vcpu *, struct dentry *)' from incompatible pointer type 'void (*)(struct kvm_vcpu *, struct dentry *)' [-Werror=incompatible-pointer-types] 384 | .create_vcpu_debugfs = kvmppc_create_vcpu_debugfs_e500, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/powerpc/kvm/e500mc.c:384:32: note: (near initialization for 'kvm_ops_e500mc.create_vcpu_debugfs') cc1: all warnings being treated as errors vim +384 arch/powerpc/kvm/e500mc.c 369 370 static struct kvmppc_ops kvm_ops_e500mc = { 371 .get_sregs = kvmppc_core_get_sregs_e500mc, 372 .set_sregs = kvmppc_core_set_sregs_e500mc, 373 .get_one_reg = kvmppc_get_one_reg_e500mc, 374 .set_one_reg = kvmppc_set_one_reg_e500mc, 375 .vcpu_load = kvmppc_core_vcpu_load_e500mc, 376 .vcpu_put = kvmppc_core_vcpu_put_e500mc, 377 .vcpu_create = kvmppc_core_vcpu_create_e500mc, 378 .vcpu_free = kvmppc_core_vcpu_free_e500mc, 379 .init_vm = kvmppc_core_init_vm_e500mc, 380 .destroy_vm = kvmppc_core_destroy_vm_e500mc, 381 .emulate_op = kvmppc_core_emulate_op_e500, 382 .emulate_mtspr = kvmppc_core_emulate_mtspr_e500, 383 .emulate_mfspr = kvmppc_core_emulate_mfspr_e500, > 384 .create_vcpu_debugfs = kvmppc_create_vcpu_debugfs_e500, 385 }; 386 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx