From patchwork Thu Sep 21 12:40:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 113239 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp1845818edb; Thu, 21 Sep 2017 05:42:42 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDt4PTkTCzb6tnga0l5Xs33oadq0DsW6QZu7Jf2gMBbFm2pkQPZ16eJELqZQiE1ImnffUds X-Received: by 10.107.30.77 with SMTP id e74mr2701578ioe.277.1505997762707; Thu, 21 Sep 2017 05:42:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505997762; cv=none; d=google.com; s=arc-20160816; b=AL1XWdSCPnADzwM9t7ObIMI1c2pkgCdPSOOghOrdbnLDdmErOdOCkB3kECRd+nY+6V nUWXqBWIgKbuU2147UKdRuDj9EyZ+gvFND/LjOdhVczDo6P1G4VTkSrU6AnsYiUs0dZW tH8tO5fdQ57cagNLfpMqZwFQLmItaTQjfYYYyfnfKUpUVHOm9tgLz4Kaz3ZeO3Kxrtbi gqfKDAfPDzxY3luamL83jvIqihBDAUuUHWUgPq2weyDFks/QbihBqhoDQd2FPIe0EpZ9 Szn/pwnqY+86E8TYHiAyZUvq1ziA/j+dKCaMgHBy6rtsyk9WTNE4AmSo1ses24eUmblY RP2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:cc:references:in-reply-to:message-id:date:to :from:arc-authentication-results; bh=siMcxVkqcJeNGRCluSZWrme+k13ceKTTu3M5yXKhTd8=; b=Oe3DUNbz8Wbhxd4CQ/d60mRDyakLF+B/XUYt9dSoN8GjX2fBg8TgN6krpD5fog09sb LsAffT9uj/EBADmQcI7aJiD0idFeiiO7ljvdVd5OCpy3ZDW8pQVQe34pxuqvCDgwko34 rZSabU7miCUT5L+J9Jrv0xn1JlX+NAtMbRgfCGHBYVLHGkoD8nf/nJ9E1hEoL4WtrwcD RWiAwSN57RfTb6nbkGdiRovf/qPpnbH/WFKKQO6RuaYPMtE/IGumGhkRL7KBxSC+oE9x cJInGKTVmf8ZTX34Wvppfp1V8p7rh7QRW1P6O+CO485/yop77xeNwDxuvEW3tTf+LM0P vRDQ== ARC-Authentication-Results: i=1; mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id k34si1126890iod.151.2017.09.21.05.42.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Sep 2017 05:42:42 -0700 (PDT) Received-SPF: neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dv0n1-0001f5-8Q; Thu, 21 Sep 2017 12:41:11 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dv0n0-0001cV-Bk for xen-devel@lists.xen.org; Thu, 21 Sep 2017 12:41:10 +0000 Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id 44/EA-30935-563B3C95; Thu, 21 Sep 2017 12:41:09 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFLMWRWlGSWpSXmKPExsVysyfVTTdp8+F Ig4fnWCyWfFzM4sDocXT3b6YAxijWzLyk/IoE1oyplw4zF2xgr5j3czZbA+Nf1i5GLg4hgc2M Eu0vFjJCOKcZJboeLWLuYuTkYBPQlLjz+RMTiC0iIC1x7fNlsCJmgZ+MEoc/v2IBSQgLuEgsO XMRzGYRUJWY2XIAzOYVsJQ4cvkb2CAJAXmJXW0XWUFsTqB42+FvYLaQgIXErwknWCcwci9gZF jFqFGcWlSWWqRraKKXVJSZnlGSm5iZo2toYKqXm1pcnJiempOYVKyXnJ+7iRHoYwYg2MF49rT nIUZJDiYlUd4A98ORQnxJ+SmVGYnFGfFFpTmpxYcYZTg4lCR45/oA5QSLUtNTK9Iyc4DBBpOW 4OBREuFlAUnzFhck5hZnpkOkTjEac9x4eP0PE0fHzbt/mIRY8vLzUqXEeZeClAqAlGaU5sENg kXBJUZZKWFeRqDThHgKUotyM0tQ5V8xinMwKgnz7gaZwpOZVwK37xXQKUxAp2RvOABySkkiQk qqgXF69Hb7wOkFR0T6L0tveCx59OuM65zTbX6qrVV486DGZF//y/zu1QIMYbqR0mVfF5YKXxK QWRH9KebS25VOd09E2Eb8+BT+3PTokewgtcOPDu86qhIvrNpb9rU1aVpyntbZCzfjnJfen8s/ d6X+UtvW3z7LpgesEnhgXbQrrz3V29twb9itmUFKLMUZiYZazEXFiQDIhwbBfQIAAA== X-Env-Sender: julien.grall@arm.com X-Msg-Ref: server-13.tower-206.messagelabs.com!1505997665!97126729!1 X-Originating-IP: [217.140.101.70] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 43454 invoked from network); 21 Sep 2017 12:41:05 -0000 Received: from usa-sjc-mx-foss1.foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-13.tower-206.messagelabs.com with SMTP; 21 Sep 2017 12:41:05 -0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 346471682; Thu, 21 Sep 2017 05:41:05 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.206.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D22473F58C; Thu, 21 Sep 2017 05:41:03 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xen.org Date: Thu, 21 Sep 2017 13:40:35 +0100 Message-Id: <20170921124035.2410-17-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170921124035.2410-1-julien.grall@arm.com> References: <20170921124035.2410-1-julien.grall@arm.com> Cc: Tamas K Lengyel , Razvan Cojocaru , George Dunlap , Andrew Cooper , Julien Grall , Jan Beulich Subject: [Xen-devel] [PATCH v2 16/16] xen/x86: mem_access: Fix mis-indented line X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" Signed-off-by: Julien Grall Acked-by: Razvan Cojocaru --- Cc: Razvan Cojocaru Cc: Tamas K Lengyel Cc: George Dunlap Cc: Jan Beulich Cc: Andrew Cooper Changes in v2: - Patch added --- xen/arch/x86/mm/mem_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/mm/mem_access.c b/xen/arch/x86/mm/mem_access.c index 948e377e69..5c1008890e 100644 --- a/xen/arch/x86/mm/mem_access.c +++ b/xen/arch/x86/mm/mem_access.c @@ -274,7 +274,7 @@ int p2m_set_altp2m_mem_access(struct domain *d, struct p2m_domain *hp2m, } return ap2m->set_entry(ap2m, gfn, mfn, PAGE_ORDER_4K, t, a, - (current->domain != d)); + (current->domain != d)); } static int set_mem_access(struct domain *d, struct p2m_domain *p2m,