From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) (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 C87C548BD41 for ; Tue, 5 May 2026 16:16:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777997777; cv=none; b=aTia9CxkeQYbEb2f6XwGpsCNrHApNicBnq1QaySFROcLB187wUd4tD5ZtZEmdwdYItBmJpz03KibX6t8E6Kp/9WFkct3Q5ebGSbBoNYu0aBLnrcpTmtkuNNYmcsKcUS6Q2+k4aa2MAmoFRpgtp5ZcRaHjovOKhhftxg7zQdesLI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777997777; c=relaxed/simple; bh=2Etl3bP55Je81s5Fb96G/XE9uw9Kr62EQIl03qTXQGI=; h=Date:From:To:Cc:Subject:Message-ID; b=Tlcpm1oHkhrZYDDL37l3xuFBpMzqEY81+muPHkufr8uZzQ43q7TCVOJW8iLHXBSv3m7YTj2ZXSXqg71NaKWlzU3iPg7SU9qzj6uFq/gUYjMmv2gvG4jvwxX9BYOm3CjVhTG2+Aqny2slnDFk28aaONaM9D9Mk3yc74IzDJS4AAs= 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=aDPXo9z/; arc=none smtp.client-ip=198.175.65.18 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="aDPXo9z/" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1777997771; x=1809533771; h=date:from:to:cc:subject:message-id; bh=2Etl3bP55Je81s5Fb96G/XE9uw9Kr62EQIl03qTXQGI=; b=aDPXo9z/ocVSqwhj5wgC8yBKEiHpOE/N4/83ojc7WFLe/G0SRCiAPkmm LHVwm0XkUD9Nqmc4Q7sRBIKHBQCE/OzzUWUZmsTqepdntsyfcV5LGFCvU KVm8yR5MkAMTeq6mxjdg+1MW+nLbnk+6liY+Ltp5igA4bo3i3AU6vsJiX XuRA7c8hRF9e4j2FUGjgxC/EkhEQ1U2Li0jqx16F4CsWHWeh0lAVrrkx4 in7zHBxeO4bZD1+QGJCV6+XIbnCzoequD/7kMOZFW8LCzYHsBEn4+TjWh LYYQHfHBjJMngmd60Wpg2PFQWSk1J7yTWumovLkJz/sgQ/I/MNifp+tcj A==; X-CSE-ConnectionGUID: KMy4K6OJQcynpubjsyem3w== X-CSE-MsgGUID: 01kw4vocTECCVkffnlIYJg== X-IronPort-AV: E=McAfee;i="6800,10657,11777"; a="78897361" X-IronPort-AV: E=Sophos;i="6.23,217,1770624000"; d="scan'208";a="78897361" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2026 09:16:02 -0700 X-CSE-ConnectionGUID: XqOR7tqAQpiIwr7yhBnJRw== X-CSE-MsgGUID: wK4V7gWDSsKqfzhErXxP4g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,217,1770624000"; d="scan'208";a="229372259" Received: from igk-lkp-server01.igk.intel.com (HELO bdf09bfdbd5f) ([10.211.93.152]) by fmviesa009.fm.intel.com with ESMTP; 05 May 2026 09:16:01 -0700 Received: from kbuild by bdf09bfdbd5f with local (Exim 4.98.2) (envelope-from ) id 1wKIRC-000000006Gf-45On; Tue, 05 May 2026 16:15:58 +0000 Date: Tue, 05 May 2026 18:15:23 +0200 From: kernel test robot To: Boqun Feng Cc: oe-kbuild-all@lists.linux.dev Subject: [boqun:rust-sync 9/12] arch/x86/include/asm/preempt.h:126:25: error: expected string literal in 'asm' Message-ID: <202605051852.bzAFce8R-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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/boqun/linux.git rust-sync head: 082cc4c201e4450ff9456c9bd093fd70d103595a commit: 40c3e04e2248c0e5d78d23e6767a1c58d5678eac [9/12] preempt: x86: Avoid tracking NMI separately when 64BIT=y config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260505/202605051852.bzAFce8R-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) rustc: rustc 1.88.0 (6b00bc388 2025-06-23) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260505/202605051852.bzAFce8R-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/202605051852.bzAFce8R-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/x86/kernel/asm-offsets.c:9: In file included from include/linux/crypto.h:15: In file included from include/linux/completion.h:12: In file included from include/linux/swait.h:7: In file included from include/linux/spinlock.h:56: In file included from include/linux/preempt.h:92: >> arch/x86/include/asm/preempt.h:126:25: error: expected string literal in 'asm' 126 | return GEN_UNARY_RMWcc(IS_ENABLED(CONFIG_PREEMPT_LONG) ? "decq": | ^ include/linux/kconfig.h:73:28: note: expanded from macro 'IS_ENABLED' 73 | #define IS_ENABLED(option) __or(IS_BUILTIN(option), IS_MODULE(option)) | ^ include/linux/kconfig.h:24:22: note: expanded from macro '__or' 24 | #define __or(x, y) ___or(x, y) | ^ include/linux/kconfig.h:25:23: note: expanded from macro '___or' 25 | #define ___or(x, y) ____or(__ARG_PLACEHOLDER_##x, y) | ^ include/linux/kconfig.h:26:65: note: expanded from macro '____or' 26 | #define ____or(arg1_or_junk, y) __take_second_arg(arg1_or_junk 1, y) | ^ In file included from arch/x86/kernel/asm-offsets.c:14: In file included from include/linux/suspend.h:5: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:17: In file included from include/linux/fs.h:5: In file included from include/linux/fs/super.h:5: In file included from include/linux/fs/super_types.h:13: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 98 | return (set->sig[3] | set->sig[2] | | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/x86/kernel/asm-offsets.c:14: In file included from include/linux/suspend.h:5: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:17: In file included from include/linux/fs.h:5: In file included from include/linux/fs/super.h:5: In file included from include/linux/fs/super_types.h:13: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 98 | return (set->sig[3] | set->sig[2] | | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/x86/kernel/asm-offsets.c:14: In file included from include/linux/suspend.h:5: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:17: In file included from include/linux/fs.h:5: In file included from include/linux/fs/super.h:5: In file included from include/linux/fs/super_types.h:13: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:99:4: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 99 | set->sig[1] | set->sig[0]) == 0; | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/x86/kernel/asm-offsets.c:14: In file included from include/linux/suspend.h:5: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:17: In file included from include/linux/fs.h:5: In file included from include/linux/fs/super.h:5: In file included from include/linux/fs/super_types.h:13: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:101:11: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 101 | return (set->sig[1] | set->sig[0]) == 0; | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/x86/kernel/asm-offsets.c:14: In file included from include/linux/suspend.h:5: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:17: In file included from include/linux/fs.h:5: In file included from include/linux/fs/super.h:5: In file included from include/linux/fs/super_types.h:13: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 114 | return (set1->sig[3] == set2->sig[3]) && | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/x86/kernel/asm-offsets.c:14: vim +/asm +126 arch/x86/include/asm/preempt.h 118 119 /* 120 * Because we keep PREEMPT_NEED_RESCHED set when we do _not_ need to reschedule 121 * a decrement which hits zero means we have no preempt_count and should 122 * reschedule. 123 */ 124 static __always_inline bool __preempt_count_dec_and_test(void) 125 { > 126 return GEN_UNARY_RMWcc(IS_ENABLED(CONFIG_PREEMPT_LONG) ? "decq": 127 "decl", __my_cpu_var(__preempt_count), e, 128 __percpu_arg([var])); 129 } 130 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki