mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kernel/sched/rt.c:257:6: warning: no previous declaration for 'unregister_rt_sched_group'
@ 2022-06-23 21:37 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-06-23 21:37 UTC (permalink / raw)
  To: Mathias Krause; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92f20ff72066d8d7e2ffb655c2236259ac9d1c5d
commit: b027789e5e50494c2325cc70c8642e7fd6059479 sched/fair: Prevent dead task groups from regaining cfs_rq's
date:   7 months ago
config: i386-randconfig-a004-20220620 (https://download.01.org/0day-ci/archive/20220624/202206240552.NqXLKyZT-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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* kernel/sched/rt.c:257:6: warning: no previous declaration for 'unregister_rt_sched_group'
@ 2022-07-01 13:01 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-07-01 13:01 UTC (permalink / raw)
  To: Mathias Krause; +Cc: kbuild-all, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-01 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-23 21:37 kernel/sched/rt.c:257:6: warning: no previous declaration for 'unregister_rt_sched_group' kernel test robot
2022-07-01 13:01 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

all inboxes | Powered by JetHome®