From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android16-6.12 2/2] include/trace/hooks/fs.h:60:1: sparse: sparse: incorrect type in assignment (different address spaces)
Date: Tue, 10 Feb 2026 16:17:52 +0800 [thread overview]
Message-ID: <202602101651.kwTYRkvn-lkp@intel.com> (raw)
tree: https://android.googlesource.com/kernel/common android16-6.12
head: 3b54985e12634723f50be663b001e0f03e8643e1
commit: 28b35bdaea49d8d7737889bd9068908c2a241108 [2/2] ANDROID: writeback: add vendor hooks to do a hierarchical writeback control
config: x86_64-randconfig-123-20260210 (https://download.01.org/0day-ci/archive/20260210/202602101651.kwTYRkvn-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260210/202602101651.kwTYRkvn-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/202602101651.kwTYRkvn-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
fs/fcntl.c:1067:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/fcntl.c:1067:9: sparse: struct fasync_struct [noderef] __rcu *
fs/fcntl.c:1067:9: sparse: struct fasync_struct *
fs/fcntl.c:1145:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/fcntl.c:1145:22: sparse: struct fasync_struct [noderef] __rcu *
fs/fcntl.c:1145:22: sparse: struct fasync_struct *
fs/fcntl.c:1156:33: sparse: sparse: incompatible types in comparison expression (different address spaces):
fs/fcntl.c:1156:33: sparse: struct fasync_struct [noderef] __rcu *
fs/fcntl.c:1156:33: sparse: struct fasync_struct *
fs/fcntl.c:301:9: sparse: sparse: context imbalance in 'f_getown_ex' - different lock contexts for basic block
fs/fcntl.c: note: in included file:
>> include/trace/hooks/fs.h:60:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/fs.h:60:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/fs.h:60:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
vim +60 include/trace/hooks/fs.h
13
14 DECLARE_RESTRICTED_HOOK(android_rvh_f2fs_down_read,
15 TP_PROTO(wait_queue_head_t *read_waiters, struct rw_semaphore *rwsem, bool *skip),
16 TP_ARGS(read_waiters, rwsem, skip), 1);
17
18 DECLARE_HOOK(android_vh_f2fs_improve_priority,
19 TP_PROTO(struct task_struct *p, int *saved_prio, bool *skip),
20 TP_ARGS(p, saved_prio, skip));
21
22 DECLARE_HOOK(android_vh_f2fs_restore_priority,
23 TP_PROTO(struct task_struct *p, int saved_prio),
24 TP_ARGS(p, saved_prio));
25
26 DECLARE_HOOK(android_vh_f2fs_printk,
27 TP_PROTO(struct f2fs_sb_info *sbi, struct va_format *vaf, int level, bool limit_rate),
28 TP_ARGS(sbi, vaf, level, limit_rate));
29
30 DECLARE_HOOK(android_vh_wb_dirty_limits,
31 TP_PROTO(unsigned long *thresh, struct bdi_writeback *wb),
32 TP_ARGS(thresh, wb));
33
34 DECLARE_HOOK(android_vh_evict,
35 TP_PROTO(struct inode *inode),
36 TP_ARGS(inode));
37
38 DECLARE_HOOK(android_vh_inode_io_list_del,
39 TP_PROTO(struct inode *inode, struct bdi_writeback *wb),
40 TP_ARGS(inode, wb));
41
42 DECLARE_HOOK(android_vh_redirty_tail_locked,
43 TP_PROTO(struct list_head **target_list, struct inode *inode,
44 struct bdi_writeback *wb),
45 TP_ARGS(target_list, inode, wb));
46
47 DECLARE_HOOK(android_vh_queue_io,
48 TP_PROTO(struct bdi_writeback *wb, unsigned int for_kupdate,
49 unsigned long dirtied_before, int *moved),
50 TP_ARGS(wb, for_kupdate, dirtied_before, moved));
51
52 DECLARE_HOOK(android_vh_mark_inode_dirty,
53 TP_PROTO(struct inode *inode, struct bdi_writeback *wb, struct list_head **dirty_list),
54 TP_ARGS(inode, wb, dirty_list));
55
56 DECLARE_HOOK(android_vh_vfs_fsync_range,
57 TP_PROTO(struct inode *inode, unsigned long *cut_off),
58 TP_ARGS(inode, cut_off));
59
> 60 DECLARE_RESTRICTED_HOOK(android_rvh_do_fcntl,
61 TP_PROTO(struct file *filp, unsigned int cmd, unsigned long arg, long *err),
62 TP_ARGS(filp, cmd, arg, err), 1);
63 #endif /* _TRACE_HOOK_FS_H */
64
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-02-10 8:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202602101651.kwTYRkvn-lkp@intel.com \
--to=lkp@intel.com \
--cc=cros-kernel-buildreports@googlegroups.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.