[openeuler:openEuler-1.0-LTS 1732/1732] drivers/mailbox/phytium_mailbox.c:122:34: warning: unused variable 'phytium_mbox_of_match'

tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: 700db19c02e9c8dcf291aa7a6a29337c97ea1805 commit: 1ae9436b02e93f1f2b9cfc10226812197fbfcd04 [1732/1732] mailbox: add phytium mailbox driver config: x86_64-buildonly-randconfig-005-20250718 (https://download.01.org/0day-ci/archive/20250718/202507182149.MLClqzfv-lkp@i...) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250718/202507182149.MLClqzfv-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/202507182149.MLClqzfv-lkp@intel.com/ All warnings (new ones prefixed by >>):
drivers/mailbox/phytium_mailbox.c:122:34: warning: unused variable 'phytium_mbox_of_match' [-Wunused-const-variable] 122 | static const struct of_device_id phytium_mbox_of_match[] = { | ^~~~~~~~~~~~~~~~~~~~~ 1 warning generated.
vim +/phytium_mbox_of_match +122 drivers/mailbox/phytium_mailbox.c 121
122 static const struct of_device_id phytium_mbox_of_match[] = { 123 { .compatible = "phytium,mbox", }, 124 { }, 125 }; 126 MODULE_DEVICE_TABLE(of, phytium_mbox_of_match); 127
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot