tree: https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git testing head: e0b741bc53c94f9ae25d4140202557a0aa51b5a0 commit: 490105aa8f79a2f96de9c6c23fb22437faf0d6a4 [4/5] can: tcan4x5x: add option for selecting nWKRQ voltage config: x86_64-buildonly-randconfig-004-20241118 (https://download.01.org/0day-ci/archive/20241119/202411190037.WDcg9NkS-lkp@xxxxxxxxx/config) compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241119/202411190037.WDcg9NkS-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/202411190037.WDcg9NkS-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): In file included from drivers/net/can/m_can/tcan4x5x-core.c:5: In file included from drivers/net/can/m_can/tcan4x5x.h:14: In file included from include/linux/regulator/consumer.h:35: In file included from include/linux/suspend.h:5: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:21: In file included from include/linux/mm.h:2213: include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ >> drivers/net/can/m_can/tcan4x5x-core.c:333:22: warning: unused variable 'np' [-Wunused-variable] 333 | struct device_node *np = cdev->dev->of_node; | ^~ 5 warnings generated. vim +/np +333 drivers/net/can/m_can/tcan4x5x-core.c 329 330 static void tcan4x5x_get_dt_data(struct m_can_classdev *cdev) 331 { 332 struct tcan4x5x_priv *tcan4x5x = cdev_to_priv(cdev); > 333 struct device_node *np = cdev->dev->of_node; 334 335 tcan4x5x->nwkrq_voltage_vio = 336 of_property_read_bool(cdev->dev->of_node, "ti,nwkrq-voltage-vio"); 337 } 338 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki