lkml.org 
[lkml]   [2022]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectkernel/sched/rt.c:257:6: warning: no previous declaration for 'unregister_rt_sched_group'
Hi Mathias,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a175eca0f3d747599f1fdfac04cc9195b71ec996
commit: b027789e5e50494c2325cc70c8642e7fd6059479 sched/fair: Prevent dead task groups from regaining cfs_rq's
date: 8 months ago
config: i386-randconfig-a001-20220613 (https://download.01.org/0day-ci/archive/20220701/202207012028.flmyTBwm-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b027789e5e50494c2325cc70c8642e7fd6059479
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout b027789e5e50494c2325cc70c8642e7fd6059479
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash kernel/sched/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> kernel/sched/rt.c:257:6: warning: no previous declaration for 'unregister_rt_sched_group' [-Wmissing-declarations]
void unregister_rt_sched_group(struct task_group *tg) { }
^~~~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/rt.c:259:6: warning: no previous declaration for 'free_rt_sched_group' [-Wmissing-declarations]
void free_rt_sched_group(struct task_group *tg) { }
^~~~~~~~~~~~~~~~~~~
kernel/sched/rt.c:261:5: warning: no previous declaration for 'alloc_rt_sched_group' [-Wmissing-declarations]
int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent)
^~~~~~~~~~~~~~~~~~~~
kernel/sched/rt.c:675:6: warning: no previous declaration for 'sched_rt_bandwidth_account' [-Wmissing-declarations]
bool sched_rt_bandwidth_account(struct rt_rq *rt_rq)
^~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/unregister_rt_sched_group +257 kernel/sched/rt.c

256
> 257 void unregister_rt_sched_group(struct task_group *tg) { }
258

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-07-01 15:05    [W:0.028 / U:1.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site