From patchwork Fri Feb 23 18:57:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 129478 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp984433edc; Fri, 23 Feb 2018 10:59:31 -0800 (PST) X-Google-Smtp-Source: AG47ELvgbnPFNT/vU/o92Q3uKQadnE30C9umnYwLiV2ko62oQU2343IBSQeV2R0lsk/9Qtx9aC4K X-Received: by 10.107.173.144 with SMTP id m16mr3057910ioo.32.1519412371614; Fri, 23 Feb 2018 10:59:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519412371; cv=none; d=google.com; s=arc-20160816; b=m4O6DRLriW0aDoq4HYl2igIx9eFDFcdtUVccLto11tcB4+wokTWpVkOWa/aKeO3DGQ UP7+U5AgeDHTxRlupjOGBuQAJbgytZvDAEV4e9ujrlinGKGLk9vZQu5EHHiucXvw9Cw2 HiJ8Tf9YpZP69UvC0YPFMVlErrY0S5l51/7+RayccTbMi6ZWtYyGZirGQGJnej0c+1Qo kyH1ihnaFI9WAPDQNk8iMGTU6kGq0o69GZgK5/kz2zQr4iHUTdDh+keZPwG1H8kdgwII WXqEM1xgLLhiZ2GSW1piW1kL5mxHMO6dU50vOj/PO+7bOuUyrdjA4BUQZFbG4jZxpsNf xQ8A== 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=NmnZE1YUDjZ/+w14RD/5GcqQHu+M0HsPtuTuzIdYrmto6ywegX5chuVI8Yp+f4AdUW sID7zG27HOyYRUSUT0iHvNXquIAod9rsHOq8h75cD8V0CAgeqLfniMzet/Ra5AubF3Sg e3tYGLEj2OCImZfvIf31Clc5/Rv72c4h8NlqHWvDiTLjrOqoIQKDwqB4BBSuvNJU73gv O+25crpuRHlLPqKzQC8hqjOd2JFjveKg1qHrCEAqUXflt7fdmPsD5/HoMysv3A+khFzL lBM7zzkJjaXY+GtY94Vb5kucQZdgWSxZsWxIfOzYVa9/hAnRo8NCUW93jn4t+m7yiyPF QYbg== 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 f142si1499866itd.132.2018.02.23.10.59.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Feb 2018 10:59:31 -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 1epIXn-0003KT-Qy; Fri, 23 Feb 2018 18:58:07 +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 1epIXl-00039P-Tt for xen-devel@lists.xen.org; Fri, 23 Feb 2018 18:58:05 +0000 X-Inumbo-ID: b4e41f88-18cb-11e8-b9b1-635ca7ef6cff Received: from foss.arm.com (unknown [217.140.101.70]) by us1-amaz-eas1.inumbo.com (Halon) with ESMTP id b4e41f88-18cb-11e8-b9b1-635ca7ef6cff; Fri, 23 Feb 2018 18:59:42 +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 4876D15AD; Fri, 23 Feb 2018 10:57:59 -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 15A983F25C; Fri, 23 Feb 2018 10:57:57 -0800 (PST) From: Julien Grall To: xen-devel@lists.xen.org Date: Fri, 23 Feb 2018 18:57:27 +0000 Message-Id: <20180223185729.8780-17-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180223185729.8780-1-julien.grall@arm.com> References: <20180223185729.8780-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 v5 16/18] 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; }