From patchwork Fri Feb 2 09:10:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 195717 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp302066dyc; Fri, 2 Feb 2024 01:11:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEHexGtFkVqudCz7wMFF9zA2hJMizUsE3+Yq03oty4nM2PtYks0W1en70mw1+IznpIONlKg X-Received: by 2002:a0c:e102:0:b0:68c:8279:3f34 with SMTP id w2-20020a0ce102000000b0068c82793f34mr2469736qvk.37.1706865110600; Fri, 02 Feb 2024 01:11:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706865110; cv=pass; d=google.com; s=arc-20160816; b=Tx6xeAx1EEdsiZjkMmXQ8wwL77pnKo5yhJIz7Ep/yhsovIcOt9UoVFRimO/G/xFIpy gsHbDPNOvY/9WiSVarXMFku+Ac93cWbgu5ua2ZffsReYy8iyd8l7DVpjYnL2h/lqUdMa snbwgooF+PUDHemYFfip/MbhL6KMWi9SDk/Gvv74CGc4sNFOVPRDJ695xakqnljdy6Lw 2aHq6zi99ERtU7FzLUtLKRXFyrSJqqPFYorm+J7oTIVoMuyj4kbKmwXnO5dzFON/UKHL sdFifOPROJ2DBlFMvlwuBtv/NHEoBrO5q6zCdGVHJkElDEG/lcmMh7yqmlYcpJDTAJEj kABw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=rFmzybAsJfE0cVsdsUehIbPmaxNb2tCDaeYPwTsVCSY=; fh=1NmN+Mu7waV47U6uz9k92pp9ztmxWasVZyLPEnqFpPA=; b=GiM80wYG9MNIu+8RYNGpMp6fQF2/ul31AMPzf9l6oyH+1Hji/x/x7CGcIEDW8OjbjU jkWpiRsnPElZ4S1jLXKKell+ZDslss5BrRTeHf2SZjwJ/qNHAZ5NrnBu+xQWM4Hgmr1Y sMj+/7WFctcB3w0CPHxh9tjT9wsiJ0y0xEea/jVZuhosfOsZkzJlQ2CgH3UNLcWbXvf7 CSvlR7tPntXUm5YIQNNSOSZTM1Q2FrxDxs8CRU8jC/ZK+IvGlRH6c6TX6zeB8C6ZXCqH nf11Mccz2G3xL/HhwaLx74qGTLXGBTAQ6O4uxEsY+/zUdImCSeUEWIdyBFathp5aBKRX ObkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ik5xPRN4; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-49535-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49535-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de X-Forwarded-Encrypted: i=1; AJvYcCWTK7EYZCrj8Mawh4sIrmu80LjkFvHDooYh8NSyAbI/BokUYjgtjoBeOX3uJ6Xv+B/vV4e67C1H46sPm0vMvM9WHefQVw== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d6-20020a0cf6c6000000b00683c7a006bcsi1568781qvo.376.2024.02.02.01.11.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 01:11:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49535-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ik5xPRN4; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-49535-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49535-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E26511C277F3 for ; Fri, 2 Feb 2024 09:11:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9118A7763B; Fri, 2 Feb 2024 09:10:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ik5xPRN4"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="9+50Y3iD" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 1FEE874297; Fri, 2 Feb 2024 09:10:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706865047; cv=none; b=K+n/k4qXzQeMAmlzf6HFsH0a5BKoCHbi8FA9asnX2GwQ2N4YrHOPcFW6rMBIyH+SFE22q8x3Oovpu5UafsOD1DRx1v0gScbxvmf2e3n+9KIFTFGrMZHYGwLtkr0GuV1dd941doXx9CwoQePuaJc55FMrsXSWYnr4nyqLO/T2ecQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706865047; c=relaxed/simple; bh=Mj2eWb37LuM66Dj95CdWDSuDwe5WJYgKCJAiwOQErps=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=J9f5hiJCkaChY9ploAuzm51tTf6VUzFe+Jc6s8Dp4nCTbgNeOrcMhjXMK2TGqzCNjtMNhNH6qyWJ3knt6B3vtB2xi59tsZ0LhXURGm+Xs/0IUMf8hj+ip6o2MRE/tlmgSq579a6uKmqOeEMLtDcFZWzENdvtwt5tQjbjPEbQk4o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ik5xPRN4; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=9+50Y3iD; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Fri, 02 Feb 2024 09:10:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1706865043; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rFmzybAsJfE0cVsdsUehIbPmaxNb2tCDaeYPwTsVCSY=; b=ik5xPRN4cmK7PvqdvkZ5D8hZzI2VgC8RDV/Cge/ovYrUNZg5XXJiEzZA19A2aEUq9BedMw og2Af0Rbh2X1PnodNY5VeEKUMlvpgQNKq1N2MshEYvuGyq0RoFgFCsB6oNb4Sb8yVx/6lf DVAdiEK7cSmTJe43i4plmTzXQLo9hdMIh8gpQjQS+VbyD9j+0PTl5acTRipopSw+yAmptO BjJDAdgDzJbyOSrRigfW9FgpHeDDOL0gC4530s36DaqWhhSFmQWAMQ0qyiFxI4HfwScWFg 3QvXukOIm0Lh5Ln/CryHIQn+TUgbOPmWY1Ye241Rdc/OaFZ+lg6m/LOy6+SQVQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1706865043; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rFmzybAsJfE0cVsdsUehIbPmaxNb2tCDaeYPwTsVCSY=; b=9+50Y3iDRkpaRCUgs0TPws9H3gDLx9qcPbhV88ZFRndsozK3ZMwDPWeHkm6Q2sxOXk8V2o pUVDEGxlu0nxLSAA== From: "tip-bot2 for Xin Li (Intel)" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/fred] x86/fred: Fix a build warning with allmodconfig due to 'inline' failing to inline properly Cc: Stephen Rothwell , "Xin Li (Intel)" , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240202090225.322544-1-xin@zytor.com> References: <20240202090225.322544-1-xin@zytor.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <170686504193.398.15699527281623271387.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789777790558906519 X-GMAIL-MSGID: 1789777790558906519 The following commit has been merged into the x86/fred branch of tip: Commit-ID: cba9ff33451162a6aa9b1424b32503354d7ef20e Gitweb: https://git.kernel.org/tip/cba9ff33451162a6aa9b1424b32503354d7ef20e Author: Xin Li (Intel) AuthorDate: Fri, 02 Feb 2024 01:02:24 -08:00 Committer: Ingo Molnar CommitterDate: Fri, 02 Feb 2024 10:05:55 +01:00 x86/fred: Fix a build warning with allmodconfig due to 'inline' failing to inline properly Change array_index_mask_nospec() to __always_inline because "inline" is broken as https://www.kernel.org/doc/local/inline.html. Fixes: 6786137bf8fd ("x86/fred: FRED entry/exit and dispatch code") Reported-by: Stephen Rothwell Signed-off-by: Xin Li (Intel) Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20240202090225.322544-1-xin@zytor.com --- arch/x86/include/asm/barrier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/barrier.h b/arch/x86/include/asm/barrier.h index 0216f63..fe1e7e3 100644 --- a/arch/x86/include/asm/barrier.h +++ b/arch/x86/include/asm/barrier.h @@ -33,7 +33,7 @@ * Returns: * 0 - (index < size) */ -static inline unsigned long array_index_mask_nospec(unsigned long index, +static __always_inline unsigned long array_index_mask_nospec(unsigned long index, unsigned long size) { unsigned long mask;