Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp817629ybl; Wed, 11 Dec 2019 07:59:24 -0800 (PST) X-Google-Smtp-Source: APXvYqzIn4qeh6uwi8EVBdPANrY7I4tnjrx6feuP5mxxFNJqdnvsFrAAhNbXatKmndPWZZrN4fuY X-Received: by 2002:a9d:76c5:: with SMTP id p5mr2954250otl.61.1576079964224; Wed, 11 Dec 2019 07:59:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576079964; cv=none; d=google.com; s=arc-20160816; b=lOF3YQLYEaPEigRdzNQziwQvO9+ixS5Nyx6xh79k9ETueBkhRKZf7mzec6KgAo6d15 f1ByH78WrGS0VaAoDIBOsH6qIMUr2fkURAkDqGbzdGXGs0J28NnZ+ivceTzqlah8fWEB zbRjUL8/ZYVGJcW07iCU6j+eIIEuY9CPTdNaeLSG3uvTOaP6Wzq/t4b6glsAusL7qmp/ Z4YJff3c4sMZf+F1u5puugEfDHegSUOWemNbe9/kFo4O8O32AeMHPfebtfAI4OdZrqG1 K2L9tH3jcleFhjasD3qn7nFxYx/fskvFTm9AbBakpZKqJYdBqUEZYmxWPpjVWdnMRe9n 5QMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=/fDULzR+bezrxC8u/aOZpiJCM/qD/b+gZsOlAA4KqlM=; b=hiwV7HPV0IleruAXBBCbZ/k9f4CpTNUDss60bgJwYthfvugTZ/cRem+rlfDDX6VNjQ jVl3VVxRhDdKu+tQxxbF62alP6ZgdLyxRjZxN9fl0OIDkRHgBt6/gCpQd93lI3rq5cux aE0tI0SDUM/DQ3qYJxBsn0BmGw+a4EroLgg3RZ/iWrayoixXOkV2hidJdY0RCxuo5CRd 9uci4vqX/JTw3G4gGYSohJKlYR637mduD1BKGPWYfwwR3hFcxPGxtCswZMfg9Xj0SBJh thTtZm80MhF+DDlsqMJ+foL0E32/mmnrsXha9lYQ3l6qqPwdpSSfayHSZkWXFEnzG1SP claQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XXztKYCx; 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 m8si1251352oim.180.2019.12.11.07.59.12; Wed, 11 Dec 2019 07:59:24 -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; dkim=pass header.i=@kernel.org header.s=default header.b=XXztKYCx; 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 S1732121AbfLKP6K (ORCPT + 99 others); Wed, 11 Dec 2019 10:58:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:40218 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731647AbfLKPOj (ORCPT ); Wed, 11 Dec 2019 10:14:39 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C943124654; Wed, 11 Dec 2019 15:14:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576077279; bh=4aSin8pIKwx0oLzv+cVii80JV7hNKD07wusy0JpkXGc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XXztKYCxTBVI1gGHaEPi/xURwl9F7QcrWRefH/Gr6x8bgdhtoNZ1JgRYkRg3l+VIt WnBp/TbVw69fw08VJlwnRiIv6Yy6Ov278+pEHbC6do9p6qPSDdpEA6NO8NnF7ZeJom SZKGMhZMsqr1ZZ+dEU+/JxP6KQec4wONZY6LtCuo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sean Christopherson , Jim Mattson , Paolo Bonzini Subject: [PATCH 5.3 083/105] KVM: x86: Remove a spurious export of a static function Date: Wed, 11 Dec 2019 16:06:12 +0100 Message-Id: <20191211150258.542411204@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191211150221.153659747@linuxfoundation.org> References: <20191211150221.153659747@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Christopherson commit 24885d1d79e2e83d49201aeae0bc59f1402fd4f1 upstream. A recent change inadvertently exported a static function, which results in modpost throwing a warning. Fix it. Fixes: cbbaa2727aa3 ("KVM: x86: fix presentation of TSX feature in ARCH_CAPABILITIES") Signed-off-by: Sean Christopherson Cc: stable@vger.kernel.org Reviewed-by: Jim Mattson Signed-off-by: Paolo Bonzini Signed-off-by: Greg Kroah-Hartman --- arch/x86/kvm/x86.c | 1 - 1 file changed, 1 deletion(-) --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -1303,7 +1303,6 @@ static u64 kvm_get_arch_capabilities(voi data &= ~ARCH_CAP_TSX_CTRL_MSR; return data; } -EXPORT_SYMBOL_GPL(kvm_get_arch_capabilities); static int kvm_get_msr_feature(struct kvm_msr_entry *msr) {