From patchwork Fri Feb 23 16:47:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 129472 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp816168lja; Fri, 23 Feb 2018 08:52:25 -0800 (PST) X-Google-Smtp-Source: AH8x225yPxXOBWC75oVPBZ+wb9XOk1bGLyT3EmW83PRvvJvpbIXbTcts+XRPKQUKSqIMR9negAW8 X-Received: by 10.36.236.130 with SMTP id g124mr3274609ith.68.1519404745787; Fri, 23 Feb 2018 08:52:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519404745; cv=none; d=google.com; s=arc-20160816; b=l0G7V7HE8xInKUyIg63dZvVf52rViFldM6+OJKtV+kgrnICX7nShIxxU2SAwg+9n66 wsLE03G1s5Ab707cqrDm5RoiqoBM5LxvbG3KadPolFMSiezhsN6MXeyyXH0PFLVg0Cg2 ChjpCmv9nqplx+NFKxDpQyrlT7CP8LC2IfaqC6YyuK4qKOBMuP4U4yZzAp02Cfu8depn 3qVLljUE4K9Hd2/A15b4YaZltQUxsg+HP0iuuOmTjI2nnZ0IrWB5of3l8BTR9cNnF8rM Uv0xQijOQL4dYsYbgViYzZkq29FudsP2GzhtOGZJusFZ6f2LJeRXoNSQN8NU8hpZa/cI g5iQ== 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=/8cUjQBSqO2GBfXzEn8HJlfpvG8hnKMJYS7fILlA8Dw=; b=bjaSrCw6Vvwd1j/07NVUkjvGYvdqXMp1SYGYFajniGTVawR6cvESzk61kSCVpxqJb2 VKQyhv6NmrJvuuDMyf0e4uRf/JCGxppuxScOMA1qN1ZaviGKoLbS5hVKn8G4tSa4AKQW ZmMBGYYh9sgRvl7uriQ9kq61yEtrdQYvO/e+Yz+2abA7mi1UevnCLlSiaG2DP1/z1TmP AuwTzxVGZCPFVV+U5O3ISCdsjrYNjYjAIpRFoT7AdH30klb9ER/uqSlrq1QqYKF5eMkX M0RDiGTuCPR+cTzc/3ryqrxqZZt7Udtyq+pXvsM5QtWHigJhN/Gs7QxFx+QJtmfwBm3g AtRQ== 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 t91si632494ioe.119.2018.02.23.08.52.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Feb 2018 08:52:25 -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 1epGYv-0005eV-6S; Fri, 23 Feb 2018 16:51:09 +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 1epGYt-0005dA-I4 for xen-devel@lists.xen.org; Fri, 23 Feb 2018 16:51:07 +0000 X-Inumbo-ID: 9d4a0072-18b9-11e8-b9b1-635ca7ef6cff Received: from foss.arm.com (unknown [217.140.101.70]) by us1-amaz-eas1.inumbo.com (Halon) with ESMTP id 9d4a0072-18b9-11e8-b9b1-635ca7ef6cff; Fri, 23 Feb 2018 16:50:12 +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 09C1E15AD; Fri, 23 Feb 2018 08:48:29 -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 CAB2E3F25C; Fri, 23 Feb 2018 08:48:27 -0800 (PST) From: Julien Grall To: xen-devel@lists.xen.org Date: Fri, 23 Feb 2018 16:47:51 +0000 Message-Id: <20180223164753.27311-18-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180223164753.27311-1-julien.grall@arm.com> References: <20180223164753.27311-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 v4 17/19] 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 Reviewed-by: Stefano Stabellini Cc: mirela.simonovic@aggios.com --- Changes in v4: - Add Stefano's reviewed-by 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; }