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 152B21FF5FC for ; Tue, 25 Mar 2025 21:03:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742936629; cv=none; b=T2iRij7Qz/42E3bELqPNQMlse628RW7QtF3Xnz1c1/7URIhBf0AUaP5GRYeRP86Y0JP4nEd5lAPkYed60Pmc9LrRuTdWa6ErJMHboTVn96y2/nwK+UUCxiDT/qh+m4pL1qpwAp2rSmIV4hEYMrxELaE7sl02uF3pmsp2njYcMUc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742936629; c=relaxed/simple; bh=I//ATNd3ddoCvK4GRXH5KXJqOdw4yRYADvTXlQX68lM=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=jcZdMGT0kapag/LKbxrH8ok4tV4W0Osl6xANNqvRrVG9tGmQV47gzlbzHGSMPODTMM9Nr2xXKXcqraIjV+6RcGjvTWh6J8tuLDL0N8sHm1ANYIM+XuYJBXirKhge6f+ebLmApBONZ7/hx87z18H6FjiZv2wbE8nrbKFFwon84gk= 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=gOShN/CQ; arc=none smtp.client-ip=198.175.65.10 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="gOShN/CQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1742936627; x=1774472627; h=date:from:to:cc:subject:message-id:mime-version; bh=I//ATNd3ddoCvK4GRXH5KXJqOdw4yRYADvTXlQX68lM=; b=gOShN/CQxxYRfkOc2ZhKNfGmGYgm9OpivKZumIjU9L4HfgAM1+Vcm0d9 elnhSFjNJBGuVPyoEYtKvNg8OP3yhPAzAs+wdTLy+sJH+ud9M6HFg05hX Rwrgs7PuRjuW0cD+XHfj6cpA/ozBHqzFC6SHhsXxPm2EB2N4GrSpkGjgJ CHsDfymXMODlpAdPu83z8usA/+r/Xc7/LIEFypHvmy0oRokbn4/yiqy/c mWBwlLyZ3x47edHGwbARp06m/MMBi2QodCmQ+rbZmnJsrDuSBcKl+jbcs ojfn0Dbn1MDA9//9uGYs+3UFCY+UMZ7O4HFdQe70mHaYjoNsQQ+1G2XcG Q==; X-CSE-ConnectionGUID: OCKyBC4lQTKltiafUqb8ag== X-CSE-MsgGUID: towUQT+lSWC1HAWBQdTQsQ== X-IronPort-AV: E=McAfee;i="6700,10204,11384"; a="61599373" X-IronPort-AV: E=Sophos;i="6.14,275,1736841600"; d="scan'208";a="61599373" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2025 14:03:46 -0700 X-CSE-ConnectionGUID: wt25yR7oSuWVNJW96zPB3w== X-CSE-MsgGUID: p6A2D4DNSiWsdvr/H9fYFw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.14,275,1736841600"; d="scan'208";a="125429710" Received: from lkp-server02.sh.intel.com (HELO e98e3655d6d2) ([10.239.97.151]) by orviesa008.jf.intel.com with ESMTP; 25 Mar 2025 14:03:45 -0700 Received: from kbuild by e98e3655d6d2 with local (Exim 4.96) (envelope-from ) id 1txBQx-0005BL-0j; Tue, 25 Mar 2025 21:03:39 +0000 Date: Wed, 26 Mar 2025 05:03:29 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android16-6.12 1/1] include/trace/hooks/gunyah.h:10:1: sparse: sparse: incorrect type in assignment (different address spaces) Message-ID: <202503260406.wfcbey8D-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://android.googlesource.com/kernel/common android16-6.12 head: 655b5383be8b3633533f0af681d955b9a8828524 commit: b41a7537a4c154acbb8680000c77553d8cb0ff72 [1/1] ANDROID: gunyah: vcpu_mgr: Add trace_hooks in the gunyah_vcpu driver config: i386-randconfig-r113-20250325 (https://download.01.org/0day-ci/archive/20250326/202503260406.wfcbey8D-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250326/202503260406.wfcbey8D-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/202503260406.wfcbey8D-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/cpufreq.h): include/trace/hooks/cpufreq.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/cpufreq.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cpufreq.h:14:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/cpufreq.h:41: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:41:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cpufreq.h:41: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: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 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/fs.h): include/trace/hooks/fs.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/fs.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fs.h:14:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/fs.h:60: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:60:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fs.h:60: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: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/vmscan.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/vmscan.h:15: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/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: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/gunyah.h:10:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/gunyah.h:10:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/gunyah.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/gunyah.h:13:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/gunyah.h:13: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/reboot.h): include/trace/hooks/reboot.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/reboot.h:12:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/reboot.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/psci.h): include/trace/hooks/psci.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/psci.h:13:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/psci.h:13:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/psci.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/psci.h:17:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/psci.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/mm.h): include/trace/hooks/mm.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/mm.h:17:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:17:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/mm.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/mm.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:26:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/mm.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/mm.h:30:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:30:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/mm.h:34: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:34:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:34:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/mm.h:38: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:38:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:38:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/mm.h:209: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:209:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:209:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/mm.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/mm.h:232:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:232:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/mm.h:235: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:235:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:235:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/mm.h:283:1: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted int flags @@ got restricted int flags @@ include/trace/hooks/mm.h:283:1: sparse: expected restricted int flags include/trace/hooks/mm.h:283:1: sparse: got restricted int flags include/trace/hooks/mm.h:283:1: sparse: sparse: symbol '__traceiter_android_vh_free_pages_prepare_bypass' redeclared with different type (incompatible argument 4 (different base types)): include/trace/hooks/mm.h:283:1: sparse: int extern [addressable] [signed] [toplevel] __traceiter_android_vh_free_pages_prepare_bypass( ... ) include/trace/hooks/mm.h:283:1: sparse: note: previously declared as: include/trace/hooks/mm.h:283:1: sparse: int extern [addressable] [signed] [toplevel] __traceiter_android_vh_free_pages_prepare_bypass( ... ) include/trace/hooks/mm.h:283:1: sparse: sparse: symbol '__probestub_android_vh_free_pages_prepare_bypass' redeclared with different type (incompatible argument 4 (different base types)): include/trace/hooks/mm.h:283:1: sparse: void extern [addressable] [toplevel] __probestub_android_vh_free_pages_prepare_bypass( ... ) include/trace/hooks/mm.h:283:1: sparse: note: previously declared as: include/trace/hooks/mm.h:283:1: sparse: void extern [addressable] [toplevel] __probestub_android_vh_free_pages_prepare_bypass( ... ) include/trace/hooks/mm.h:287:1: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted int flags @@ got restricted int flags @@ include/trace/hooks/mm.h:287:1: sparse: expected restricted int flags include/trace/hooks/mm.h:287:1: sparse: got restricted int flags include/trace/hooks/mm.h:287:1: sparse: sparse: symbol '__traceiter_android_vh_free_pages_ok_bypass' redeclared with different type (incompatible argument 4 (different base types)): include/trace/hooks/mm.h:287:1: sparse: int extern [addressable] [signed] [toplevel] __traceiter_android_vh_free_pages_ok_bypass( ... ) include/trace/hooks/mm.h:287:1: sparse: note: previously declared as: include/trace/hooks/mm.h:287:1: sparse: int extern [addressable] [signed] [toplevel] __traceiter_android_vh_free_pages_ok_bypass( ... ) include/trace/hooks/mm.h:287:1: sparse: sparse: symbol '__probestub_android_vh_free_pages_ok_bypass' redeclared with different type (incompatible argument 4 (different base types)): include/trace/hooks/mm.h:287:1: sparse: void extern [addressable] [toplevel] __probestub_android_vh_free_pages_ok_bypass( ... ) include/trace/hooks/mm.h:287:1: sparse: note: previously declared as: include/trace/hooks/mm.h:287:1: sparse: void extern [addressable] [toplevel] __probestub_android_vh_free_pages_ok_bypass( ... ) drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/traps.h): include/trace/hooks/traps.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/traps.h:13:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/traps.h:13:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/traps.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/traps.h:17:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/traps.h:17:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/traps.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/traps.h:21:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/traps.h:21:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/traps.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/traps.h:25:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/traps.h:25:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/traps.h:29: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/traps.h:29:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/traps.h:29:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/traps.h:33: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/traps.h:33:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/traps.h:33: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: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/fault.h:12:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fault.h:12:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/fault.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/fault.h:16:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fault.h:16:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/fault.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/fault.h:20:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fault.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/topology.h): include/trace/hooks/topology.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/topology.h:19:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/topology.h:19: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 vim +10 include/trace/hooks/gunyah.h 9 > 10 DECLARE_RESTRICTED_HOOK(android_rvh_gh_before_vcpu_run, 11 TP_PROTO(u16 vmid, u32 vcpu_id), 12 TP_ARGS(vmid, vcpu_id), 1); 13 DECLARE_RESTRICTED_HOOK(android_rvh_gh_after_vcpu_run, 14 TP_PROTO(u16 vmid, u32 vcpu_id, int hcall_ret, 15 const struct gunyah_hypercall_vcpu_run_resp *resp), 16 TP_ARGS(vmid, vcpu_id, hcall_ret, resp), 1); 17 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki