lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 24 Jun 2017 17:24:33 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Rik van Riel <riel@...hat.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        tipbuild@...or.com, Ingo Molnar <mingo@...nel.org>
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

Download attachment ".config.gz" of type "application/gzip" (6567 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ