From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (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 5CA2B143C69 for ; Thu, 24 Apr 2025 13:10:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745500215; cv=none; b=W2fwHg8ZhnypvPn19M3s8/vImg2PoKHueY9uo2x12PQEnkjF69o/A7wDS4ZsbxIDIEKwd9cgm20azQxGKKXydrCeraF6G/TRdheOs/1lAeuQforz/rQFbHJ49RFAdOeUv4LFgUHzKD2BAxWqn/aKcZV/m4E1KSvt8RKZJz5prOU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745500215; c=relaxed/simple; bh=t+kqhQ8zjyj6hoamaRD0dfY0RnjDAqG4DWy+wqVXpfw=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=NAI3FeiBSJ6Ck9myOrwecn2PzYo1i/756719syZ0f70P2+yQhAS7N675cNV7HQh4q4uV4ZKdm29RMQ33SzE0uRHY8TOGFTPmwuJuQXyO1CSAtlyfn5ky4k/Mo3AXlOj48Vm1xSipbe1hhi+edsTHq40OjfgSjfClpMjRkgKmYm8= 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=bYXr5r3Z; arc=none smtp.client-ip=192.198.163.12 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="bYXr5r3Z" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1745500213; x=1777036213; h=date:from:to:cc:subject:message-id:mime-version; bh=t+kqhQ8zjyj6hoamaRD0dfY0RnjDAqG4DWy+wqVXpfw=; b=bYXr5r3Zd/q3KtnhCXupk3JWjL1hPBCBaNr1oeUu3qpMysz2D+dBs9Z2 KBEq3D6r8DxMf7zFRAvqMkSFepqmobsxBofkQDJ7/lxALdqI6Ledzky6/ HD3Mcq9XgKTTdfOevNcDhaEN2dPcp0/97DLmQUrsO/A7P37JU0UK/36v/ 6y1f7y+aiDeHkZZJHfWNR5iQKSD4v9U15WDHArRgKkSuHz699EH3j0BPd CU6kz/KMFBzgBEyHfWqTMn4hhfM6OLagnmGClzrRs6+K3uebIFhr8lsdG L+fW4R8VRVeW2LVYJMJKwyKARlDX22BI1p3/moFzshb66kms/I54BSa77 g==; X-CSE-ConnectionGUID: ggIdoE+qSmSpLidD2Z1C5A== X-CSE-MsgGUID: iKPgu8JHTjWFcXvnGQUVgw== X-IronPort-AV: E=McAfee;i="6700,10204,11413"; a="50952269" X-IronPort-AV: E=Sophos;i="6.15,236,1739865600"; d="scan'208";a="50952269" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2025 06:10:12 -0700 X-CSE-ConnectionGUID: 4LbGoBb0SBudxoHYq89cYg== X-CSE-MsgGUID: 38pKOJmBQNCh5WdqJBHf8Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,236,1739865600"; d="scan'208";a="137786583" Received: from lkp-server01.sh.intel.com (HELO 050dd05385d1) ([10.239.97.150]) by orviesa005.jf.intel.com with ESMTP; 24 Apr 2025 06:10:11 -0700 Received: from kbuild by 050dd05385d1 with local (Exim 4.96) (envelope-from ) id 1u7wLA-0004BD-2q; Thu, 24 Apr 2025 13:10:08 +0000 Date: Thu, 24 Apr 2025 21:09:29 +0800 From: kernel test robot To: Xin3 Li Cc: oe-kbuild-all@lists.linux.dev Subject: [xinli-intel-fred-public:rdpmc_cleanup 13/15] arch/x86/include/asm/paravirt.h:222:42: error: expected ';' after return statement Message-ID: <202504242104.GLkmfAgP-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 Hi Xin, FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant. tree: https://github.com/xinli-intel/linux-fred-public.git rdpmc_cleanup head: 448cff07071d38679de7f67d6c0299cd39fd5b79 commit: d5f99d27d1e74f7ac465dd61638ef5ee99a1c591 [13/15] x86/msr: refactor pv_cpu_ops.write_msr{_safe}() config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20250424/202504242104.GLkmfAgP-lkp@intel.com/config) compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250424/202504242104.GLkmfAgP-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/202504242104.GLkmfAgP-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:59: In file included from include/linux/irqflags.h:18: In file included from arch/x86/include/asm/irqflags.h:102: >> arch/x86/include/asm/paravirt.h:222:42: error: expected ';' after return statement 222 | return paravirt_write_msr_safe(msr, val) | ^ | ; In file included from arch/x86/kernel/asm-offsets.c:10: In file included from include/crypto/aria.h:22: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/x86/include/asm/elf.h:10: In file included from arch/x86/include/asm/ia32.h:7: In file included from include/linux/compat.h:17: In file included from include/linux/fs.h:34: 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:10: In file included from include/crypto/aria.h:22: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/x86/include/asm/elf.h:10: In file included from arch/x86/include/asm/ia32.h:7: In file included from include/linux/compat.h:17: In file included from include/linux/fs.h:34: 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:10: In file included from include/crypto/aria.h:22: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/x86/include/asm/elf.h:10: In file included from arch/x86/include/asm/ia32.h:7: In file included from include/linux/compat.h:17: In file included from include/linux/fs.h:34: 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:10: In file included from include/crypto/aria.h:22: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/x86/include/asm/elf.h:10: In file included from arch/x86/include/asm/ia32.h:7: In file included from include/linux/compat.h:17: In file included from include/linux/fs.h:34: 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:10: In file included from include/crypto/aria.h:22: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/x86/include/asm/elf.h:10: In file included from arch/x86/include/asm/ia32.h:7: In file included from include/linux/compat.h:17: In file included from include/linux/fs.h:34: 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:10: In file included from include/crypto/aria.h:22: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/x86/include/asm/elf.h:10: In file included from arch/x86/include/asm/ia32.h:7: In file included from include/linux/compat.h:17: In file included from include/linux/fs.h:34: 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:27: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] vim +222 arch/x86/include/asm/paravirt.h 219 220 static inline int wrmsrq_safe(u32 msr, u64 val) 221 { > 222 return paravirt_write_msr_safe(msr, val) 223 } 224 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki