From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android15-6.6-2026-04 0/7] include/trace/hooks/swapfile.h:16:1: sparse: sparse: incorrect type in assignment (different address spaces)
Date: Fri, 14 Aug 2026 09:54:03 +0800 [thread overview]
Message-ID: <202608140944.jb3z4NbH-lkp@intel.com> (raw)
tree: https://android.googlesource.com/kernel/common android15-6.6-2026-04
head: 94ba6cba4be120105fa6919c2279fc8e0efe174e
commit: a402d311bb6a70f790ec81024488326277d1ba75 [0/7] ANDROID: vendor hooks: add hooks to support the functionality and management of multiple swap devices.
config: i386-randconfig-062-20260814 (https://download.01.org/0day-ci/archive/20260814/202608140944.jb3z4NbH-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260814/202608140944.jb3z4NbH-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/202608140944.jb3z4NbH-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
mm/swapfile.c:628:13: sparse: sparse: context imbalance in 'cluster_reclaim_range' - unexpected unlock
mm/swapfile.c:765:23: sparse: sparse: context imbalance in 'alloc_swap_scan_cluster' - different lock contexts for basic block
mm/swapfile.c:784:31: sparse: sparse: context imbalance in 'swap_reclaim_full_clusters' - unexpected unlock
mm/swapfile.c:1051:13: sparse: sparse: context imbalance in 'swap_offset_available_and_locked' - wrong count at exit
mm/swapfile.c:1257:9: sparse: sparse: context imbalance in 'scan_swap_map_slots' - unexpected unlock
mm/swapfile.c: note: in included file:
>> include/trace/hooks/swapfile.h:16: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/swapfile.h:16:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/swapfile.h:16:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
mm/swapfile.c:1414:36: sparse: sparse: context imbalance in 'swap_info_get_cont' - unexpected unlock
mm/swapfile.c:458:9: sparse: sparse: context imbalance in '__swap_entry_free' - different lock contexts for basic block
mm/swapfile.c:458:9: sparse: sparse: context imbalance in '__swap_entries_free' - different lock contexts for basic block
mm/swapfile.c:1619:23: sparse: sparse: context imbalance in 'swap_entry_range_free' - different lock contexts for basic block
mm/swapfile.c:458:9: sparse: sparse: context imbalance in 'cluster_swap_free_nr' - different lock contexts for basic block
mm/swapfile.c:1699:38: sparse: sparse: context imbalance in 'put_swap_folio' - different lock contexts for basic block
mm/swapfile.c:1743:28: sparse: sparse: context imbalance in 'swapcache_free_entries' - unexpected unlock
mm/swapfile.c:458:9: sparse: sparse: context imbalance in 'swap_swapcount' - different lock contexts for basic block
mm/swapfile.c:458:9: sparse: sparse: context imbalance in 'swp_swapcount' - different lock contexts for basic block
mm/swapfile.c:458:9: sparse: sparse: context imbalance in 'swap_page_trans_huge_swapped' - different lock contexts for basic block
mm/swapfile.c:2202:17: sparse: sparse: context imbalance in 'unuse_pte' - unexpected unlock
mm/swapfile.c:2289:26: sparse: sparse: context imbalance in 'unuse_pte_range' - unexpected unlock
mm/swapfile.c:458:9: sparse: sparse: context imbalance in '__swap_duplicate' - different lock contexts for basic block
mm/swapfile.c:3972:23: sparse: sparse: context imbalance in 'add_swap_count_continuation' - different lock contexts for basic block
vim +16 include/trace/hooks/swapfile.h
12
13 DECLARE_HOOK(android_vh_get_swap_pages_bypass,
14 TP_PROTO(struct swap_info_struct *si, int entry_order, bool *skip),
15 TP_ARGS(si, entry_order, skip));
> 16 DECLARE_RESTRICTED_HOOK(android_rvh_get_swap_pages_bypass,
17 TP_PROTO(struct swap_info_struct *si, int entry_order, bool *skip, swp_entry_t *entry),
18 TP_ARGS(si, entry_order, skip, entry), 3);
19
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-08-14 1:54 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=202608140944.jb3z4NbH-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.