From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.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 9E1D73F23CC for ; Wed, 30 Sep 2026 06:58:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790751553; cv=none; b=uSeWLWE2OQe6JA+tHJh2qnrS5WLNwVkLo1yeYxObATbwNX+t+ZGfBd3O0RnWqNtmnNKLMi4rSUeDDrECIUBZbq6n+RRvDGYdnv2vEmeGDwSQkz2jG8qZi/c3QmYRiDLGrY6WezbSas3ioN89t+bwSbOz+W5a2obLOQHvik1OLKc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790751553; c=relaxed/simple; bh=JqusB2R5n7cwMWBb2E41DOXH9okZNenxlMzpJ5fC3XM=; h=Date:From:To:Cc:Subject:Message-ID; b=U8aSYAvWrq49/jUSzI9VThIhSN+rsLJkVFqUE09iVT1mmOkRC2OszR0E3AhF276q0QPzyAzXa64I2Rs51tJa84OCcofgn2cKRvyrMvCWFjg2Oa+LKErVucbFZzni3tcePbEBxZU4Z3EEDcu66aB8wOjgM5ei9Fd6QnkKQgFohOM= 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=byRJdqYq; arc=none smtp.client-ip=192.198.163.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="byRJdqYq" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1790751540; x=1822287540; h=date:from:to:cc:subject:message-id; bh=JqusB2R5n7cwMWBb2E41DOXH9okZNenxlMzpJ5fC3XM=; b=byRJdqYqYfJyNpnmIns1tQ4a+bFWUl6Ex2aSq6UD6w3/s088VqluJJ2T XkUVFHUZgzjN5c6bFPihKAjCh4uPFr58mY7OsXtQAdG18C1wsuCHCKE3O wRL10iRDR2hLFIkEccr81/PXV3/NmyZm/3RvJ07ZWIA2OcjRyAzeOTVya G9m/8aJ7wA6QQevBVIPWbs+U3kezG/KCmfB7Ah9X3dgLcqtO93DEI9003 032BzgYWzcfRm8ypHIKDIOPcHeHT1CbDpYKI/x8YzEF9LU5kfrod2f+1W cuQabqd4F9GwoLIhoLi4109AIwDgiysF5a5zwtFvEgf49D3FVzW5V4ZOk A==; X-CSE-ConnectionGUID: R+5SHiTlRNOMUdBDkZglUQ== X-CSE-MsgGUID: LOtOztMiSmCLF196anALmw== X-IronPort-AV: E=McAfee;i="6800,10657,11920"; a="102853332" X-IronPort-AV: E=Sophos;i="6.27,132,1787036400"; d="scan'208";a="102853332" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2026 23:58:41 -0700 X-CSE-ConnectionGUID: 8Xrfq/UVTUmsGxUWwkNYZw== X-CSE-MsgGUID: oPdV/zWTRNWurneUJD+ANA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,132,1787036400"; d="scan'208";a="278810550" Received: from igk-lkp-server01.igk.intel.com (HELO 04362d00df5a) ([10.211.93.152]) by orviesa003.jf.intel.com with ESMTP; 29 Sep 2026 23:58:39 -0700 Received: from kbuild by 04362d00df5a with local (Exim 4.98.2) (envelope-from ) id 1xBoGz-000000001lf-0s5b; Wed, 30 Sep 2026 06:58:37 +0000 Date: Wed, 30 Sep 2026 08:57:54 +0200 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android16-6.12 2/2] drivers/gpu/drm/xe/xe_guc_ct.c:1814:24: error: implicit declaration of function 'xe_guc_log_snapshot_capture'; did you mean 'xe_guc_ct_snapshot_capture'? Message-ID: <202609300858.JIsCm6RF-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: Hi John, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android16-6.12 head: 7b10fdf41f2bb0df0fd897e463ab48b31c4b94fb commit: ff6482fb458953e111a82b7c537363d9aacf04bf [2/2] drm/xe/guc: Dead CT helper config: x86_64-randconfig-2200-20260930 (https://download.01.org/0day-ci/archive/20260930/202609300858.JIsCm6RF-lkp@intel.com/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 smatch: v0.5.0-9187-g5189e3fb reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260930/202609300858.JIsCm6RF-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/202609300858.JIsCm6RF-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/xe/xe_guc_ct.c: In function 'ct_dead_capture': >> drivers/gpu/drm/xe/xe_guc_ct.c:1814:24: error: implicit declaration of function 'xe_guc_log_snapshot_capture'; did you mean 'xe_guc_ct_snapshot_capture'? [-Wimplicit-function-declaration] 1814 | snapshot_log = xe_guc_log_snapshot_capture(&guc->log, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | xe_guc_ct_snapshot_capture >> drivers/gpu/drm/xe/xe_guc_ct.c:1814:22: error: assignment to 'struct xe_guc_log_snapshot *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1814 | snapshot_log = xe_guc_log_snapshot_capture(&guc->log, true); | ^ >> drivers/gpu/drm/xe/xe_guc_ct.c:1821:17: error: implicit declaration of function 'xe_guc_log_snapshot_free'; did you mean 'xe_guc_ct_snapshot_free'? [-Wimplicit-function-declaration] 1821 | xe_guc_log_snapshot_free(snapshot_log); | ^~~~~~~~~~~~~~~~~~~~~~~~ | xe_guc_ct_snapshot_free drivers/gpu/drm/xe/xe_guc_ct.c: In function 'ct_dead_print': >> drivers/gpu/drm/xe/xe_guc_ct.c:1840:33: error: implicit declaration of function 'drm_line_printer'; did you mean 'drm_info_printer'? [-Wimplicit-function-declaration] 1840 | struct drm_printer lp = drm_line_printer(&ip, "Capture", ++g_count); | ^~~~~~~~~~~~~~~~ | drm_info_printer >> drivers/gpu/drm/xe/xe_guc_ct.c:1840:33: error: invalid initializer >> drivers/gpu/drm/xe/xe_guc_ct.c:1857:9: error: implicit declaration of function 'xe_guc_log_snapshot_print'; did you mean 'xe_guc_ct_snapshot_print'? [-Wimplicit-function-declaration] 1857 | xe_guc_log_snapshot_print(dead->snapshot_log, &lp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | xe_guc_ct_snapshot_print vim +1814 drivers/gpu/drm/xe/xe_guc_ct.c 1785 1786 #if IS_ENABLED(CONFIG_DRM_XE_DEBUG) 1787 static void ct_dead_capture(struct xe_guc_ct *ct, struct guc_ctb *ctb, u32 reason_code) 1788 { 1789 struct xe_guc_log_snapshot *snapshot_log; 1790 struct xe_guc_ct_snapshot *snapshot_ct; 1791 struct xe_guc *guc = ct_to_guc(ct); 1792 unsigned long flags; 1793 bool have_capture; 1794 1795 if (ctb) 1796 ctb->info.broken = true; 1797 1798 /* Ignore further errors after the first dump until a reset */ 1799 if (ct->dead.reported) 1800 return; 1801 1802 spin_lock_irqsave(&ct->dead.lock, flags); 1803 1804 /* And only capture one dump at a time */ 1805 have_capture = ct->dead.reason & (1 << CT_DEAD_STATE_CAPTURE); 1806 ct->dead.reason |= (1 << reason_code) | 1807 (1 << CT_DEAD_STATE_CAPTURE); 1808 1809 spin_unlock_irqrestore(&ct->dead.lock, flags); 1810 1811 if (have_capture) 1812 return; 1813 > 1814 snapshot_log = xe_guc_log_snapshot_capture(&guc->log, true); 1815 snapshot_ct = xe_guc_ct_snapshot_capture((ct), true); 1816 1817 spin_lock_irqsave(&ct->dead.lock, flags); 1818 1819 if (ct->dead.snapshot_log || ct->dead.snapshot_ct) { 1820 xe_gt_err(ct_to_gt(ct), "Got unexpected dead CT capture!\n"); > 1821 xe_guc_log_snapshot_free(snapshot_log); 1822 xe_guc_ct_snapshot_free(snapshot_ct); 1823 } else { 1824 ct->dead.snapshot_log = snapshot_log; 1825 ct->dead.snapshot_ct = snapshot_ct; 1826 } 1827 1828 spin_unlock_irqrestore(&ct->dead.lock, flags); 1829 1830 queue_work(system_unbound_wq, &(ct)->dead.worker); 1831 } 1832 1833 static void ct_dead_print(struct xe_dead_ct *dead) 1834 { 1835 struct xe_guc_ct *ct = container_of(dead, struct xe_guc_ct, dead); 1836 struct xe_device *xe = ct_to_xe(ct); 1837 struct xe_gt *gt = ct_to_gt(ct); 1838 static int g_count; 1839 struct drm_printer ip = xe_gt_info_printer(gt); > 1840 struct drm_printer lp = drm_line_printer(&ip, "Capture", ++g_count); 1841 1842 if (!dead->reason) { 1843 xe_gt_err(gt, "CTB is dead for no reason!?\n"); 1844 return; 1845 } 1846 1847 drm_printf(&lp, "CTB is dead - reason=0x%X\n", dead->reason); 1848 1849 /* Can't generate a genuine core dump at this point, so just do the good bits */ 1850 drm_puts(&lp, "**** Xe Device Coredump ****\n"); 1851 xe_device_snapshot_print(xe, &lp); 1852 1853 drm_printf(&lp, "**** GT #%d ****\n", gt->info.id); 1854 drm_printf(&lp, "\tTile: %d\n", gt->tile->id); 1855 1856 drm_puts(&lp, "**** GuC Log ****\n"); > 1857 xe_guc_log_snapshot_print(dead->snapshot_log, &lp); 1858 1859 drm_puts(&lp, "**** GuC CT ****\n"); 1860 xe_guc_ct_snapshot_print(dead->snapshot_ct, &lp); 1861 1862 drm_puts(&lp, "Done.\n"); 1863 } 1864 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki