Messages in this thread | | | Date | Sat, 24 Jun 2017 17:24:33 +0800 | From | kbuild test robot <> | Subject | [tip:sched/core 93/94] kernel/sched/fair.c:2656:44: warning: 'struct sched_domain' declared inside parameter list will not be visible outside of this definition or declaration |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core head: 815abf5af45f04f759f12f3172afd15226fd7f71 commit: 3fed382b46baac83703130fe4cd3d9147f427fb9 [93/94] sched/numa: Implement NUMA node level wake_affine() config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 3fed382b46baac83703130fe4cd3d9147f427fb9 # save the attached .config to linux build tree make ARCH=i386
All warnings (new ones prefixed by >>):
>> kernel/sched/fair.c:2656:44: warning: 'struct sched_domain' declared inside parameter list will not be visible outside of this definition or declaration static inline bool numa_wake_affine(struct sched_domain *sd, ^~~~~~~~~~~~
vim +2656 kernel/sched/fair.c
2640 2641 return true; 2642 } 2643 #else 2644 static void task_tick_numa(struct rq *rq, struct task_struct *curr) 2645 { 2646 } 2647 2648 static inline void account_numa_enqueue(struct rq *rq, struct task_struct *p) 2649 { 2650 } 2651 2652 static inline void account_numa_dequeue(struct rq *rq, struct task_struct *p) 2653 { 2654 } 2655 > 2656 static inline bool numa_wake_affine(struct sched_domain *sd, 2657 struct task_struct *p, int this_cpu, 2658 int prev_cpu, int sync) 2659 { 2660 return true; 2661 } 2662 #endif /* CONFIG_NUMA_BALANCING */ 2663 2664 static void
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [unhandled content-type:application/gzip] | |