From: kernel test robot <lkp@intel.com>
To: Frederic Weisbecker <frederic@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [frederic-dynticks:task/work 5/6] include/linux/sched/isolation.h:93:52: warning: non-void function does not return a value
Date: Fri, 7 Feb 2025 07:27:29 +0800 [thread overview]
Message-ID: <202502070708.IhgkGkEH-lkp@intel.com> (raw)
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
reply other threads:[~2025-02-06 23:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202502070708.IhgkGkEH-lkp@intel.com \
--to=lkp@intel.com \
--cc=frederic@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox