Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp895997rwb; Fri, 13 Jan 2023 05:37:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXumj1I3HgkBuOul2pvUSshS2ewEfISFMDIBMm5G/y7M1bhkxKX+O6RziN9qZi+TONhAVPz/ X-Received: by 2002:a17:906:81b:b0:869:a799:1f85 with SMTP id e27-20020a170906081b00b00869a7991f85mr2768165ejd.76.1673617053361; Fri, 13 Jan 2023 05:37:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673617053; cv=none; d=google.com; s=arc-20160816; b=i1LzH+WSpjNrTR418Kg0E5zJvfCeGpyvUKHiHvqD7ojfiJvV/H9V7PWbiPKRgo/Wuc SIrmAjwob4zmtpuVXI8Nl3RdMFY/NdI0MfBMWHpX39a3AO6+bA6YQVrOtlGnB4bZslE5 URtySzFaA0NMwiIEB2j/8vEm0IgS3pTwrx7IxVzTlwXTQw0m9VjQeiQ137HTvwv2VUaO LGvz2rvbscsmRgGzv+6Z2UleSAQdkf3eJa6x23urhHu7z8h3KBHB/ZiIlmDtPLW2beM7 oKOxih1G5xewqgrEbcSTsKj7R9dZtbFk0/KTyszjHlAULaveth7C2k82TMEDLeY3iH7Y VZow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=MRqZSCf310uDIoRQJsZluDgDLtqjjl4MfZbVq0/WJfs=; b=unYQCPM9Bt3rZF1Y8jg7Xr26KDHZK1D0fg9prORVTkgKvDvIj76K13UFSASu1sp22A nl1tFT/4d4hOgnY4hEVLOrzHJyPTyf0LN4tx6x4MO6q7JXX9adPWCtEucUHq17XkMggZ wWq143OnpKxZVFc9R3hXLTKcjfpNNHgyr9hJXS/JfqFjqHvCl0/dCmhzU4HjAWIKkark +SqD7530lcOMN2pZ7WFDRblSzbko+w+0KRBLdLS8EGGg5gU4xBrWZsT5WFBrYXsb5Wji LnSDdhf9vxopi73KB9cr4YHATBo84s3YNSNTZi6iyy19oyrQn2Zfo/71kcNTOM66JZ92 +JYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=PIFXMaLo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f13-20020a0564021e8d00b0049d221b4b39si239231edf.187.2023.01.13.05.37.21; Fri, 13 Jan 2023 05:37:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=PIFXMaLo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241572AbjAMNNx (ORCPT + 51 others); Fri, 13 Jan 2023 08:13:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241836AbjAMNNc (ORCPT ); Fri, 13 Jan 2023 08:13:32 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AF53872BA for ; Fri, 13 Jan 2023 05:01:34 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 0DF7767B3E; Fri, 13 Jan 2023 13:01:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1673614892; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=MRqZSCf310uDIoRQJsZluDgDLtqjjl4MfZbVq0/WJfs=; b=PIFXMaLoOG/ZkZwyW3lu6mYJS/FrGJaZyTCfcjTeah9XQz1dgq10Pu424lZfEY9ziSqCKx uNobvkc/bi1Zu9dEkOo+yrt5kvlC8nSYtmpSgMmO4gM6NCe7TnC9LFjWeRVil/5hq2F+pF DGveNM6BbTlnWTVhSuAfOjg+26up/SA= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id BD4C513913; Fri, 13 Jan 2023 13:01:31 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Cz7RLCtWwWMfaAAAMHmgww (envelope-from ); Fri, 13 Jan 2023 13:01:31 +0000 From: Juergen Gross To: linux-kernel@vger.kernel.org, x86@kernel.org Cc: Juergen Gross , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" Subject: [PATCH] x86/cpu: remove misleading comment Date: Fri, 13 Jan 2023 14:01:26 +0100 Message-Id: <20230113130126.1966-1-jgross@suse.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The comment of the "#endif" after setup_disable_pku() is wrong. As the related #ifdef is only a few lines above, just remove the comment. Signed-off-by: Juergen Gross --- arch/x86/kernel/cpu/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index 9cfca3d7d0e2..7670397438c6 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -567,7 +567,7 @@ static __init int setup_disable_pku(char *arg) return 1; } __setup("nopku", setup_disable_pku); -#endif /* CONFIG_X86_64 */ +#endif #ifdef CONFIG_X86_KERNEL_IBT -- 2.35.3