tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 4b48fa45408a2757255bdd0c640c1f693b424fe4 commit: 901128a1ed92d11749cd5ad529be4e30f3196214 [3479/3479] uburma: add uburma command and user object framework headers config: arm64-randconfig-r061-20251205 (https://download.01.org/0day-ci/archive/20251206/202512060214.uqTv7hOT-lkp@i...) compiler: aarch64-linux-gcc (GCC) 9.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251206/202512060214.uqTv7hOT-lkp@i...) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202512060214.uqTv7hOT-lkp@intel.com/ All warnings (new ones prefixed by >>):
drivers/ub/urma/uburma/uburma_dev_ops.c:68:6: warning: no previous prototype for 'uburma_unregister_mmu' [-Wmissing-prototypes] 68 | void uburma_unregister_mmu(struct uburma_file *file) | ^~~~~~~~~~~~~~~~~~~~~ drivers/ub/urma/uburma/uburma_dev_ops.c:80:5: warning: no previous prototype for 'uburma_register_mmu' [-Wmissing-prototypes] 80 | int uburma_register_mmu(struct uburma_file *file) | ^~~~~~~~~~~~~~~~~~~ drivers/ub/urma/uburma/uburma_dev_ops.c:96:6: warning: no previous prototype for 'uburma_release_file' [-Wmissing-prototypes] 96 | void uburma_release_file(struct kref *ref) | ^~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for PGP_PRELOAD Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=n] Selected by [y]: - PGP_PRELOAD_PUBLIC_KEYS [=y] && CRYPTO [=y] vim +/uburma_unregister_mmu +68 drivers/ub/urma/uburma/uburma_dev_ops.c 67
68 void uburma_unregister_mmu(struct uburma_file *file) 69 { 70 struct uburma_mn *ub_mn = &file->ub_mn; 71 struct mm_struct *mm = ub_mn->mm; 72 73 if (!mm) 74 return; 75 76 file->ub_mn.mm = NULL; 77 mmu_notifier_unregister(&file->ub_mn.mn, mm); 78 } 79 80 int uburma_register_mmu(struct uburma_file *file) 81 { 82 struct uburma_mn *ub_mn = &file->ub_mn; 83 int ret = 0; 84 85 ub_mn->mm = current->mm; 86 ub_mn->mn.ops = &uburma_mm_notifier_ops; 87 ret = mmu_notifier_register(&ub_mn->mn, current->mm); 88 if (ret) { 89 ub_mn->mm = NULL; 90 return ret; 91 } 92 93 return 0; 94 } 95
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki