Received: by 10.223.185.116 with SMTP id b49csp6194008wrg; Thu, 8 Mar 2018 03:29:29 -0800 (PST) X-Google-Smtp-Source: AG47ELuCDxfscJaIJ8VtHCjcZOEX44T2sQqjWFwWhV/QvUEcS4X58MoeP7VeXuKOsz/Cc0hGSsuU X-Received: by 10.167.129.24 with SMTP id b24mr25944151pfi.183.1520508569016; Thu, 08 Mar 2018 03:29:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520508568; cv=none; d=google.com; s=arc-20160816; b=Lr1lb98Xm5Tn96jpYe63jrNdMnhd+k/cslh8Kwd56YfyQDoiN1StcTU9n3kCmfzW3A d1vIBHlS9lE9fuhB8BvGhxgFkBoibdJMbHJtgIF6esiSbxZAmzXdrSmeNUAqm07dmyeB TEIYZ0jg/Q1QfjSfvEERHXJAWtof6mOW3/Fy4//O5p2e/BigUCo3O9wREXRiBs36PDZR P81Kmx4YY/KaLBej20DTmQtzFOeJsItOQQOHaOkgAO6/9kLp34tyd2cIbQ5DyGtmLtty E4d1z44YwIq2FnYe/AlZG3g/FNo8oFYF5M8W9GHv+A2totL399sK31eWT1B4SGyqNSLf QqjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=0qvDV89HCK4zbAnD3PBnXziWjTfNGLbzvWfdojsgPMI=; b=Wx7X/Z3XNar2qoPNbwrDtg+nc/Od2c81zvPF507sF2e6rfQiWYy+XWQFH+IFhjz3Ng 7x59bamC2gBWlQAxXcp9CnhRDBDLhRCoQeXEgDdSwEIWQ6jGGykGSkde+mneeJQVtp2E E7YRHpm3ABnMiiE/cmGuZ3O3C5guKedqxufmwkndzS78KxAxUDPWGuWk9w2zVoD20Zbj L3PVhRuuDKOdno7q0DjsIP2OjAwX9/crKwal/gYOfvdKXimbKwwEkV9isAdTdRKm8KwC ZH2w2rdT+lIhFIRoQF+0Q/wv3hJanrW56SwXUqLKFLspsbDiwmYb+2XeKNbvOm1haA/b SVHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h13si12825238pgq.409.2018.03.08.03.29.14; Thu, 08 Mar 2018 03:29:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934377AbeCHL2R (ORCPT + 99 others); Thu, 8 Mar 2018 06:28:17 -0500 Received: from terminus.zytor.com ([198.137.202.136]:51607 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751374AbeCHL2P (ORCPT ); Thu, 8 Mar 2018 06:28:15 -0500 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTP id w28BRqgk028706; Thu, 8 Mar 2018 03:27:52 -0800 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w28BRpWg028703; Thu, 8 Mar 2018 03:27:51 -0800 Date: Thu, 8 Mar 2018 03:27:51 -0800 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Ralf Ramsauer Message-ID: Cc: mingo@kernel.org, ak@linux.intel.com, hpa@zytor.com, ralf.ramsauer@oth-regensburg.de, gayatri.kammela@intel.com, tglx@linutronix.de, linux-kernel@vger.kernel.org Reply-To: hpa@zytor.com, ak@linux.intel.com, mingo@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, gayatri.kammela@intel.com, ralf.ramsauer@oth-regensburg.de In-Reply-To: <20180307160734.6691-1-ralf.ramsauer@oth-regensburg.de> References: <20180307160734.6691-1-ralf.ramsauer@oth-regensburg.de> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/cpu] x86/cpuid: Switch to 'static const' specifier Git-Commit-ID: 52586b089cc12d4878e56ee98a4d110fa801758a X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 52586b089cc12d4878e56ee98a4d110fa801758a Gitweb: https://git.kernel.org/tip/52586b089cc12d4878e56ee98a4d110fa801758a Author: Ralf Ramsauer AuthorDate: Wed, 7 Mar 2018 17:07:34 +0100 Committer: Thomas Gleixner CommitDate: Thu, 8 Mar 2018 12:23:42 +0100 x86/cpuid: Switch to 'static const' specifier This is the only spot where the 'const static' specifier is used; everywhere else 'static const' is preferred, as static should be the first specifier. This is just a cosmetic fix that aligns this, no functional change. Signed-off-by: Ralf Ramsauer Signed-off-by: Thomas Gleixner Cc: Andi Kleen Cc: Gayatri Kammela Link: https://lkml.kernel.org/r/20180307160734.6691-1-ralf.ramsauer@oth-regensburg.de --- arch/x86/kernel/cpu/cpuid-deps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/cpuid-deps.c b/arch/x86/kernel/cpu/cpuid-deps.c index 904b0a3c4e53..2c0bd38a44ab 100644 --- a/arch/x86/kernel/cpu/cpuid-deps.c +++ b/arch/x86/kernel/cpu/cpuid-deps.c @@ -19,7 +19,7 @@ struct cpuid_dep { * called from cpu hotplug. It shouldn't do anything in this case, * but it's difficult to tell that to the init reference checker. */ -const static struct cpuid_dep cpuid_deps[] = { +static const struct cpuid_dep cpuid_deps[] = { { X86_FEATURE_XSAVEOPT, X86_FEATURE_XSAVE }, { X86_FEATURE_XSAVEC, X86_FEATURE_XSAVE }, { X86_FEATURE_XSAVES, X86_FEATURE_XSAVE },