mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [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
@ 2017-06-24  9:24 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-06-24  9:24 UTC (permalink / raw)
  To: Rik van Riel; +Cc: kbuild-all, linux-kernel, tipbuild, Ingo Molnar

[-- Attachment #1: Type: text/plain, Size: 1641 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 6567 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-24  9:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-24  9:24 [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 kbuild 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®