From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) (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 6CF50219F8 for ; Fri, 13 Oct 2023 19:20:26 +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="BaGa6ouh" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697224826; x=1728760826; h=date:from:to:cc:subject:message-id:mime-version; bh=AO2JkiX0C7jVo7ZTGdUjRXDtiA1VvROr9sc0gHmotEk=; b=BaGa6ouhMwwitai/jAXmvbrvTfGbdPX/IRpy6QxuWKKE29WHTRmjgJar 3MAxuyfKPKMZtudwz+frD18Of6+CywMnYn9dzfR55Js/d24so2f7yuB+6 P6skUWASuBueq4ZkyGhjFqbpQIRPFj0h5r685EjF1Gf8p4eYPBNvrYEoA OD83Crv/PCuojAoOPhnxeHtY8+IzOCXz9gh09fB3Aa5hWriKEA/kAQYhr F6PVlN7Hhxsxw4PcLdItUKmDx4v4fO85DTyoVGb8ZHJ5X6VzLJDnwbmzB YatgALv1lWyjVA1SIxzStVu9L8nrQx/boJN9PnXyxQDwXtbudUjYPiqTI g==; X-IronPort-AV: E=McAfee;i="6600,9927,10862"; a="449437004" X-IronPort-AV: E=Sophos;i="6.03,223,1694761200"; d="scan'208";a="449437004" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2023 12:20:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10862"; a="784273431" X-IronPort-AV: E=Sophos;i="6.03,223,1694761200"; d="scan'208";a="784273431" Received: from lkp-server02.sh.intel.com (HELO f64821696465) ([10.239.97.151]) by orsmga008.jf.intel.com with ESMTP; 13 Oct 2023 12:20:24 -0700 Received: from kbuild by f64821696465 with local (Exim 4.96) (envelope-from ) id 1qrNht-0005JG-2w; Fri, 13 Oct 2023 19:20:21 +0000 Date: Sat, 14 Oct 2023 03:20:03 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android13-5.15 1/5] include/trace/hooks/bug.h:11:1: sparse: sparse: incorrect type in assignment (different address spaces) Message-ID: <202310140350.BfHAWsub-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 android13-5.15 head: 8a0ac15c3162cd3792293d0848bde875b44e48d5 commit: ba7e9d1a771d6e5a07bb242a720e6c95cc98fb0f [1/5] ANDROID: bug: add vendor hook for bug trap config: i386-randconfig-061-20230915 (https://download.01.org/0day-ci/archive/20231014/202310140350.BfHAWsub-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/20231014/202310140350.BfHAWsub-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/202310140350.BfHAWsub-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) include/trace/hooks/sched.h:318: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:318:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:318:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:325: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:325:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:325:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:329: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:329:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:329: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:341: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:341:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:341:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:349: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:349:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:349:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:353: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:353:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:353:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:357: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:357:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:357: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: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: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 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: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/mm.h:20:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:20:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/mm.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/mm.h:23:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:23: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: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/preemptirq.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.h:14:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/preemptirq.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/preemptirq.h:18:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.h:18:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/preemptirq.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/preemptirq.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/preemptirq.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/preemptirq.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.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/cgroup.h): include/trace/hooks/cgroup.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/cgroup.h:21:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cgroup.h:21: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: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/iommu.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/iommu.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/vmscan.h): include/trace/hooks/vmscan.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/vmscan.h:13:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/vmscan.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/avc.h): include/trace/hooks/avc.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/avc.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/avc.h:15:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/avc.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/avc.h:19:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/avc.h:19:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/avc.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/avc.h:23:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/avc.h:23:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/avc.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/avc.h:27:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/avc.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/creds.h): include/trace/hooks/creds.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/creds.h:16:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/creds.h:16:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/creds.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/creds.h:20:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/creds.h:20:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/creds.h:24: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:24:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/creds.h:24:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/creds.h:28: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:28:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/creds.h:28: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: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/selinux.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/selinux.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/bug.h): >> include/trace/hooks/bug.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/bug.h:11:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/bug.h:11:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs -- lib/bug.c: note: in included file: >> include/trace/hooks/bug.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/bug.h:11:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/bug.h:11:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs vim +11 include/trace/hooks/bug.h 10 > 11 DECLARE_RESTRICTED_HOOK(android_rvh_report_bug, 12 TP_PROTO(const char *file, unsigned int line, unsigned long bugaddr), 13 TP_ARGS(file, line, bugaddr), 1); 14 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki