[openeuler:OLK-6.6 3124/3124] drivers/ub/ubase/ubase_ubus.c:355:35: warning: unused variable 'ubase_ue_driver'
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 66984acf4b16f28a2cc0d5d6186b4b6bbfd92e26 commit: 727362c0978ca7ecd007ea2f3fc0f7873a615821 [3124/3124] ub: ubase: Support for ELR and entity reset. config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20251109/202511090331.elnR753P-lkp@i...) compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251109/202511090331.elnR753P-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/202511090331.elnR753P-lkp@intel.com/ All warnings (new ones prefixed by >>):
drivers/ub/ubase/ubase_ubus.c:355:35: warning: unused variable 'ubase_ue_driver' [-Wunused-const-variable] 355 | static const struct device_driver ubase_ue_driver = { | ^~~~~~~~~~~~~~~ 1 warning generated.
vim +/ubase_ue_driver +355 drivers/ub/ubase/ubase_ubus.c 354
355 static const struct device_driver ubase_ue_driver = { 356 .pm = &ubase_ubus_pm_ops, 357 }; 358
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot