From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) (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 070241107 for ; Sat, 16 Sep 2023 11:41:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694864498; x=1726400498; h=date:from:to:cc:subject:message-id:mime-version; bh=+GYlC6Me4VoVBrMa7KdIpx2i3WHX7OkANiVHi9yND0Y=; b=Zu9RqYx3qZ37JNbgOJB6exQOwRNQW9IHrKoMlvxWtljetKKtp7ztQkBk qLB9vx68sOhHziwIYIley0x7UbLNAr5L6mGQ4TWenihULz8LwBgyRkJki PMjWzxLEj2j8+Y1+OAWh8ut+MJLNBp0C0SLn/K+VAa+4chui+hIeMmRiJ /q6HlLW0wHMNf6f0D4xggMHTRpr2GTKYJTY3Ue3/4WR+52/T2Q8u5nL1j me6gmz8EE/5QLg1So58Wqwp9n2IkD0xsov+KZJV0l3vnStfJ1Om3nmZF0 IE7VNjQtiUzNtabjqV2Ir7pcPClTXhEtjhfWIb8nG+kzHPMMHpMKva3Ct A==; X-IronPort-AV: E=McAfee;i="6600,9927,10834"; a="465765009" X-IronPort-AV: E=Sophos;i="6.02,152,1688454000"; d="scan'208";a="465765009" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2023 04:41:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10834"; a="1076082833" X-IronPort-AV: E=Sophos;i="6.02,152,1688454000"; d="scan'208";a="1076082833" Received: from lkp-server02.sh.intel.com (HELO 9ef86b2655e5) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 16 Sep 2023 04:41:35 -0700 Received: from kbuild by 9ef86b2655e5 with local (Exim 4.96) (envelope-from ) id 1qhTg5-0004FQ-1h; Sat, 16 Sep 2023 11:41:33 +0000 Date: Sat, 16 Sep 2023 19:41:19 +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: <202309161920.GVPn8mMj-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: f9a1230327dc4d4a5a2b9e519e7bbe4289f660ad commit: ba7e9d1a771d6e5a07bb242a720e6c95cc98fb0f [1/5] ANDROID: bug: add vendor hook for bug trap config: i386-randconfig-061-20230915 (https://download.01.org/0day-ci/archive/20230916/202309161920.GVPn8mMj-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/20230916/202309161920.GVPn8mMj-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/202309161920.GVPn8mMj-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