From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (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 6B26D48C3E2 for ; Fri, 15 May 2026 15:18:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778858302; cv=none; b=bRsHkPd9D3zHeotmWbyn5srj/UcKqMFcMiDek3HR6gebtOLidSPoSmnS2Tx4xh6kqV2LNz+b62aZKp6r7vE+pk4CDMtfQFyrGwNyFT3hus9S8NtBQD4VXiVKB49EFggtoSJC1jiQGxszKZRsrvgkELiLz/Uh/mAstwKT4hpjMhg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778858302; c=relaxed/simple; bh=LfzT+gGxGLpQWpNRE8E3ygi0gE5on9rhTIlQIf7pcvk=; h=Date:From:To:Cc:Subject:Message-ID; b=OTQnwi+w1XrarxNEe1PCNws20M435LWGAXmH0OL3iAnb7e47jolt1Cusx+glMKtfNxixuuBjQlq5DdsU8ejocSGNrNQJgvelHmvsVaKeyU5lf/UBIXSB77Cc9wHElIYFMx3y2C4h0jGZ9ZauWBqs7mOBGcdNyU+Zhu1WdDDq53o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Bbhk/ovX; arc=none smtp.client-ip=192.198.163.18 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="Bbhk/ovX" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1778858300; x=1810394300; h=date:from:to:cc:subject:message-id; bh=LfzT+gGxGLpQWpNRE8E3ygi0gE5on9rhTIlQIf7pcvk=; b=Bbhk/ovXvBMYNLSQa7GFj3XXAq3CzSqsLsqGUXDxBUVCAcsymzr7r0Z2 H3+QSLP6+l8ypkiorkjNmthLj/yozgqSIMRxg7NdDmSaR3TtIX0VpKSnX I82C8jdvl0J/qIJx9MSQrA8IMExZMsEAfSLmPE64tgKNZKKH2mNZpukpE Ag6mZojQHtGyfer3ZlHXBfFWUW6d//iRiw3IfmKu23iYYhs5ehRk0cd/p +Olqa+b3bo1hINslJNCoiIVwuTFYITX03FZ6kE6I4r5RnNTN1SeAEjs0Q 4ZXCI4l0pVHglVxc6OaB8NyVo8LnF61umRXbIFaTxqNllZ2dX1y2jiSut g==; X-CSE-ConnectionGUID: abIsZ3qLSeyCCVXL9j1/Xg== X-CSE-MsgGUID: QOZjA2TdSQujt32U4MxOJQ== X-IronPort-AV: E=McAfee;i="6800,10657,11787"; a="78951981" X-IronPort-AV: E=Sophos;i="6.23,236,1770624000"; d="scan'208";a="78951981" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2026 08:18:17 -0700 X-CSE-ConnectionGUID: 8gIB+G4CQS6YaHK/aCXtVg== X-CSE-MsgGUID: GN5JUuGQThKgF8Wrw71aiw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,236,1770624000"; d="scan'208";a="238599181" Received: from lkp-server02.sh.intel.com (HELO 7a33ad3e7d27) ([10.239.97.151]) by orviesa008.jf.intel.com with ESMTP; 15 May 2026 08:18:15 -0700 Received: from kbuild by 7a33ad3e7d27 with local (Exim 4.98.2) (envelope-from ) id 1wNuIQ-0000000023L-33S7; Fri, 15 May 2026 15:18:02 +0000 Date: Fri, 15 May 2026 23:09:53 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android17-6.18 2/2] include/trace/hooks/blk.h:51:1: sparse: sparse: incorrect type in assignment (different address spaces) Message-ID: <202605152355.pL5SSY0d-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: tree: https://android.googlesource.com/kernel/common android17-6.18 head: 6d689dd8b2631ce3829b6c20ff3b92cbc1c17599 commit: 18fc3793db1db68c1a9db2c0300326ac1df1c47e [2/2] ANDROID: block: add vendor hooks to implement IO aggregation in DDK modules. config: arm64-randconfig-r112-20260515 (https://download.01.org/0day-ci/archive/20260515/202605152355.pL5SSY0d-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 9.5.0 sparse: v0.6.5-rc1 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260515/202605152355.pL5SSY0d-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/oe-kbuild-all/202605152355.pL5SSY0d-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) 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/blk.h): >> include/trace/hooks/blk.h:51: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/blk.h:51:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/blk.h:51:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/blk.h:55: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/blk.h:55:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/blk.h:55: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/cgroup.h): include/trace/hooks/cgroup.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/cgroup.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cgroup.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/cgroup.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/cgroup.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cgroup.h:26:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/cgroup.h:30: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:30:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cgroup.h:30: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: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/cpufreq.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cpufreq.h:15:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/cpufreq.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/cpufreq.h:23:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cpufreq.h:23:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/cpufreq.h:46: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:46:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cpufreq.h:46: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/cpuinfo.h): include/trace/hooks/cpuinfo.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/cpuinfo.h:12:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cpuinfo.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/dtask.h): include/trace/hooks/dtask.h:32: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/dtask.h:32:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/dtask.h:32:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/dtask.h:129: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/dtask.h:129:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/dtask.h:129: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: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/fault.h:13:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fault.h:13:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/fault.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/fault.h:17:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fault.h:17:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/fault.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/fault.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fault.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/fs.h): include/trace/hooks/fs.h:69: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:69:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fs.h:69:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/fs.h:81: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:81:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fs.h:81: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.h): include/trace/hooks/gic.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/gic.h:18:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/gic.h:18: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: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/gic_v3.h:18:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/gic_v3.h:18: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/gunyah.h): include/trace/hooks/gunyah.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/gunyah.h:12:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/gunyah.h:12:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/gunyah.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/gunyah.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/gunyah.h:15:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/gunyah.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/gunyah.h:19:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/gunyah.h:19:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/gunyah.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/gunyah.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/gunyah.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/gunyah.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/gunyah.h:25:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/gunyah.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/iommu.h): include/trace/hooks/iommu.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/iommu.h:12:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/iommu.h:12:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/iommu.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/iommu.h:19:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/iommu.h:19:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/iommu.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/iommu.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/iommu.h:26:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/iommu.h:42: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:42:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/iommu.h:42:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/iommu.h:46: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:46:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/iommu.h:46: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/logbuf.h): include/trace/hooks/logbuf.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/logbuf.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr vim +51 include/trace/hooks/blk.h 46 47 DECLARE_HOOK(android_vh_f2fs_ra_op_flags, 48 TP_PROTO(blk_opf_t *op_flag, struct readahead_control *rac), 49 TP_ARGS(op_flag, rac)); 50 > 51 DECLARE_RESTRICTED_HOOK(android_rvh_submit_bio_pre, 52 TP_PROTO(struct bio *bio, struct request *rq), 53 TP_ARGS(bio, rq), 1); 54 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki