tree:
https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git f2fs-dev
head: 3071cd33e669ffcb435bdc108c975407ebcbcb48
commit: 3071cd33e669ffcb435bdc108c975407ebcbcb48 [9/9] f2fs: support age threshold based
garbage collection
config: i386-randconfig-s001-20200630 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-3-gfa153962-dirty
git checkout 3071cd33e669ffcb435bdc108c975407ebcbcb48
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/ioctl.c:109: warning: Excess function parameter 'fieinfo' description in
'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'logical' description in
'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'phys' description in
'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'len' description in
'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'flags' description in
'SET_UNKNOWN_FLAGS'
fs/ioctl.c:790: warning: Function parameter or member 'file' not described in
'compat_ptr_ioctl'
fs/ioctl.c:790: warning: Function parameter or member 'cmd' not described in
'compat_ptr_ioctl'
fs/ioctl.c:790: warning: Function parameter or member 'arg' not described in
'compat_ptr_ioctl'
In file included from fs/btrfs/file.c:19:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/gfs2/util.c:52: warning: Function parameter or member 'verbose' not
described in 'check_journal_clean'
fs/gfs2/util.c:326: warning: Function parameter or member 'sdp' not described
in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'assertion' not
described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'function' not
described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'file' not described
in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'line' not described
in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'delayed' not
described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'sdp' not described
in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'assertion' not
described in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'function' not
described in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'file' not described
in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'line' not described
in 'gfs2_assert_warn_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'sdp' not described
in 'gfs2_consist_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'function' not
described in 'gfs2_consist_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'file' not described
in 'gfs2_consist_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'line' not described
in 'gfs2_consist_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'ip' not described in
'gfs2_consist_inode_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'function' not
described in 'gfs2_consist_inode_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'file' not described
in 'gfs2_consist_inode_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'line' not described
in 'gfs2_consist_inode_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'rgd' not described
in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'function' not
described in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'file' not described
in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'line' not described
in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:441: warning: Function parameter or member 'sdp' not described
in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'bh' not described in
'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'type' not described
in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'function' not
described in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'file' not described
in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'line' not described
in 'gfs2_meta_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'sdp' not described
in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'bh' not described in
'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'type' not described
in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 't' not described in
'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'function' not
described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'file' not described
in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'line' not described
in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:484: warning: Function parameter or member 'sdp' not described
in 'gfs2_io_error_i'
fs/gfs2/util.c:484: warning: Function parameter or member 'function' not
described in 'gfs2_io_error_i'
fs/gfs2/util.c:484: warning: Function parameter or member 'file' not described
in 'gfs2_io_error_i'
fs/gfs2/util.c:484: warning: Function parameter or member 'line' not described
in 'gfs2_io_error_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'sdp' not described
in 'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'bh' not described in
'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'function' not
described in 'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'file' not described
in 'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'line' not described
in 'gfs2_io_error_bh_i'
fs/gfs2/quota.c:1542: warning: Function parameter or member 'data' not
described in 'gfs2_quotad'
fs/gfs2/quota.c:1542: warning: Excess function parameter 'sdp' description in
'gfs2_quotad'
In file included from fs/btrfs/tree-defrag.c:7:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/fs-writeback.c:2189:50: sparse: sparse: incorrect type in argument 3 (different
address spaces) @@ expected void * @@ got void [noderef] <asn:1> *buffer @@
fs/fs-writeback.c:2189:50: sparse: expected void *
fs/fs-writeback.c:2189:50: sparse: got void [noderef] <asn:1> *buffer
fs/fs-writeback.c:2184:5: sparse: sparse: symbol 'dirtytime_interval_handler'
redeclared with different type (incompatible argument 3 (different address spaces)):
fs/fs-writeback.c:2184:5: sparse: int extern [addressable] [signed] [toplevel]
dirtytime_interval_handler( ... )
include/linux/writeback.h:374:5: sparse: note: previously declared as:
include/linux/writeback.h:374:5: sparse: int extern [addressable] [signed]
[toplevel] dirtytime_interval_handler( ... )
fs/fs-writeback.c:1705:17: sparse: sparse: context imbalance in
'writeback_sb_inodes' - unexpected unlock
fs/fs-writeback.c:2197:9: sparse: sparse: context imbalance in
'block_dump___mark_inode_dirty' - different lock contexts for basic block
In file included from fs/btrfs/inode.c:34:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/f2fs/super.c:1051:35: sparse: sparse: context imbalance in 'f2fs_drop_inode'
- unexpected unlock
fs/d_path.c:155:9: sparse: sparse: context imbalance in 'prepend_path' - wrong
count at exit
include/linux/err.h:24:20: sparse: sparse: context imbalance in '__dentry_path'
- different lock contexts for basic block
In file included from fs/btrfs/extent_map.c:6:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/btrfs/sysfs.c:533:9: sparse: sparse: context imbalance in 'btrfs_show_u64' -
different lock contexts for basic block
fs/btrfs/extent_map.c:399: warning: Function parameter or member 'modified' not
described in 'add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'fs_info' not
described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'em_tree' not
described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'em_in' not
described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'start' not
described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'len' not
described in 'btrfs_add_extent_mapping'
fs/d_path.c:311:7: warning: no previous prototype for 'simple_dname'
[-Wmissing-prototypes]
311 | char *simple_dname(struct dentry *dentry, char *buffer, int buflen)
| ^~~~~~~~~~~~
fs/namei.c:568: warning: Function parameter or member 'mnt' not described in
'path_connected'
fs/namei.c:568: warning: Function parameter or member 'dentry' not described in
'path_connected'
fs/namei.c:956: warning: Function parameter or member 'inode' not described in
'may_follow_link'
> fs/f2fs/gc.c:588:6: sparse: sparse: symbol
'release_victim_entry' was not declared. Should it be static?
> fs/f2fs/segment.c:2437:6: sparse: sparse: symbol 'get_new_segment' was not
declared. Should it be static?
> fs/f2fs/segment.c:2722:6: sparse: sparse: symbol '__f2fs_save_inmem_curseg'
was not declared. Should it be static?
> fs/f2fs/segment.c:2753:6: sparse: sparse: symbol
'__f2fs_restore_inmem_curseg' was not declared. Should it be static?
fs/f2fs/segment.c:2898:6: sparse: sparse: symbol '__allocate_new_segment' was not
declared. Should it be static?
fs/f2fs/extent_cache.c:709:38: sparse: sparse: context imbalance in
'f2fs_shrink_extent_tree' - different lock contexts for basic block
fs/fs_struct.c:163:18: sparse: sparse: symbol 'init_fs' was not declared.
Should it be static?
fs/f2fs/data.c:2327:33: sparse: sparse: label 'next_page' was not declared
fs/xattr.c:172: warning: Function parameter or member 'dentry' not described in
'__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'name' not described in
'__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'value' not described in
'__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'size' not described in
'__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'flags' not described in
'__vfs_setxattr_noperm'
fs/btrfs/volumes.c:7336:9: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:7336:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7336:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:7356:9: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:7356:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7356:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:539:24: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:539:24: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:539:24: sparse: struct rcu_string *
fs/btrfs/volumes.c:858:17: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:858:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:858:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:932:33: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:932:33: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:932:33: sparse: struct rcu_string *
fs/btrfs/volumes.c:939:25: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:939:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:939:25: sparse: struct rcu_string *
fs/btrfs/volumes.c:951:17: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:951:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:951:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:1012:25: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:1012:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:1012:25: sparse: struct rcu_string *
fs/btrfs/volumes.c:2055:17: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:2055:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:2055:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:2539:9: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:2539:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:2539:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:6325:9: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:6325:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:6325:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:7242:17: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:7242:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7242:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:7253:25: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:7253:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7253:25: sparse: struct rcu_string *
fs/btrfs/volumes.c:7267:25: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:7267:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7267:25: sparse: struct rcu_string *
fs/btrfs/extent_io.c:2327:9: sparse: sparse: incompatible types in comparison
expression (different address spaces):
fs/btrfs/extent_io.c:2327:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/extent_io.c:2327:9: sparse: struct rcu_string *
include/linux/page-flags.h:182:30: sparse: sparse: context imbalance in
'btrfs_release_extent_buffer_pages' - different lock contexts for basic block
In file included from fs/btrfs/struct-funcs.c:8:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
In file included from fs/btrfs/async-thread.c:13:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/fs_pin.c:41:17: sparse: sparse: context imbalance in 'pin_kill' - unexpected
unlock
arch/x86/include/asm/preempt.h:79:9: sparse: sparse: context imbalance in
'mnt_pin_kill' - different lock contexts for basic block
arch/x86/include/asm/preempt.h:79:9: sparse: sparse: context imbalance in
'group_pin_kill' - different lock contexts for basic block
fs/f2fs/gc.c: In function 'insert_victim_entry':
fs/f2fs/gc.c:374:23: warning: variable 've' set but not used
[-Wunused-but-set-variable]
374 | struct victim_entry *ve = NULL;
| ^~
fs/f2fs/gc.c: In function 'atssr_lookup_victim':
fs/f2fs/gc.c:507:21: warning: variable 'total_time' set but not used
[-Wunused-but-set-variable]
507 | unsigned long long total_time;
| ^~~~~~~~~~
fs/f2fs/gc.c: At top level:
fs/f2fs/gc.c:588:6: warning: no previous prototype for 'release_victim_entry'
[-Wmissing-prototypes]
588 | void release_victim_entry(struct f2fs_sb_info *sbi)
| ^~~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/xattr.c:15:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/btrfs/ioctl.c:1715:17: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/ioctl.c:1715:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/ioctl.c:1715:17: sparse: struct rcu_string *
fs/btrfs/ioctl.c:3257:40: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/ioctl.c:3257:40: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/ioctl.c:3257:40: sparse: struct rcu_string *
In file included from fs/btrfs/sysfs.c:14:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
In file included from fs/btrfs/sysfs.c:18:
fs/btrfs/sysfs.h:16:1: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
16 | const char * const btrfs_feature_set_name(enum btrfs_feature_set set);
| ^~~~~
fs/fs_parser.c:192:5: sparse: sparse: symbol 'fs_param_bad_value' was not
declared. Should it be static?
fs/btrfs/sysfs.c:971:1: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
971 | const char * const btrfs_feature_set_name(enum btrfs_feature_set set)
| ^~~~~
--
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/ioctl.c:109: warning: Excess function parameter 'fieinfo' description in
'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'logical' description in
'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'phys' description in
'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'len' description in
'SET_UNKNOWN_FLAGS'
fs/ioctl.c:109: warning: Excess function parameter 'flags' description in
'SET_UNKNOWN_FLAGS'
fs/ioctl.c:790: warning: Function parameter or member 'file' not described in
'compat_ptr_ioctl'
fs/ioctl.c:790: warning: Function parameter or member 'cmd' not described in
'compat_ptr_ioctl'
fs/ioctl.c:790: warning: Function parameter or member 'arg' not described in
'compat_ptr_ioctl'
In file included from fs/btrfs/file.c:19:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/gfs2/util.c:52: warning: Function parameter or member 'verbose' not
described in 'check_journal_clean'
fs/gfs2/util.c:326: warning: Function parameter or member 'sdp' not described
in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'assertion' not
described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'function' not
described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'file' not described
in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'line' not described
in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:326: warning: Function parameter or member 'delayed' not
described in 'gfs2_assert_withdraw_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'sdp' not described
in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'assertion' not
described in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'function' not
described in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'file' not described
in 'gfs2_assert_warn_i'
fs/gfs2/util.c:355: warning: Function parameter or member 'line' not described
in 'gfs2_assert_warn_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'sdp' not described
in 'gfs2_consist_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'function' not
described in 'gfs2_consist_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'file' not described
in 'gfs2_consist_i'
fs/gfs2/util.c:385: warning: Function parameter or member 'line' not described
in 'gfs2_consist_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'ip' not described in
'gfs2_consist_inode_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'function' not
described in 'gfs2_consist_inode_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'file' not described
in 'gfs2_consist_inode_i'
fs/gfs2/util.c:398: warning: Function parameter or member 'line' not described
in 'gfs2_consist_inode_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'rgd' not described
in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'function' not
described in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'file' not described
in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:417: warning: Function parameter or member 'line' not described
in 'gfs2_consist_rgrpd_i'
fs/gfs2/util.c:441: warning: Function parameter or member 'sdp' not described
in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'bh' not described in
'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'type' not described
in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'function' not
described in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'file' not described
in 'gfs2_meta_check_ii'
fs/gfs2/util.c:441: warning: Function parameter or member 'line' not described
in 'gfs2_meta_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'sdp' not described
in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'bh' not described in
'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'type' not described
in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 't' not described in
'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'function' not
described in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'file' not described
in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:463: warning: Function parameter or member 'line' not described
in 'gfs2_metatype_check_ii'
fs/gfs2/util.c:484: warning: Function parameter or member 'sdp' not described
in 'gfs2_io_error_i'
fs/gfs2/util.c:484: warning: Function parameter or member 'function' not
described in 'gfs2_io_error_i'
fs/gfs2/util.c:484: warning: Function parameter or member 'file' not described
in 'gfs2_io_error_i'
fs/gfs2/util.c:484: warning: Function parameter or member 'line' not described
in 'gfs2_io_error_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'sdp' not described
in 'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'bh' not described in
'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'function' not
described in 'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'file' not described
in 'gfs2_io_error_bh_i'
fs/gfs2/util.c:500: warning: Function parameter or member 'line' not described
in 'gfs2_io_error_bh_i'
fs/gfs2/quota.c:1542: warning: Function parameter or member 'data' not
described in 'gfs2_quotad'
fs/gfs2/quota.c:1542: warning: Excess function parameter 'sdp' description in
'gfs2_quotad'
In file included from fs/btrfs/tree-defrag.c:7:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/fs-writeback.c:2189:50: sparse: sparse: incorrect type in argument 3 (different
address spaces) @@ expected void * @@ got void [noderef] <asn:1> *buffer @@
fs/fs-writeback.c:2189:50: sparse: expected void *
fs/fs-writeback.c:2189:50: sparse: got void [noderef] <asn:1> *buffer
fs/fs-writeback.c:2184:5: sparse: sparse: symbol 'dirtytime_interval_handler'
redeclared with different type (incompatible argument 3 (different address spaces)):
fs/fs-writeback.c:2184:5: sparse: int extern [addressable] [signed] [toplevel]
dirtytime_interval_handler( ... )
include/linux/writeback.h:374:5: sparse: note: previously declared as:
include/linux/writeback.h:374:5: sparse: int extern [addressable] [signed]
[toplevel] dirtytime_interval_handler( ... )
fs/fs-writeback.c:1705:17: sparse: sparse: context imbalance in
'writeback_sb_inodes' - unexpected unlock
fs/fs-writeback.c:2197:9: sparse: sparse: context imbalance in
'block_dump___mark_inode_dirty' - different lock contexts for basic block
In file included from fs/btrfs/inode.c:34:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/f2fs/super.c:1051:35: sparse: sparse: context imbalance in 'f2fs_drop_inode'
- unexpected unlock
fs/d_path.c:155:9: sparse: sparse: context imbalance in 'prepend_path' - wrong
count at exit
include/linux/err.h:24:20: sparse: sparse: context imbalance in '__dentry_path'
- different lock contexts for basic block
In file included from fs/btrfs/extent_map.c:6:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/btrfs/sysfs.c:533:9: sparse: sparse: context imbalance in 'btrfs_show_u64' -
different lock contexts for basic block
fs/btrfs/extent_map.c:399: warning: Function parameter or member 'modified' not
described in 'add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'fs_info' not
described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'em_tree' not
described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'em_in' not
described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'start' not
described in 'btrfs_add_extent_mapping'
fs/btrfs/extent_map.c:599: warning: Function parameter or member 'len' not
described in 'btrfs_add_extent_mapping'
fs/d_path.c:311:7: warning: no previous prototype for 'simple_dname'
[-Wmissing-prototypes]
311 | char *simple_dname(struct dentry *dentry, char *buffer, int buflen)
| ^~~~~~~~~~~~
fs/namei.c:568: warning: Function parameter or member 'mnt' not described in
'path_connected'
fs/namei.c:568: warning: Function parameter or member 'dentry' not described in
'path_connected'
fs/namei.c:956: warning: Function parameter or member 'inode' not described in
'may_follow_link'
> fs/f2fs/gc.c:588:6: sparse: sparse: symbol
'release_victim_entry' was not declared. Should it be static?
> fs/f2fs/segment.c:2437:6: sparse: sparse: symbol 'get_new_segment' was not
declared. Should it be static?
> fs/f2fs/segment.c:2722:6: sparse: sparse: symbol '__f2fs_save_inmem_curseg'
was not declared. Should it be static?
> fs/f2fs/segment.c:2753:6: sparse: sparse: symbol
'__f2fs_restore_inmem_curseg' was not declared. Should it be static?
fs/f2fs/segment.c:2898:6: sparse: sparse: symbol '__allocate_new_segment' was not
declared. Should it be static?
fs/f2fs/extent_cache.c:709:38: sparse: sparse: context imbalance in
'f2fs_shrink_extent_tree' - different lock contexts for basic block
fs/fs_struct.c:163:18: sparse: sparse: symbol 'init_fs' was not declared.
Should it be static?
fs/f2fs/data.c:2327:33: sparse: sparse: label 'next_page' was not declared
fs/xattr.c:172: warning: Function parameter or member 'dentry' not described in
'__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'name' not described in
'__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'value' not described in
'__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'size' not described in
'__vfs_setxattr_noperm'
fs/xattr.c:172: warning: Function parameter or member 'flags' not described in
'__vfs_setxattr_noperm'
fs/btrfs/volumes.c:7336:9: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:7336:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7336:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:7356:9: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:7356:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7356:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:539:24: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:539:24: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:539:24: sparse: struct rcu_string *
fs/btrfs/volumes.c:858:17: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:858:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:858:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:932:33: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:932:33: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:932:33: sparse: struct rcu_string *
fs/btrfs/volumes.c:939:25: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:939:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:939:25: sparse: struct rcu_string *
fs/btrfs/volumes.c:951:17: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:951:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:951:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:1012:25: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:1012:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:1012:25: sparse: struct rcu_string *
fs/btrfs/volumes.c:2055:17: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:2055:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:2055:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:2539:9: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:2539:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:2539:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:6325:9: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:6325:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:6325:9: sparse: struct rcu_string *
fs/btrfs/volumes.c:7242:17: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:7242:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7242:17: sparse: struct rcu_string *
fs/btrfs/volumes.c:7253:25: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:7253:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7253:25: sparse: struct rcu_string *
fs/btrfs/volumes.c:7267:25: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/volumes.c:7267:25: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/volumes.c:7267:25: sparse: struct rcu_string *
fs/btrfs/extent_io.c:2327:9: sparse: sparse: incompatible types in comparison
expression (different address spaces):
fs/btrfs/extent_io.c:2327:9: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/extent_io.c:2327:9: sparse: struct rcu_string *
include/linux/page-flags.h:182:30: sparse: sparse: context imbalance in
'btrfs_release_extent_buffer_pages' - different lock contexts for basic block
In file included from fs/btrfs/struct-funcs.c:8:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
In file included from fs/btrfs/async-thread.c:13:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/fs_pin.c:41:17: sparse: sparse: context imbalance in 'pin_kill' - unexpected
unlock
arch/x86/include/asm/preempt.h:79:9: sparse: sparse: context imbalance in
'mnt_pin_kill' - different lock contexts for basic block
arch/x86/include/asm/preempt.h:79:9: sparse: sparse: context imbalance in
'group_pin_kill' - different lock contexts for basic block
fs/f2fs/gc.c: In function 'insert_victim_entry':
fs/f2fs/gc.c:374:23: warning: variable 've' set but not used
[-Wunused-but-set-variable]
374 | struct victim_entry *ve = NULL;
| ^~
fs/f2fs/gc.c: In function 'atssr_lookup_victim':
fs/f2fs/gc.c:507:21: warning: variable 'total_time' set but not used
[-Wunused-but-set-variable]
507 | unsigned long long total_time;
| ^~~~~~~~~~
fs/f2fs/gc.c: At top level:
fs/f2fs/gc.c:588:6: warning: no previous prototype for 'release_victim_entry'
[-Wmissing-prototypes]
588 | void release_victim_entry(struct f2fs_sb_info *sbi)
| ^~~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/xattr.c:15:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
fs/btrfs/ioctl.c:1715:17: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/ioctl.c:1715:17: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/ioctl.c:1715:17: sparse: struct rcu_string *
fs/btrfs/ioctl.c:3257:40: sparse: sparse: incompatible types in comparison expression
(different address spaces):
fs/btrfs/ioctl.c:3257:40: sparse: struct rcu_string [noderef] <asn:4> *
fs/btrfs/ioctl.c:3257:40: sparse: struct rcu_string *
In file included from fs/btrfs/sysfs.c:14:
fs/btrfs/ctree.h:2216:8: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
2216 | size_t __const btrfs_get_num_csums(void);
| ^~~~~~~
In file included from fs/btrfs/sysfs.c:18:
fs/btrfs/sysfs.h:16:1: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
16 | const char * const btrfs_feature_set_name(enum btrfs_feature_set set);
| ^~~~~
fs/fs_parser.c:192:5: sparse: sparse: symbol 'fs_param_bad_value' was not
declared. Should it be static?
fs/btrfs/sysfs.c:971:1: warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
971 | const char * const btrfs_feature_set_name(enum btrfs_feature_set set)
| ^~~~~
--
fs/f2fs/file.c:48:54: sparse: sparse: cast from restricted vm_fault_t
fs/f2fs/file.c:3380:36: sparse: sparse: incorrect type in argument 1 (different base
types) @@ expected unsigned short const [usertype] *pwcs @@ got restricted __le16
* @@
fs/f2fs/file.c:3380:36: sparse: expected unsigned short const [usertype] *pwcs
fs/f2fs/file.c:3380:36: sparse: got restricted __le16 *
fs/f2fs/file.c:3416:28: sparse: sparse: incorrect type in argument 4 (different base
types) @@ expected unsigned short [usertype] *pwcs @@ got restricted __le16 * @@
fs/f2fs/file.c:3416:28: sparse: expected unsigned short [usertype] *pwcs
fs/f2fs/file.c:3416:28: sparse: got restricted __le16 *
fs/f2fs/super.c:1051:35: sparse: sparse: context imbalance in 'f2fs_drop_inode'
- unexpected unlock
> fs/f2fs/gc.c:588:6: sparse: sparse: symbol
'release_victim_entry' was not declared. Should it be static?
> fs/f2fs/segment.c:2437:6: sparse: sparse: symbol 'get_new_segment' was not
declared. Should it be static?
> fs/f2fs/segment.c:2722:6: sparse: sparse: symbol '__f2fs_save_inmem_curseg'
was not declared. Should it be static?
> fs/f2fs/segment.c:2753:6: sparse: sparse: symbol
'__f2fs_restore_inmem_curseg' was not declared. Should it be static?
fs/f2fs/segment.c:2898:6: sparse: sparse: symbol '__allocate_new_segment' was not
declared. Should it be static?
fs/f2fs/extent_cache.c:709:38: sparse: sparse: context imbalance in
'f2fs_shrink_extent_tree' - different lock contexts for basic block
fs/f2fs/data.c:2327:33: sparse: sparse: label 'next_page' was not declared
fs/f2fs/gc.c: In function 'insert_victim_entry':
fs/f2fs/gc.c:374:23: warning: variable 've' set but not used
[-Wunused-but-set-variable]
374 | struct victim_entry *ve = NULL;
| ^~
fs/f2fs/gc.c: In function 'atssr_lookup_victim':
fs/f2fs/gc.c:507:21: warning: variable 'total_time' set but not used
[-Wunused-but-set-variable]
507 | unsigned long long total_time;
| ^~~~~~~~~~
fs/f2fs/gc.c: At top level:
fs/f2fs/gc.c:588:6: warning: no previous prototype for 'release_victim_entry'
[-Wmissing-prototypes]
588 | void release_victim_entry(struct f2fs_sb_info *sbi)
| ^~~~~~~~~~~~~~~~~~~~
fs/f2fs/data.c: In function 'f2fs_mpage_readpages':
fs/f2fs/data.c:2327:5: error: label 'next_page' used but not defined
2327 | goto next_page;
| ^~~~
fs/f2fs/segment.c:2437:6: warning: no previous prototype for 'get_new_segment'
[-Wmissing-prototypes]
2437 | void get_new_segment(struct f2fs_sb_info *sbi,
| ^~~~~~~~~~~~~~~
fs/f2fs/segment.c:2722:6: warning: no previous prototype for
'__f2fs_save_inmem_curseg' [-Wmissing-prototypes]
2722 | void __f2fs_save_inmem_curseg(struct f2fs_sb_info *sbi, int type)
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/f2fs/segment.c:2753:6: warning: no previous prototype for
'__f2fs_restore_inmem_curseg' [-Wmissing-prototypes]
2753 | void __f2fs_restore_inmem_curseg(struct f2fs_sb_info *sbi, int type)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/f2fs/segment.c:2898:6: warning: no previous prototype for
'__allocate_new_segment' [-Wmissing-prototypes]
2898 | void __allocate_new_segment(struct f2fs_sb_info *sbi, int type)
| ^~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:280: fs/f2fs/data.o] Error 1
make[3]: Target '__build' not remade because of errors.
--
> fs/f2fs/gc.c:588:6: sparse: sparse: symbol
'release_victim_entry' was not declared. Should it be static?
--
> fs/f2fs/segment.c:2437:6: sparse: sparse: symbol
'get_new_segment' was not declared. Should it be static?
> fs/f2fs/segment.c:2722:6: sparse: sparse: symbol '__f2fs_save_inmem_curseg'
was not declared. Should it be static?
> fs/f2fs/segment.c:2753:6: sparse: sparse: symbol
'__f2fs_restore_inmem_curseg' was not declared. Should it be static?
fs/f2fs/segment.c:2898:6: sparse: sparse: symbol '__allocate_new_segment' was not
declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org