[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201702030843.x0qzF0i3%fengguang.wu@intel.com>
Date: Fri, 3 Feb 2017 08:53:46 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
Subject: [tip:WIP.sched/core 116/122] include/linux/sched/autogroup.h:13:74:
warning: 'struct seq_file' 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 WIP.sched/core
head: a69a38e26e87ddbe993e33b55f693405cd62c76f
commit: 248481ca482f2c70a5cdb016f45d2a001e2ce041 [116/122] kasan, sched/headers: Remove <linux/sched.h> from <linux/kasan.h> and uninline kasan_enable/disable_current()
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 248481ca482f2c70a5cdb016f45d2a001e2ce041
# save the attached .config to linux build tree
make.cross ARCH=alpha
All warnings (new ones prefixed by >>):
In file included from kernel/fork.c:15:0:
>> include/linux/sched/autogroup.h:13:74: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration
extern void proc_sched_autogroup_show_task(struct task_struct *p, struct seq_file *m);
^~~~~~~~
vim +13 include/linux/sched/autogroup.h
ca1ed550 Ingo Molnar 2017-02-01 1 #ifndef _LINUX_SCHED_AUTOGROUP_H
ca1ed550 Ingo Molnar 2017-02-01 2 #define _LINUX_SCHED_AUTOGROUP_H
ca1ed550 Ingo Molnar 2017-02-01 3
248481ca Ingo Molnar 2017-02-02 4 struct signal_struct;
248481ca Ingo Molnar 2017-02-02 5
ca1ed550 Ingo Molnar 2017-02-01 6 #ifdef CONFIG_SCHED_AUTOGROUP
ca1ed550 Ingo Molnar 2017-02-01 7 extern void sched_autogroup_create_attach(struct task_struct *p);
ca1ed550 Ingo Molnar 2017-02-01 8 extern void sched_autogroup_detach(struct task_struct *p);
ca1ed550 Ingo Molnar 2017-02-01 9 extern void sched_autogroup_fork(struct signal_struct *sig);
ca1ed550 Ingo Molnar 2017-02-01 10 extern void sched_autogroup_exit(struct signal_struct *sig);
ca1ed550 Ingo Molnar 2017-02-01 11 extern void sched_autogroup_exit_task(struct task_struct *p);
ca1ed550 Ingo Molnar 2017-02-01 12 #ifdef CONFIG_PROC_FS
ca1ed550 Ingo Molnar 2017-02-01 @13 extern void proc_sched_autogroup_show_task(struct task_struct *p, struct seq_file *m);
ca1ed550 Ingo Molnar 2017-02-01 14 extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice);
ca1ed550 Ingo Molnar 2017-02-01 15 #endif
ca1ed550 Ingo Molnar 2017-02-01 16 #else
ca1ed550 Ingo Molnar 2017-02-01 17 static inline void sched_autogroup_create_attach(struct task_struct *p) { }
ca1ed550 Ingo Molnar 2017-02-01 18 static inline void sched_autogroup_detach(struct task_struct *p) { }
ca1ed550 Ingo Molnar 2017-02-01 19 static inline void sched_autogroup_fork(struct signal_struct *sig) { }
ca1ed550 Ingo Molnar 2017-02-01 20 static inline void sched_autogroup_exit(struct signal_struct *sig) { }
ca1ed550 Ingo Molnar 2017-02-01 21 static inline void sched_autogroup_exit_task(struct task_struct *p) { }
:::::: The code at line 13 was first introduced by commit
:::::: ca1ed550abbcf6a127d1e2c695d6f4db7af9ca00 sched/autogroup: Collect extern APIs into <linux/sched/autogroup.h>
:::::: TO: Ingo Molnar <mingo@...nel.org>
:::::: CC: Ingo Molnar <mingo@...nel.org>
---
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" (48641 bytes)
Powered by blists - more mailing lists