From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) (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 7ABB7394 for ; Sat, 28 Oct 2023 03:02:09 +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="Gekt2od2" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698462130; x=1729998130; h=date:from:to:cc:subject:message-id:mime-version; bh=7BW9fV22dMygDNp0zX0mWR/SR8TTNBOr84uOmZjJk0E=; b=Gekt2od2+Mhi4t9f7V0igjhdo1qyQE/80h1PY9s0lIqrAXAEekJn1IFh nnfk/DH7kJvex+A8OXWwJY48fp3SakZUnAcPHzjHrjmJ6KiRAqsztAn4i wDIC2UnlJHu/3/6LGGTuGm38WzQOq2gfMm5+NNvuCvqTR5R7dxJXbLrjZ Vk2bHEu/31agxBX/M8jiE4C2bZpvHX0kYhKBgtEjs3e2UGydktQeXzTwG s4qjJ0jlJ92KSqQF8X18QVk5SNO1ZEOFUrfCdslAYC5q1HBWJJ/Z6Dnay gR0s9P0UYM4Q+AZTfaf3crRAaol11dmSZU6oXPxcXDjK03ARFpj79aSVp w==; X-IronPort-AV: E=McAfee;i="6600,9927,10876"; a="372930678" X-IronPort-AV: E=Sophos;i="6.03,258,1694761200"; d="scan'208";a="372930678" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2023 20:02:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10876"; a="709590452" X-IronPort-AV: E=Sophos;i="6.03,258,1694761200"; d="scan'208";a="709590452" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 27 Oct 2023 20:02:07 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qwZaP-000BQ3-1K; Sat, 28 Oct 2023 03:02:05 +0000 Date: Sat, 28 Oct 2023 11:01:46 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android14-5.15 4/12] include/trace/hooks/usb.h:19:1: sparse: sparse: incorrect type in assignment (different address spaces) Message-ID: <202310281006.jhPYOAFe-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 android14-5.15 head: c51de219f5c803c96c445c6dc74a38b5030089a8 commit: 358b59f1bce213fe1d83e09ae2e1fba718682e4a [4/12] ANDROID: usb: Add vendor hook for usb suspend and resume config: x86_64-randconfig-122-20231027 (https://download.01.org/0day-ci/archive/20231028/202310281006.jhPYOAFe-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/202310281006.jhPYOAFe-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/202310281006.jhPYOAFe-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) include/trace/hooks/cgroup.h:23:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/cgroup.h:40: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:40:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cgroup.h:40:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/cgroup.h:44: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:44:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cgroup.h:44:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/cgroup.h:48: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:48:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cgroup.h:48: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/net.h): include/trace/hooks/net.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/net.h:23:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/net.h:23:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/net.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/net.h:25:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/net.h:25:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/net.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/net.h:27:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/net.h:27:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/net.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/net.h:29:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/net.h:29: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: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: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: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 include/trace/hooks/fault.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/fault.h:24:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fault.h:24: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/traps.h): include/trace/hooks/traps.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/traps.h:12:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/traps.h:12: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: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/traps.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/traps.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/traps.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/traps.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/traps.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/timekeeping.h): include/trace/hooks/timekeeping.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/timekeeping.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/timekeeping.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/audio_usboffload.h): include/trace/hooks/audio_usboffload.h:31: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/audio_usboffload.h:31:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/audio_usboffload.h:31: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/usb.h): >> include/trace/hooks/usb.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/usb.h:19:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/usb.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/mmc.h): include/trace/hooks/mmc.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/mmc.h:46:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mmc.h:46:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/mmc.h:50: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/mmc.h:50:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mmc.h:50: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/ipv4.h): include/trace/hooks/ipv4.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/ipv4.h:11:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/ipv4.h:11:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/ipv4.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/ipv4.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/ipv4.h:15:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/ipv4.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/ipv4.h:19:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/ipv4.h:19:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/ipv4.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/ipv4.h:23:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/ipv4.h:23:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/ipv4.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/ipv4.h:27:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/ipv4.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/typec.h): include/trace/hooks/typec.h:37: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/typec.h:37:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/typec.h:37:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs vim +19 include/trace/hooks/usb.h 14 15 DECLARE_HOOK(android_vh_usb_new_device_added, 16 TP_PROTO(struct usb_device *udev, int *err), 17 TP_ARGS(udev, err)); 18 > 19 DECLARE_RESTRICTED_HOOK(android_rvh_usb_dev_suspend, 20 TP_PROTO(struct usb_device *udev, pm_message_t msg, int *bypass), 21 TP_ARGS(udev, msg, bypass), 1); 22 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki