From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.9 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796556539; b=0MTS/QaosETF0svCZ3npPbgBqMvTskgKFZtXNdUD/dL6XKRPTpcwH3yAD3GbjPhlQyZJ nChTCutl/4U8MRS4/riO/XDABQV5hiPzSX5EMUnqPXxKcCDJsz4lk4ApsWZlZnrx3CTVi eTKy3NcGs1ULcoHTVZq8UlFkwZSTfYWMQnhUHAqWfiAgZly9Fs1HPEaKruxrhECldI6Kq jTde2xKqTDOWdXwZvPWM1ymfr9vBTQHYH66KK3JvY4yhxDuGe/lUCrC+qvSqmw+kNTiKv B9XmtES63piQP1O7HxILkFfPbOhKJcnM44+tHYQE3oAqiX1FuQKAtzGF0T3dnwjY7ew== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796556539; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:User-Agent; bh=It0FGTtk2m3migvxinoNMR338p4veS4WANOXcGsmqyE=; b=hmqw0KvQbz5kK+WFC4f4wGMCFcJ+5sJWYzzko9gC10RcbENd9xdV3cJywdPbVnNcgYjq GJvav+Zbfv8X0FCSz/8DDx099ehDMHe/ygaOel0kUgbjKL4i92aYggdmLIhEBw3koZzlw W8V5vSJtfdjKz9d4mxxJCm30SlUWOp4Jq5DXMMKhe8RjmEwcnUM3MokNYgmD0f95r43qV k+LMoYqqGe9Im4DixcP4+XUGTNAyXBpjBOBHEFXjUW1cC5fsqDtjdQ/OmhXalrh0mOlcr m1ySDBpfKb/Vio3eJp55MHLQVFTvuzHjO/CtGmfHvZqUeaoRB/9IIy3j4bA7y3CZcGA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=c3egDlYH; arc=none smtp.remote-ip=198.175.65.9 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AC661606A68A for ; Sun, 6 Dec 2026 11:28:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org AC661606A68A 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.a=rsa-sha256 header.s=Intel header.b=c3egDlYH DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796556539; x=1828092539; h=date:from:to:cc:subject:message-id; bh=It0FGTtk2m3migvxinoNMR338p4veS4WANOXcGsmqyE=; b=c3egDlYHnpl8SGlwHNc+tlaOSEC/5Qo2Ceo8GEY7kYKl1dd475dwqk0r O0Hq9tcIacyAs5fn3PWaMe3xaasFhNWVs4ICJ7QoA3lAGl4RoDkCDLJIB /xQM5OEYtKetSnBxio8w5Y59obf93DhhffTLEif8DMHIfJUUu335Idkog 5Etf5ttRhFy1cACSS+OicWTcVkgn40NC2IYGlexP9lmOzeLsqdubC+09F OvTTOTjqrHKA4pPabSCWxf+KYsV0h/l0wC1iRdO24h6UT6Te5B2G/gwXi 5X99mJS2wMWGYbvKhodjkKTBsWl1oGQvvTeC0N+m/QH4N80ADt3lYcBB4 g==; X-CSE-ConnectionGUID: J1iDs6uUTY6ajkDGk0WHpw== X-CSE-MsgGUID: NAHAqIV6Q/yRWCrlb8mNgw== X-IronPort-AV: E=McAfee;i="6800,10657,11988"; a="5393327" X-IronPort-AV: E=Sophos;i="6.29,81,1794902400"; d="scan'208";a="5393327" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Dec 2026 03:28:57 -0800 X-CSE-ConnectionGUID: iRP4B/sNTP6LyJOJ8Cg37w== X-CSE-MsgGUID: OQM+VkyTSjyfLf1GUjrjXA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,81,1794902400"; d="scan'208";a="5930831" Received: from igk-lkp-server01.igk.intel.com (HELO 146cf1e082f1) ([10.211.93.152]) by orviesa010.jf.intel.com with ESMTP; 06 Dec 2026 03:28:55 -0800 Received: from kbuild by 146cf1e082f1 with local (Exim 4.98.2) (envelope-from ) id 1xaAQH-000000004wg-0iPu; Sun, 06 Dec 2026 11:28:53 +0000 Date: Sun, 06 Dec 2026 12:27:54 +0100 From: kernel test robot To: Michal Wajdeczko Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Rodrigo Vivi , Mallesh Koujalagi Subject: drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement Message-ID: <20261204170017.QQiwIAbL-lkp@intel.com> User-Agent: s-nail v14.9.25 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 007722b8211f7b34fdf21b1e6a9c32497633ea29 commit: 1151b9f6f46570650bdda5931380320119ae97e4 drm/xe/log: Add component/location decorations to dmesg date: 4 months ago config: alpha-randconfig-r2311-20261203 (https://download.01.org/0day-ci/archive/20261204/20261204170017.QQiwIAbL-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 8.5.0 sparse: v0.6.5-rc1-94-g0d159c10 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204170017.QQiwIAbL-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 | Fixes: 1151b9f6f465 ("drm/xe/log: Add component/location decorations to dmesg") | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/20261204170017.QQiwIAbL-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) drivers/gpu/drm/xe/xe_log.c: note: in included file: drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression drivers/gpu/drm/xe/abi/xe_log_abi.h:171:9: sparse: sparse: bad constant expression >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement >> drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: incompatible types for 'case' statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement drivers/gpu/drm/xe/xe_log.c:43:9: sparse: sparse: Expected constant expression in case statement vim +/case +43 drivers/gpu/drm/xe/xe_log.c 37 38 static const char *log_component_prefix(u32 component) 39 { 40 switch (component) { 41 #define MAKE_XE_LOG_COMPONENT_CASE_PREFIX(_CLASS, _ID, _TAG, _SIG, _NAME) \ 42 case XE_LOG_COMPONENT_##_TAG: return #_TAG ": "; > 43 DEFINE_XE_LOG_COMPONENTS(MAKE_XE_LOG_COMPONENT_CASE_PREFIX) 44 #undef MAKE_XE_LOG_COMPONENT_CASE_PREFIX 45 } 46 47 return component ? log_unknown_component_prefix(component) : ""; 48 } 49 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki