Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3010115ybi; Mon, 17 Jun 2019 14:36:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqxH3Q9L0/ye/+EOMjqui+sB1GfvWNhUqK2ZZw63npxaXaPdb3yQwvuaco31D60E/YEUNtOL X-Received: by 2002:a17:90a:8c90:: with SMTP id b16mr1165013pjo.133.1560807412054; Mon, 17 Jun 2019 14:36:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560807412; cv=none; d=google.com; s=arc-20160816; b=jk7NsuMdglftn3fmzW3huyfUsN0ApIshaiOhARH60Ot6O4hiMGtACYA5m8ZmT3Outz seRmRgDc4fm1Xz+J18ZD/0LsneKSsiBwJcUZoSVIbp/UzpPmyVfDRFSWO4FqpCLSEST6 H2sFpzPJdRis0WJMVaT9F/XyNoyUuSrqjgniVPtRNCtNFyJn/H6FWM2UgMjP28jk6NPH bbJzlk1FAvMIzGd+O+aRubpKcmA+zRRwkfb9qoyqdAdz9SNz+pTf0uaVGvm70lTxNIN1 v0tfBDchYFRrauSa3ooawy19MiTzGMoHe+nbUw9//pYs3xfZ9EyZJp4hPS9CqhAUY3BI Qk9A== 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=dpAWFbfcXYJG9rFCMuljym8POXqRtixA/YkScvjCGrA=; b=H9xA2fLpcMPXo2GaCFcSSr9m1G/DYZX+coZImnVL0NFQ5fWnsmz9efyDhXQbE1lOl9 1wvdoX28RT3KyOXgCXrUMOqOWtEQ5VUmtWA6ET1hORXIW5WSX0osYH+ii5BcC1/UQKY2 e/jIlVhBje1GPdMXXzFCrIJCxXc6dqmPViuNre/TUDqtVbESLxPuhlOddDJ6zAyMYe9f mWtJUU7653qTPXhsCJ3+0VXF0JGqUy/6EWepUOhgPOX3SCDkcn9IGPSOwvBBNRY1t3Qe YcMytg3d/1HSsLNRYd+sWYdCOfPnDC0KpmThKis0iSv81Kurw2dgTmd1IZVVocSk/de/ m06w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gEyCHbc3; 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 d67si10110057pgc.62.2019.06.17.14.36.37; Mon, 17 Jun 2019 14:36:52 -0700 (PDT) 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=gEyCHbc3; 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 S1729536AbfFQVWY (ORCPT + 99 others); Mon, 17 Jun 2019 17:22:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:46988 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729053AbfFQVWX (ORCPT ); Mon, 17 Jun 2019 17:22:23 -0400 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 DE14D20B1F; Mon, 17 Jun 2019 21:22:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560806542; bh=V74ppKiDPTtoJkVaUg5yrN9xHpa08o9+cO9Vl17UQhw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gEyCHbc3aoNy7PaNfWp68x3sMVxRMaqEplpCUV39x7UAKNgeD7Bfsj7vRXtgrNjqk 94TMQQqigCZNLOcn2VbQFNGEfU9cLm9SXKUQru5XC0syaWV2du/y9VThHgR3u5xf5Y VsqSxca7HqRvOgNbiXn2yc+3ZlrFyFzEhwVhNE04= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yi Wang , Paolo Bonzini , Sasha Levin Subject: [PATCH 5.1 086/115] kvm: vmx: Fix -Wmissing-prototypes warnings Date: Mon, 17 Jun 2019 23:09:46 +0200 Message-Id: <20190617210804.371263954@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190617210759.929316339@linuxfoundation.org> References: <20190617210759.929316339@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 [ Upstream commit 4d259965655c92053f3255aca14d81aab1e21219 ] We get a warning when build kernel W=1: arch/x86/kvm/vmx/vmx.c:6365:6: warning: no previous prototype for ‘vmx_update_host_rsp’ [-Wmissing-prototypes] void vmx_update_host_rsp(struct vcpu_vmx *vmx, unsigned long host_rsp) Add the missing declaration to fix this. Signed-off-by: Yi Wang Signed-off-by: Paolo Bonzini Signed-off-by: Sasha Levin --- arch/x86/kvm/vmx/vmx.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kvm/vmx/vmx.h b/arch/x86/kvm/vmx/vmx.h index f879529906b4..9cd72decdfe4 100644 --- a/arch/x86/kvm/vmx/vmx.h +++ b/arch/x86/kvm/vmx/vmx.h @@ -314,6 +314,7 @@ void vmx_set_nmi_mask(struct kvm_vcpu *vcpu, bool masked); void vmx_set_virtual_apic_mode(struct kvm_vcpu *vcpu); struct shared_msr_entry *find_msr_entry(struct vcpu_vmx *vmx, u32 msr); void pt_update_intercept_for_msr(struct vcpu_vmx *vmx); +void vmx_update_host_rsp(struct vcpu_vmx *vmx, unsigned long host_rsp); #define POSTED_INTR_ON 0 #define POSTED_INTR_SN 1 -- 2.20.1