From patchwork Fri Oct 6 13:57:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrew Cooper X-Patchwork-Id: 13411629 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 lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 DB593E81DFE for ; Fri, 6 Oct 2023 13:58:03 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.613646.954311 (Exim 4.92) (envelope-from ) id 1qolL0-0007BC-G6; Fri, 06 Oct 2023 13:57:54 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 613646.954311; Fri, 06 Oct 2023 13:57:54 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qolL0-0007B5-Cx; Fri, 06 Oct 2023 13:57:54 +0000 Received: by outflank-mailman (input) for mailman id 613646; Fri, 06 Oct 2023 13:57:53 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qolKz-0007Ax-8G for xen-devel@lists.xenproject.org; Fri, 06 Oct 2023 13:57:53 +0000 Received: from esa2.hc3370-68.iphmx.com (esa2.hc3370-68.iphmx.com [216.71.145.153]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 55ec0011-6450-11ee-98d3-6d05b1d4d9a1; Fri, 06 Oct 2023 15:57:51 +0200 (CEST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 55ec0011-6450-11ee-98d3-6d05b1d4d9a1 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1696600671; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=udLcDi6gbiqFXrXjQqc3tJTVg6LavLN9WYX7Nea8UKw=; b=RAO+IozJbKFMQFlTkj5eEGDCt5VbSc/QNYkbSmTokD//PBtEdKDsOqHJ UCKDs7M7ye4iEjy/DH2ym37Nl7Z0wj28GSC/Yx2UPZilJXcA5gJOso0sh j1T/pPQxfjdEBu4lOHF9nPgyPgHKYplPP9nQpvAtJVSCRAxgnJRiyUTOo w=; X-CSE-ConnectionGUID: dnYV5AdTRVS3xDjQysEu0w== X-CSE-MsgGUID: s9N7m4CWROeEoOEf7aaJBQ== Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 4.0 X-MesageID: 124695506 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.159.70 X-Policy: $RELAYED X-ThreatScanner-Verdict: Negative IronPort-Data: A9a23:IC7kp6syL6txf3GV1+jX2DrCoefnVHpeMUV32f8akzHdYApBsoF/q tZmKWHSO6uMZmGkKdt+aN6+9EwG7ZPWnYU1SFM+pHgyQnwS+JbJXdiXEBz9bniYRiHhoOCLz O1FM4Wdc5pkJpP4jk3wWlQ0hSAkjclkfpKlVaicfHg3HFc4IMsYoUoLs/YjhYJ1isSODQqIu Nfjy+XSI1bg0DNvWo4uw/vrRChH4rKq41v0gnRkPaoQ5QeGySFMZH4iDfrZw0XQE9E88tGSH 44v/JnhlkvF8hEkDM+Sk7qTWiXmlZaLYGBiIlIPM0STqkAqSh4ai87XB9JFAatjsB2bnsgZ9 Tl4ncfYpTHFnEH7sL91vxFwS0mSNEDdkVPNCSDXXce7lyUqf5ZwqhnH4Y5f0YAwo45K7W9yG fMwJDY8UE2qi96M/ongWsVuv9U4AdSzI9ZK0p1g5W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SEPml2f8IXapEkt0EKLAHA== X-Talos-MUID: 9a23:voF+vA4LHSf1KmovoObeMxMXxoxzsoLxDRwmrq8htuSDEgF+ZD6Urh6OF9o= X-IronPort-AV: E=Sophos;i="6.03,204,1694750400"; d="scan'208";a="124695506" From: Andrew Cooper To: Xen-devel CC: Andrew Cooper , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Wei Liu , Tamas K Lengyel , Henry Wang Subject: [PATCH for-4.18] x86/memshr: Fix build in copy_vcpu_settings() Date: Fri, 6 Oct 2023 14:57:45 +0100 Message-ID: <20231006135745.1038947-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 The last user of this variable was dropped. Fixes: 295514ff7550 ("common: convert vCPU info area registration") Signed-off-by: Andrew Cooper Reviewed-by: Roger Pau Monné --- CC: Jan Beulich CC: Roger Pau Monné CC: Wei Liu CC: Tamas K Lengyel CC: Henry Wang I expect Gitlab randconfig to find this eventually, but it does depend on CONFIG_MEM_SHARING being active to manifest. --- xen/arch/x86/mm/mem_sharing.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/x86/mm/mem_sharing.c b/xen/arch/x86/mm/mem_sharing.c index 5217c755a299..94b6b782ef2e 100644 --- a/xen/arch/x86/mm/mem_sharing.c +++ b/xen/arch/x86/mm/mem_sharing.c @@ -1706,7 +1706,6 @@ static int copy_vcpu_settings(struct domain *cd, const struct domain *d) { unsigned int i; int ret = -EINVAL; - mfn_t vcpu_info_mfn; for ( i = 0; i < cd->max_vcpus; i++ ) {