From patchwork Thu Feb 15 15:02:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 128466 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1847035ljc; Thu, 15 Feb 2018 07:05:51 -0800 (PST) X-Google-Smtp-Source: AH8x225m5/uap+vJxwiGg37uv+TGyZNUpne7MohcUdy86l0TjDocJcTZmR+Xsy4ndkHWoqekyJZs X-Received: by 10.157.54.134 with SMTP id h6mr1877622otc.243.1518707150984; Thu, 15 Feb 2018 07:05:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518707150; cv=none; d=google.com; s=arc-20160816; b=OVsBnCPDolqWq/eri0Nm3VxhCMgCD+rjTWUEltsEhvP0luUX8IWCqiSr1S4zNQwIUg eo9Pq5v6MYiL7ey6TSs3jD76s4sG89B2rgu9XwnMMQJymECeXjvRrB6sxW9CkU5HuAuw WhAoJhxdaz0MF5aa3bLiafFk2BR5UKfDcRVjW49dLXio1CTpgvyx+c2hFzwfwPjyvFMZ AB5lhLedeCHV3DVt4Cj5aK8TkgksoxfSKOoH4VtenwvKcyyfbTxZj0yafcM5kHeuzB86 3UhCFWo5PNv1k6XE0lrTfvNydBC6NQq2aORBXQtTDVNPMgL6dF6N/Gue5d7SM1wHg9XI mizg== 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=yMZHhv3cygTgEtBBq22SIcF+sb9WycPtwWcSdEZ5Z30=; b=PBFNTWC750OppjiL4O0yAqpELNF9qiW2twPSYAntF8750KTHdWkC92XRsf+Gr7Pwd5 I11XRlaEJT03HcY9Rg92T7ilCOZedazGIWLdI6DciN50fm/0UUJ+Hfi8qy0QUgeS2WFk Mq8SQTKQKsmyIUY9qKpF9FxJxJu587hl7/scHRv/m4ywrUe/WF/sO7H8VfZjtvSBOk/9 E1VbRCQBtWVGeNN6lWlX/g3BNf6PO26VsUTp6e9yciOBZztiV3hLPgGGBgqHb4b5zfjx f/zhOojX+lNrIjIXydpqBHboo7wKFhJVy+mEujGhHu1D2IZqF1JT6OenhWaczUuy8k4w kbPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id t1si8610027itg.87.2018.02.15.07.05.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Feb 2018 07:05:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.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 1emL4I-0002Cp-Nt; Thu, 15 Feb 2018 15:03:26 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emL4H-00024N-Iw for xen-devel@lists.xen.org; Thu, 15 Feb 2018 15:03:25 +0000 X-Inumbo-ID: 89f45d75-1261-11e8-b9b1-635ca7ef6cff Received: from foss.arm.com (unknown [217.140.101.70]) by us1-amaz-eas1.inumbo.com (Halon) with ESMTP id 89f45d75-1261-11e8-b9b1-635ca7ef6cff; Thu, 15 Feb 2018 15:04:37 +0000 (UTC) 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 748E01610; Thu, 15 Feb 2018 07:03:19 -0800 (PST) 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 4193E3F41F; Thu, 15 Feb 2018 07:03:18 -0800 (PST) From: Julien Grall To: xen-devel@lists.xen.org Date: Thu, 15 Feb 2018 15:02:46 +0000 Message-Id: <20180215150248.28922-16-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180215150248.28922-1-julien.grall@arm.com> References: <20180215150248.28922-1-julien.grall@arm.com> Cc: Julien Grall , sstabellini@kernel.org, volodymyr_babchuk@epam.com, mirela.simonovic@aggios.com, andre.przywara@linaro.org Subject: [Xen-devel] [PATCH v3 15/17] xen/arm: vpsci: Update the return type for MIGRATE_INFO_TYPE X-BeenThere: xen-devel@lists.xenproject.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.xenproject.org Sender: "Xen-devel" >From the specification, the PSCI call MIGRATE_INFO_TYPE will return an int32_t. Update the function return type to match it. Signed-off-by: Julien Grall Cc: mirela.simonovic@aggios.com Reviewed-by: Stefano Stabellini --- Changes in v3: - Patch added --- xen/arch/arm/vpsci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/vpsci.c b/xen/arch/arm/vpsci.c index 7ea3ea58e3..9a082aa6ee 100644 --- a/xen/arch/arm/vpsci.c +++ b/xen/arch/arm/vpsci.c @@ -186,7 +186,7 @@ static int32_t do_psci_0_2_affinity_info(register_t target_affinity, return PSCI_0_2_AFFINITY_LEVEL_OFF; } -static uint32_t do_psci_0_2_migrate_info_type(void) +static int32_t do_psci_0_2_migrate_info_type(void) { return PSCI_0_2_TOS_MP_OR_NOT_PRESENT; }