linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [tip:WIP.sched/core 116/122] include/linux/sched/autogroup.h:13:74: warning: 'struct seq_file' declared inside parameter list
@ 2017-02-03  0:16 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-02-03  0:16 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: kbuild-all, linux-kernel, tipbuild

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

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: tile-allmodconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
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=tile 

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 [enabled by default]
>> include/linux/sched/autogroup.h:13:74: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]

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@kernel.org>
:::::: CC: Ingo Molnar <mingo@kernel.org>

---
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: 47104 bytes --]

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

only message in thread, other threads:[~2017-02-03  0:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-03  0:16 [tip:WIP.sched/core 116/122] include/linux/sched/autogroup.h:13:74: warning: 'struct seq_file' declared inside parameter list 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;
as well as URLs for NNTP newsgroup(s).