Re: [PATCH] scsi: ufs: rpmb: register and unregister the ufs_rpmb bus
From: kernel test robot
Date: Fri Sep 25 2026 - 21:50:35 EST
Hi Dmitry,
kernel test robot noticed the following build errors:
[auto build test ERROR on 3f2425f5b5bbbdd991ca9cdfd5502e68d8895998]
url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/scsi-ufs-rpmb-register-and-unregister-the-ufs_rpmb-bus/20260920-175018
base: 3f2425f5b5bbbdd991ca9cdfd5502e68d8895998
patch link: https://lore.kernel.org/r/20260920-fix-ufs-rpmb-v1-1-560b842c589d%40oss.qualcomm.com
patch subject: [PATCH] scsi: ufs: rpmb: register and unregister the ufs_rpmb bus
config: arc-randconfig-1001-20260926 (https://download.01.org/0day-ci/archive/20260926/202609260913.FY1vuM99-lkp@xxxxxxxxx/config)
compiler: arc-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260926/202609260913.FY1vuM99-lkp@xxxxxxxxx/reproduce)
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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609260913.FY1vuM99-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
arc-linux-ld: drivers/ufs/core/ufs-rpmb.o: in function `ufs_rpmb_init':
>> drivers/ufs/core/ufs-rpmb.c:280: multiple definition of `init_module'; drivers/ufs/core/ufshcd.o:drivers/ufs/core/ufshcd.c:11609: first defined here
arc-linux-ld: drivers/ufs/core/ufs-rpmb.o: in function `ufs_rpmb_exit':
>> drivers/ufs/core/ufs-rpmb.c:285: multiple definition of `cleanup_module'; drivers/ufs/core/ufshcd.o:drivers/ufs/core/ufshcd.c:11623: first defined here
vim +280 drivers/ufs/core/ufs-rpmb.c
277
278 static int __init ufs_rpmb_init(void)
279 {
> 280 return bus_register(&ufs_rpmb_bus_type);
281 }
282
283 static void __exit ufs_rpmb_exit(void)
284 {
> 285 bus_unregister(&ufs_rpmb_bus_type);
286 }
287
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki