* [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)
@ 2026-08-14 1:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-14 1:54 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-14 1:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-14 1:54 [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) kernel test robot
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.