From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (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 C9D3A3F9281 for ; Fri, 11 Sep 2026 19:20:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789154418; cv=none; b=hCet0XIwqBYWhmwOVdH/p83giJPTezVChr2pcgIviS653i4Nv+eMY76UOxBEDRW9jqnEaI6tpxFGxEfLe0D+WHjEjpiRCC3RP138Jc7AWA15QYf673LA2L9HIMdjnMapuTUCtgfi64BFwriXPKs8jathYn8Ec4rVz2yUAj//BIc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789154418; c=relaxed/simple; bh=Bw9uRvg93b3bHTzmWLqQh9aluNDwcNSTBwFhsvqy/1U=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=ahKVcPA/ngZafsj4FO8bILfI2/ldEYmn2v/L65P+ouAwbt5Xlp4TPRBWUx6VZnT41vOZM+QpE6w5Eb+VRQSbjtNvPNcGmNy4luHNyga2zLC6Ql5m+FcTAXvS6LVTR7dE/KAd92iW5aZM/YlqJo6BhEtoWzREOO9oQ5FwTJBGUM8= 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=PQxfPlLf; arc=none smtp.client-ip=192.198.163.14 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="PQxfPlLf" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1789154401; x=1820690401; h=date:from:to:cc:subject:message-id:mime-version: content-transfer-encoding; bh=Bw9uRvg93b3bHTzmWLqQh9aluNDwcNSTBwFhsvqy/1U=; b=PQxfPlLfnipkcNu8bzbJWpCSRFD5ZUpPq6ct/kuKXXEm6tIR5/Dgx2jD xkKEyK+GbJq7rbdK8i0THyrjaRY9de87qy1NEbBEGUb72UbboLxDd0tMV EHKRULeZgnuQctS0SusplGyGqyW8+BrRHBEdFs6GnSrrt9MWcq2ICvgGO nML3MQCuBuaXMrvXfhrBDMOSPr/1bvigNqn2tpycthv15SqBvj19wlOu2 8S/TBSgyrQjpPTiyCe7YV1NZ9DaoIfOcqredIYW78+hZiZrkWosd0qezx QBAEIiBEWNgZ6XI+Diy84JNoK/Z3N2WMijU7sngy7W36k+m7Z8/uc/TgW g==; X-CSE-ConnectionGUID: 9tiC6mvzRpyTHurwzGR9cA== X-CSE-MsgGUID: LFyb0pRMQV223M9CnpB4iQ== X-IronPort-AV: E=McAfee;i="6800,10657,11902"; a="89632680" X-IronPort-AV: E=Sophos;i="6.27,97,1787036400"; d="scan'208";a="89632680" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Sep 2026 12:19:58 -0700 X-CSE-ConnectionGUID: NEV1kEFPTUinKj/2Tr3Cfg== X-CSE-MsgGUID: dvCse4fURZCQhvlvHViWdw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,97,1787036400"; d="scan'208";a="271974709" Received: from lkp-server02.sh.intel.com (HELO 0a3643a6ed9d) ([10.239.97.151]) by orviesa007.jf.intel.com with ESMTP; 11 Sep 2026 12:19:57 -0700 Received: from kbuild by 0a3643a6ed9d with local (Exim 4.98.2) (envelope-from ) id 1x56mU-0000000021j-40Fw; Fri, 11 Sep 2026 19:19:36 +0000 Date: Sat, 12 Sep 2026 03:12:37 +0800 From: kernel test robot To: Matthew Brost Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Dave Airlie Subject: include/trace/events/dma_fence.h:17:1: sparse: sparse: dereference of noderef expression Message-ID: <202609120233.6Elxc35n-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = master head: 08df884136f1c1197bab2a27814404fd329d9aac commit: 21f6bcdf2be72e750dbe430b7227a66763a58466 Merge tag 'drm-misc-next-2= 026-02-26' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-next date: 6 months ago config: microblaze-randconfig-r112-20260910 (https://download.01.org/0day-c= i/archive/20260912/202609120233.6Elxc35n-lkp@intel.com/config) compiler: microblaze-linux-gcc (GCC) 14.3.0 sparse: v0.6.5-rc1 reproduce (this is a W=3D1 build): (https://download.01.org/0day-ci/archive= /20260912/202609120233.6Elxc35n-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new versio= n of the same patch/commit), kindly add following tags | Fixes: 21f6bcdf2be7 ("Merge tag 'drm-misc-next-2026-02-26' of https://git= lab.freedesktop.org/drm/misc/kernel into drm-next") | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202609120233.6Elxc35n-lkp@i= ntel.com/ sparse warnings: (new ones prefixed by >>) drivers/dma-buf/dma-fence.c:1040:38: sparse: sparse: incorrect type in i= nitializer (different address spaces) @@ expected char const [noderef] = __rcu *timeline @@ got char * @@ drivers/dma-buf/dma-fence.c:1040:38: sparse: expected char const [no= deref] __rcu *timeline drivers/dma-buf/dma-fence.c:1040:38: sparse: got char * drivers/dma-buf/dma-fence.c:1041:36: sparse: sparse: incorrect type in i= nitializer (different address spaces) @@ expected char const [noderef] = __rcu *driver @@ got char * @@ drivers/dma-buf/dma-fence.c:1041:36: sparse: expected char const [no= deref] __rcu *driver drivers/dma-buf/dma-fence.c:1041:36: sparse: got char * drivers/dma-buf/dma-fence.c: note: in included file (through include/tra= ce/trace_events.h, include/trace/define_trace.h, include/trace/events/dma_f= ence.h): >> include/trace/events/dma_fence.h:17:1: sparse: sparse: dereference of no= deref expression >> include/trace/events/dma_fence.h:17:1: sparse: sparse: dereference of no= deref expression >> include/trace/events/dma_fence.h:17:1: sparse: sparse: dereference of no= deref expression >> include/trace/events/dma_fence.h:17:1: sparse: sparse: dereference of no= deref expression >> include/trace/events/dma_fence.h:17:1: sparse: sparse: dereference of no= deref expression >> include/trace/events/dma_fence.h:17:1: sparse: sparse: dereference of no= deref expression vim +17 include/trace/events/dma_fence.h e941759c74a44d include/trace/events/fence.h Maarten Lankhorst 2014-07-0= 1 11 =20 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 12 /* 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 13 * Safe only for call sites which are guaranteed to not race with fe= nce 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 14 * signaling,holding the fence->lock and having checked for not sign= aled, or the 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 15 * signaling path itself. 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 16 */ 62918542b7bf08 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 6 @17 DECLARE_EVENT_CLASS(dma_fence, 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 18 =20 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 19 TP_PROTO(struct dma_fence *fence), 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 20 =20 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 21 TP_ARGS(fence), 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 22 =20 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 23 TP_STRUCT__entry( 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 24 __string(driver, fence->ops->get_driver_name(fence)) 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 25 __string(timeline, fence->ops->get_timeline_name(fence)) 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 26 __field(unsigned int, context) 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 27 __field(unsigned int, seqno) 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 28 ), 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 29 =20 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 30 TP_fast_assign( 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 31 __assign_str(driver); 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 32 __assign_str(timeline); 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 33 __entry->context =3D fence->context; 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 34 __entry->seqno =3D fence->seqno; 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 35 ), 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 36 =20 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 37 TP_printk("driver=3D%s timeline=3D%s context=3D%u seqno=3D%u", 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 38 __get_str(driver), __get_str(timeline), __entry->context, 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 39 __entry->seqno) 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 40 ); 506aa8b02a8d68 include/trace/events/dma_fence.h Tvrtko Ursulin 2025-06-1= 0 41 =20 :::::: The code at line 17 was first introduced by commit :::::: 62918542b7bf08860a60ebbde7654486e0ac0776 dma-fence: Fix sparse warni= ngs due __rcu annotations :::::: TO: Tvrtko Ursulin :::::: CC: Christian K=C3=B6nig -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki