* [chao:bugfix/syzbot 33/33] fs/f2fs/f2fs.h:3130:17: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'?
@ 2024-05-05 16:37 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-05 16:37 UTC (permalink / raw)
To: Chao Yu, Chao Yu; +Cc: llvm, oe-kbuild-all, Chao Yu, Chao Yu
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git bugfix/syzbot
head: d7c9e98caf2285d83bf9e839c7398946bbc7deb3
commit: d7c9e98caf2285d83bf9e839c7398946bbc7deb3 [33/33] f2fs: remove unused GC_FAILURE_PIN
config: i386-buildonly-randconfig-003-20240505 (https://download.01.org/0day-ci/archive/20240506/202405060025.1ExsKTY8-lkp@intel.com/config)
compiler: clang version 18.1.4 (https://github.com/llvm/llvm-project e6c3289804a67ea0bb6a86fadbe454dd93b8d855)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240506/202405060025.1ExsKTY8-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405060025.1ExsKTY8-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from fs/f2fs/data.c:25:
>> fs/f2fs/f2fs.h:3130:17: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'?
3130 | F2FS_I(inode)->i_gc_failures = count;
| ^~~~~~~~~~~~~
| i_pin_failure
fs/f2fs/f2fs.h:815:15: note: 'i_pin_failure' declared here
815 | unsigned int i_pin_failure; /* for gc failure statistic */
| ^
fs/f2fs/data.c:2369:10: warning: variable 'index' set but not used [-Wunused-but-set-variable]
2369 | pgoff_t index;
| ^
1 warning and 1 error generated.
--
In file included from fs/f2fs/inline.c:13:
>> fs/f2fs/f2fs.h:3130:17: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'?
3130 | F2FS_I(inode)->i_gc_failures = count;
| ^~~~~~~~~~~~~
| i_pin_failure
fs/f2fs/f2fs.h:815:15: note: 'i_pin_failure' declared here
815 | unsigned int i_pin_failure; /* for gc failure statistic */
| ^
1 error generated.
--
In file included from fs/f2fs/file.c:29:
>> fs/f2fs/f2fs.h:3130:17: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'?
3130 | F2FS_I(inode)->i_gc_failures = count;
| ^~~~~~~~~~~~~
| i_pin_failure
fs/f2fs/f2fs.h:815:15: note: 'i_pin_failure' declared here
815 | unsigned int i_pin_failure; /* for gc failure statistic */
| ^
>> fs/f2fs/file.c:3220:39: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'?
3220 | f2fs_i_gc_failures_write(inode, fi->i_gc_failures + 1);
| ^~~~~~~~~~~~~
| i_pin_failure
fs/f2fs/f2fs.h:815:15: note: 'i_pin_failure' declared here
815 | unsigned int i_pin_failure; /* for gc failure statistic */
| ^
fs/f2fs/file.c:3222:10: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'?
3222 | if (fi->i_gc_failures > sbi->gc_pin_file_threshold) {
| ^~~~~~~~~~~~~
| i_pin_failure
fs/f2fs/f2fs.h:815:15: note: 'i_pin_failure' declared here
815 | unsigned int i_pin_failure; /* for gc failure statistic */
| ^
fs/f2fs/file.c:3224:34: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'?
3224 | __func__, inode->i_ino, fi->i_gc_failures);
| ^~~~~~~~~~~~~
| i_pin_failure
fs/f2fs/f2fs.h:1829:46: note: expanded from macro 'f2fs_warn'
1829 | f2fs_printk(sbi, false, KERN_WARNING fmt, ##__VA_ARGS__)
| ^
fs/f2fs/f2fs.h:815:15: note: 'i_pin_failure' declared here
815 | unsigned int i_pin_failure; /* for gc failure statistic */
| ^
fs/f2fs/file.c:3288:23: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'?
3288 | ret = F2FS_I(inode)->i_gc_failures;
| ^~~~~~~~~~~~~
| i_pin_failure
fs/f2fs/f2fs.h:815:15: note: 'i_pin_failure' declared here
815 | unsigned int i_pin_failure; /* for gc failure statistic */
| ^
fs/f2fs/file.c:3303:24: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'?
3303 | pin = F2FS_I(inode)->i_gc_failures;
| ^~~~~~~~~~~~~
| i_pin_failure
fs/f2fs/f2fs.h:815:15: note: 'i_pin_failure' declared here
815 | unsigned int i_pin_failure; /* for gc failure statistic */
| ^
6 errors generated.
--
In file included from fs/f2fs/inode.c:16:
>> fs/f2fs/f2fs.h:3130:17: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'?
3130 | F2FS_I(inode)->i_gc_failures = count;
| ^~~~~~~~~~~~~
| i_pin_failure
fs/f2fs/f2fs.h:815:15: note: 'i_pin_failure' declared here
815 | unsigned int i_pin_failure; /* for gc failure statistic */
| ^
>> fs/f2fs/inode.c:418:7: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'?
418 | fi->i_gc_failures = le16_to_cpu(ri->i_gc_failures);
| ^~~~~~~~~~~~~
| i_pin_failure
fs/f2fs/f2fs.h:815:15: note: 'i_pin_failure' declared here
815 | unsigned int i_pin_failure; /* for gc failure statistic */
| ^
fs/f2fs/inode.c:688:50: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'?
688 | ri->i_gc_failures = cpu_to_le16(F2FS_I(inode)->i_gc_failures);
| ^~~~~~~~~~~~~
| i_pin_failure
include/linux/byteorder/generic.h:90:21: note: expanded from macro 'cpu_to_le16'
90 | #define cpu_to_le16 __cpu_to_le16
| ^
include/uapi/linux/byteorder/little_endian.h:36:51: note: expanded from macro '__cpu_to_le16'
36 | #define __cpu_to_le16(x) ((__force __le16)(__u16)(x))
| ^
fs/f2fs/f2fs.h:815:15: note: 'i_pin_failure' declared here
815 | unsigned int i_pin_failure; /* for gc failure statistic */
| ^
3 errors generated.
--
In file included from fs/f2fs/recovery.c:12:
>> fs/f2fs/f2fs.h:3130:17: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'?
3130 | F2FS_I(inode)->i_gc_failures = count;
| ^~~~~~~~~~~~~
| i_pin_failure
fs/f2fs/f2fs.h:815:15: note: 'i_pin_failure' declared here
815 | unsigned int i_pin_failure; /* for gc failure statistic */
| ^
>> fs/f2fs/recovery.c:333:17: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'?
333 | F2FS_I(inode)->i_gc_failures = le16_to_cpu(raw->i_gc_failures);
| ^~~~~~~~~~~~~
| i_pin_failure
fs/f2fs/f2fs.h:815:15: note: 'i_pin_failure' declared here
815 | unsigned int i_pin_failure; /* for gc failure statistic */
| ^
2 errors generated.
vim +3130 fs/f2fs/f2fs.h
3126
3127 static inline void f2fs_i_gc_failures_write(struct inode *inode,
3128 unsigned int count)
3129 {
> 3130 F2FS_I(inode)->i_gc_failures = count;
3131 f2fs_mark_inode_dirty_sync(inode, true);
3132 }
3133
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-05-05 16:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-05 16:37 [chao:bugfix/syzbot 33/33] fs/f2fs/f2fs.h:3130:17: error: no member named 'i_gc_failures' in 'struct f2fs_inode_info'; did you mean 'i_pin_failure'? kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox