* [frederic-dynticks:task/work 5/6] include/linux/sched/isolation.h:93:52: warning: non-void function does not return a value
@ 2025-02-06 23:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-06 23:27 UTC (permalink / raw)
To: Frederic Weisbecker; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git task/work
head: 3a5b43d6075ec915d0bf17d38d15f9c75d05dc26
commit: 1526f337fd88fdf6bf5184dd1d8ad334a40baac2 [5/6] sched/isolation: Introduce isolated task work
config: i386-buildonly-randconfig-005-20250207 (https://download.01.org/0day-ci/archive/20250207/202502070708.IhgkGkEH-lkp@intel.com/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/20250207/202502070708.IhgkGkEH-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502070708.IhgkGkEH-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from mm/vmstat.c:28:
include/linux/mm_inline.h:47:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
47 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages);
| ~~~~~~~~~~~ ^ ~~~
include/linux/mm_inline.h:49:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
49 | NR_ZONE_LRU_BASE + lru, nr_pages);
| ~~~~~~~~~~~~~~~~ ^ ~~~
In file included from mm/vmstat.c:30:
>> include/linux/sched/isolation.h:93:52: warning: non-void function does not return a value [-Wreturn-type]
93 | static inline int isolated_task_work_queue(void) { }
| ^
3 warnings generated.
vim +93 include/linux/sched/isolation.h
90
91 extern void isolated_task_work_init(struct task_struct *tsk);
92 #else
> 93 static inline int isolated_task_work_queue(void) { }
94 static inline void isolated_task_work_init(struct task_struct *tsk) { }
95 #endif /* CONFIG_NO_HZ_FULL */
96
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-02-06 23:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-06 23:27 [frederic-dynticks:task/work 5/6] include/linux/sched/isolation.h:93:52: warning: non-void function does not return a value kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox