drivers/rtc/rtc-pcf85063.c:566:37: warning: unused variable 'config_rv8063'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 9ee814bd78e315e4551223ca7548dd3f6bdcf1ae commit: a3c7f7e16ea8f1c8a34227c7ea08a7e002c2608b [11884/12139] rtc: pcf85063: add support for RV8063 config: hexagon-randconfig-001-20250724 (https://download.01.org/0day-ci/archive/20250724/[email protected]/config) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 853c343b45b3e83cc5eeef5a52fc8cc9d8a09252) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250724/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
>> drivers/rtc/rtc-pcf85063.c:566:37: warning: unused variable 'config_rv8063' [-Wunused-const-variable]
566 | static const struct pcf85063_config config_rv8063 = {
| ^~~~~~~~~~~~~1 warning generated.
vim +/config_rv8063 +566 drivers/rtc/rtc-pcf85063.c
565
> 566 static const struct pcf85063_config config_rv8063 = { 567 .regmap = {
568 .reg_bits = 8,
569 .val_bits = 8,
570 .max_register = 0x11,
571 .read_flag_mask = BIT(7) | BIT(5),
572 .write_flag_mask = BIT(5),
573 },
574 .has_alarms = 1,
575 .force_cap_7000 = 1,
576 };
577
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki