lkml.org 
[lkml]   [2020]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build warnings after merge of the fsinfo tree
Hi all,

After merging the fsinfo tree, today's linux-next build (x86_64
allnoconfig) produced these warnings:

In file included from kernel/sched/sched.h:39,
from kernel/sched/loadavg.c:9:
include/linux/blkdev.h:1895:41: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1895 | unsigned long disk_start_io_acct(struct gendisk *disk, unsigned int sectors,
| ^~~~~~~
include/linux/blkdev.h:1897:30: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1897 | void disk_end_io_acct(struct gendisk *disk, unsigned int op,
| ^~~~~~~
In file included from fs/super.c:26:
include/linux/blkdev.h:1895:41: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1895 | unsigned long disk_start_io_acct(struct gendisk *disk, unsigned int sectors,
| ^~~~~~~
include/linux/blkdev.h:1897:30: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1897 | void disk_end_io_acct(struct gendisk *disk, unsigned int op,
| ^~~~~~~
In file included from kernel/sched/sched.h:39,
from kernel/sched/clock.c:56:
include/linux/blkdev.h:1895:41: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1895 | unsigned long disk_start_io_acct(struct gendisk *disk, unsigned int sectors,
| ^~~~~~~
include/linux/blkdev.h:1897:30: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1897 | void disk_end_io_acct(struct gendisk *disk, unsigned int op,
| ^~~~~~~
In file included from kernel/sched/sched.h:39,
from kernel/sched/idle.c:9:
include/linux/blkdev.h:1895:41: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1895 | unsigned long disk_start_io_acct(struct gendisk *disk, unsigned int sectors,
| ^~~~~~~
include/linux/blkdev.h:1897:30: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1897 | void disk_end_io_acct(struct gendisk *disk, unsigned int op,
| ^~~~~~~
In file included from kernel/sched/sched.h:39,
from kernel/sched/cputime.c:5:
include/linux/blkdev.h:1895:41: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1895 | unsigned long disk_start_io_acct(struct gendisk *disk, unsigned int sectors,
| ^~~~~~~
include/linux/blkdev.h:1897:30: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1897 | void disk_end_io_acct(struct gendisk *disk, unsigned int op,
| ^~~~~~~
In file included from kernel/sched/sched.h:39,
from kernel/sched/rt.c:6:
include/linux/blkdev.h:1895:41: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1895 | unsigned long disk_start_io_acct(struct gendisk *disk, unsigned int sectors,
| ^~~~~~~
include/linux/blkdev.h:1897:30: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1897 | void disk_end_io_acct(struct gendisk *disk, unsigned int op,
| ^~~~~~~
In file included from kernel/sched/sched.h:39,
from kernel/sched/core.c:9:
include/linux/blkdev.h:1895:41: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1895 | unsigned long disk_start_io_acct(struct gendisk *disk, unsigned int sectors,
| ^~~~~~~
include/linux/blkdev.h:1897:30: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1897 | void disk_end_io_acct(struct gendisk *disk, unsigned int op,
| ^~~~~~~
In file included from kernel/sched/sched.h:39,
from kernel/sched/swait.c:5:
include/linux/blkdev.h:1895:41: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1895 | unsigned long disk_start_io_acct(struct gendisk *disk, unsigned int sectors,
| ^~~~~~~
include/linux/blkdev.h:1897:30: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1897 | void disk_end_io_acct(struct gendisk *disk, unsigned int op,
| ^~~~~~~
In file included from kernel/sched/sched.h:39,
from kernel/sched/wait_bit.c:5:
include/linux/blkdev.h:1895:41: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1895 | unsigned long disk_start_io_acct(struct gendisk *disk, unsigned int sectors,
| ^~~~~~~
include/linux/blkdev.h:1897:30: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1897 | void disk_end_io_acct(struct gendisk *disk, unsigned int op,
| ^~~~~~~
In file included from kernel/sched/sched.h:39,
from kernel/sched/fair.c:23:
include/linux/blkdev.h:1895:41: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1895 | unsigned long disk_start_io_acct(struct gendisk *disk, unsigned int sectors,
| ^~~~~~~
include/linux/blkdev.h:1897:30: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1897 | void disk_end_io_acct(struct gendisk *disk, unsigned int op,
| ^~~~~~~
In file included from kernel/sched/sched.h:39,
from kernel/sched/wait.c:7:
include/linux/blkdev.h:1895:41: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1895 | unsigned long disk_start_io_acct(struct gendisk *disk, unsigned int sectors,
| ^~~~~~~
include/linux/blkdev.h:1897:30: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1897 | void disk_end_io_acct(struct gendisk *disk, unsigned int op,
| ^~~~~~~
In file included from kernel/sched/sched.h:39,
from kernel/sched/deadline.c:18:
include/linux/blkdev.h:1895:41: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1895 | unsigned long disk_start_io_acct(struct gendisk *disk, unsigned int sectors,
| ^~~~~~~
include/linux/blkdev.h:1897:30: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1897 | void disk_end_io_acct(struct gendisk *disk, unsigned int op,
| ^~~~~~~
In file included from kernel/sched/sched.h:39,
from kernel/sched/completion.c:14:
include/linux/blkdev.h:1895:41: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1895 | unsigned long disk_start_io_acct(struct gendisk *disk, unsigned int sectors,
| ^~~~~~~
include/linux/blkdev.h:1897:30: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1897 | void disk_end_io_acct(struct gendisk *disk, unsigned int op,
| ^~~~~~~
In file included from fs/libfs.c:7:
include/linux/blkdev.h:1895:41: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1895 | unsigned long disk_start_io_acct(struct gendisk *disk, unsigned int sectors,
| ^~~~~~~
include/linux/blkdev.h:1897:30: warning: 'struct gendisk' declared inside parameter list will not be visible outside of this definition or declaration
1897 | void disk_end_io_acct(struct gendisk *disk, unsigned int op,
| ^~~~~~~

Introduced by commit

956d510ee78c ("block: add disk/bio-based accounting helpers")

--
Cheers,
Stephen Rothwell
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-05-28 10:40    [W:0.045 / U:3.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site