From patchwork Tue Mar 8 19:18:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Link Mauve X-Patchwork-Id: 12774283 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A6E9DC433EF for ; Tue, 8 Mar 2022 19:29:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=C7HFylxThuApEYUIi/agjcXVbEoyNc1YY+4U2Ch1lmo=; b=zeIKXnnPovT33p s/r2qmKfva5PqF/YhU0lQJjlpvAGTWLFYjdfPjkux+CEyhobKmDIUg3kn59uQI51QAaFSpizV9rth 4SMAmzi18klvNJ89vIQ+GUkgrAGSBlUXdvd8qaEk+i5DySWQbNAyxOJ0mEwVkg1GRgTHqYTmOjE6L Y6KkoU1eAg9EQgkGZlpnHRRmj8PUaPW+Yydxz2O0ok6+RobONtm0WPkTG1lLPNNPvsumve3U/M0kr Fqd5ORxlM2256JyMB9L5903d5UNVGHIMbaJjIk61R9uw1Yjj+eXgDMoaS2zgfu9vXPbYWaQJen7hg r2MzfddryW44NPRwCZJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRfVV-0061EG-KN; Tue, 08 Mar 2022 19:28:29 +0000 Received: from [2a01:e0a:828:c7c0:49:5ff:fe41:d261] (helo=luna.linkmauve.fr) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRfVR-0061D6-Tg for linux-arm-kernel@lists.infradead.org; Tue, 08 Mar 2022 19:28:27 +0000 Received: by luna.linkmauve.fr (Postfix, from userid 1000) id B18F3F418F8; Tue, 8 Mar 2022 20:18:29 +0100 (CET) From: Emmanuel Gil Peyrot To: Russell King , Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Emmanuel Gil Peyrot Subject: [PATCH] ARM: fix compilation error when BPF_SYSCALL is disabled Date: Tue, 8 Mar 2022 20:18:20 +0100 Message-Id: <20220308191820.18270-1-linkmauve@linkmauve.fr> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220308_112826_127383_9242A3FC X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org It was missing a semicolon. Fixes build error introduced in 25875aa71dfefd1959f07e626c4d285b88b27ac2. Signed-off-by: Emmanuel Gil Peyrot Reviewed-by: Nathan Chancellor --- arch/arm/kernel/spectre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/kernel/spectre.c b/arch/arm/kernel/spectre.c index e7fea962d632..0dcefc36fb7a 100644 --- a/arch/arm/kernel/spectre.c +++ b/arch/arm/kernel/spectre.c @@ -10,7 +10,7 @@ static bool _unprivileged_ebpf_enabled(void) #ifdef CONFIG_BPF_SYSCALL return !sysctl_unprivileged_bpf_disabled; #else - return false + return false; #endif }