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 2/14] include/trace/hooks/madvise.h:10:1: sparse: sparse: incorrect type in assignment (different address spaces)
Date: Sat, 12 Oct 2024 18:02:38 +0800 [thread overview]
Message-ID: <202410121830.39GFesS8-lkp@intel.com> (raw)
tree: https://android.googlesource.com/kernel/common android15-6.6
head: 5f5ee6d2aa03c08776343157079820a6c07748bc
commit: c9b85866c78e7e00085c89ee4fd3b93f54659682 [2/14] ANDROID: madvise: add vendor hook to bypass process madvise
config: i386-randconfig-061-20241012 (https://download.01.org/0day-ci/archive/20241012/202410121830.39GFesS8-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241012/202410121830.39GFesS8-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/202410121830.39GFesS8-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
mm/madvise.c: note: in included file:
include/trace/hooks/madvise.h:21:31: sparse: sparse: no newline at end of file
mm/madvise.c: note: in included file (through include/linux/rbtree.h, include/linux/mm_types.h, include/linux/mmzone.h, ...):
include/linux/rcupdate.h:817:9: sparse: sparse: context imbalance in 'madvise_cold_or_pageout_pte_range' - unexpected unlock
include/linux/rcupdate.h:817:9: sparse: sparse: context imbalance in 'madvise_free_pte_range' - unexpected unlock
mm/madvise.c: note: in included file:
>> include/trace/hooks/madvise.h:10: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/madvise.h:10:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/madvise.h:10:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
vim +10 include/trace/hooks/madvise.h
9
> 10 DECLARE_RESTRICTED_HOOK(android_rvh_process_madvise_bypass,
11 TP_PROTO(int pidfd, const struct iovec __user *vec, size_t vlen,
12 int behavior, unsigned int flags, ssize_t *ret, bool *bypass),
13 TP_ARGS(pidfd, vec, vlen, behavior, flags, ret, bypass), 1);
14 struct vm_area_struct;
15 DECLARE_HOOK(android_vh_update_vma_flags,
16 TP_PROTO(struct vm_area_struct *vma),
17 TP_ARGS(vma));
18
19 #endif
20
> 21 #include <trace/define_trace.h>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2024-10-12 10:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-12 10:02 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-06 21:32 [android-common:android15-6.6 2/14] include/trace/hooks/madvise.h:10:1: sparse: sparse: incorrect type in assignment (different address spaces) kernel test robot
2024-12-06 8:09 kernel test robot
2024-09-22 13:54 kernel test robot
2024-08-23 16:48 kernel test robot
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=202410121830.39GFesS8-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.