From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84CBD3FB02 for ; Fri, 27 Oct 2023 21:57:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="MtyQov04" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698443821; x=1729979821; h=date:from:to:cc:subject:message-id:mime-version; bh=koTawZMPMEBCe9nOnvclFHgKpstvW3ZQG+xhVRm0Tmc=; b=MtyQov04PX0vSswlSKvj5nC1WLKBLsuzUNSI3mNOeL4ON2AUXOF6I8uu LA3SyOqG1mkl4dMu9c+Nl+Wc9RJP9Ay3S7nfuqmeSmG6Eh1wzlwEcnH0s u/KNAHrCNSdRtdr8l/N5SEKMYpAriqqaXlQeZ83iIWWp2bdnPNGsj0Xmy U103v3hfn+Wloh1ZhwGwT6kxxg6ouCl+TAF4zgGnyLXRlNpOjz+eYwm38 U15c7ImezOqQwhIcIiC7fG3h9e/P9SgE0NaOPQ4lQJEvkjilUjqjTpfFw sNxIBEfcJGV34hthFLdlem63Xj8biD/3194tzZmL64yzu9aSpBn5hPs0a w==; X-IronPort-AV: E=McAfee;i="6600,9927,10876"; a="683229" X-IronPort-AV: E=Sophos;i="6.03,257,1694761200"; d="scan'208";a="683229" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2023 14:57:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10876"; a="1091066913" X-IronPort-AV: E=Sophos;i="6.03,257,1694761200"; d="scan'208";a="1091066913" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by fmsmga005.fm.intel.com with ESMTP; 27 Oct 2023 14:56:58 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qwUp6-000BDr-0T; Fri, 27 Oct 2023 21:56:56 +0000 Date: Sat, 28 Oct 2023 05:56:11 +0800 From: kernel test robot To: oe-kbuild@lists.linux.dev Cc: lkp@intel.com Subject: [android-common:android14-5.15 146/276] include/trace/hooks/binder.h:36:1: sparse: sparse: incorrect type in assignment (different address spaces) Message-ID: <202310280546.8tPAUl58-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline :::::: :::::: Manual check reason: "low confidence bisect report" :::::: BCC: lkp@intel.com CC: oe-kbuild-all@lists.linux.dev TO: cros-kernel-buildreports@googlegroups.com tree: https://android.googlesource.com/kernel/common android14-5.15 head: c51de219f5c803c96c445c6dc74a38b5030089a8 commit: 9a7758d97fb469b860a2757cc0475cd530776208 [146/276] ANDROID: GKI: Add vendor hook to binder transaction :::::: branch date: 28 hours ago :::::: commit date: 1 year, 3 months ago config: x86_64-randconfig-122-20231027 (https://download.01.org/0day-ci/archive/20231028/202310280546.8tPAUl58-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/20231028/202310280546.8tPAUl58-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 | Closes: https://lore.kernel.org/r/202310280546.8tPAUl58-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) include/trace/hooks/sched.h:206: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/sched.h:206:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:206:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:210: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/sched.h:210:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:210:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:215: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/sched.h:215:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:215:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:219: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/sched.h:219:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:219:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:223: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/sched.h:223:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:223:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:227: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/sched.h:227:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:227:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:232: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/sched.h:232:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:232:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:236: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/sched.h:236:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:236:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:241: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/sched.h:241:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:241:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:245: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/sched.h:245:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:245:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:249: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/sched.h:249:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:249:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:253: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/sched.h:253:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:253:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:257: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/sched.h:257:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:257:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:277: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/sched.h:277:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:277:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:283: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/sched.h:283:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:283:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:287: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/sched.h:287:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:287:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:292: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/sched.h:292:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:292:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:297: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/sched.h:297:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:297:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:302: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/sched.h:302:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:302:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:309: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/sched.h:309:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:309:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:314: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/sched.h:314:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:314:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:328: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/sched.h:328:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:328:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:333: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/sched.h:333:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:333:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:337: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/sched.h:337:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:337:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:344: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/sched.h:344:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:344:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:348: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/sched.h:348:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:348:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:352: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/sched.h:352:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:352:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:356: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/sched.h:356:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:356:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:360: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/sched.h:360:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:360:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:368: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/sched.h:368:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:368:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:372: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/sched.h:372:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:372:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:376: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/sched.h:376:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:376:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:392: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/sched.h:392:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:392:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/binder.h): >> include/trace/hooks/binder.h:36: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/binder.h:36:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/binder.h:36:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/gic_v3.h): include/trace/hooks/gic_v3.h:17: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/gic_v3.h:17:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/gic_v3.h:17:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/cpufreq.h): include/trace/hooks/cpufreq.h:13: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/cpufreq.h:13:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cpufreq.h:13:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/cpufreq.h:22: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/cpufreq.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cpufreq.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/mm.h): include/trace/hooks/mm.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/mm.h:16:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:16:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/mm.h:19: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/mm.h:19:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:19:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/mm.h:22: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/mm.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/preemptirq.h): include/trace/hooks/preemptirq.h:13: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/preemptirq.h:13:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.h:13:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/preemptirq.h:17: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/preemptirq.h:17:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.h:17:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/preemptirq.h:21: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/preemptirq.h:21:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.h:21:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/preemptirq.h:25: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/preemptirq.h:25:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.h:25:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/cgroup.h): include/trace/hooks/cgroup.h:20: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/cgroup.h:20:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cgroup.h:20:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/iommu.h): include/trace/hooks/iommu.h:14: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/iommu.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/iommu.h:14:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/vmscan.h): include/trace/hooks/vmscan.h:12: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/vmscan.h:12:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/vmscan.h:12:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/avc.h): include/trace/hooks/avc.h:14: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/avc.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/avc.h:14:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/avc.h:18: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/avc.h:18:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/avc.h:18:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/avc.h:22: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/avc.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/avc.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/avc.h:26: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/avc.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/avc.h:26:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/creds.h): include/trace/hooks/creds.h:15: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/creds.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/creds.h:15:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/creds.h:19: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/creds.h:19:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/creds.h:19:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/creds.h:23: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/creds.h:23:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/creds.h:23:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/creds.h:27: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/creds.h:27:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/creds.h:27:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/selinux.h): include/trace/hooks/selinux.h:14: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/selinux.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/selinux.h:14:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/bug.h): include/trace/hooks/bug.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/bug.h:10:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/bug.h:10:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/fault.h): include/trace/hooks/fault.h:11: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/fault.h:11:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fault.h:11:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/fault.h:15:1: sparse: sparse: too many warnings -- drivers/android/binder.c:4705:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected restricted __poll_t @@ got int @@ drivers/android/binder.c:4705:24: sparse: expected restricted __poll_t drivers/android/binder.c:4705:24: sparse: got int drivers/android/binder.c: note: in included file: >> include/trace/hooks/binder.h:36: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/binder.h:36:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/binder.h:36:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs vim +36 include/trace/hooks/binder.h 9a7758d97fb469 Liangliang Li 2021-11-10 @36 DECLARE_RESTRICTED_HOOK(android_rvh_binder_transaction, -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki