tree:
git://git.infradead.org/users/hch/block.git bdi-cleanup
head: d4166729c5bb8f318ebea72507522b5ff1ce1b5f
commit: 174a8905dd7685265ecf01eb3c3a92dbe9b65e5d [10/15] block: move the block device
syncing code from fs/sync.c to block_dev.c
config: x86_64-randconfig-c002-20200717 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
git checkout 174a8905dd7685265ecf01eb3c3a92dbe9b65e5d
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from fs/quota/dquot.c:82:
> fs/quota/../internal.h:40:1: error: expected identifier or
'(' before '{' token
40 | {
| ^
fs/quota/../internal.h:39:20: warning: 'fdatawrite_bdevs' declared
'static' but never defined [-Wunused-function]
39 | static inline void fdatawrite_bdevs(void);
| ^~~~~~~~~~~~~~~~
vim +40 fs/quota/../internal.h
34
35 static inline int __sync_blockdev(struct block_device *bdev, int wait)
36 {
37 return 0;
38 }
39 static inline void fdatawrite_bdevs(void);
40 {
41 }
42 static inline void sync_bdevs(void)
43 {
44 }
45 static inline int emergency_thaw_bdev(struct super_block *sb)
46 {
47 return 0;
48 }
49 static inline void bd_forget(struct inode *inode)
50 {
51 }
52 #endif /* CONFIG_BLOCK */
53
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org