[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XEN v6 09/12] xen/arm: pci: Use 'uint64_t' as the datatype for the function parameters.


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Fri, 28 Apr 2023 18:55:40 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aVRoIcVr9qIryp7aBKt+Cf5kSuhKxlTPFt/EQaROMMA=; b=WgIRelK+J3NITr5k+RIFXZdX+LtSg92rECCDtMQlr/OvAAGa/YLI0EC8wiGYhO0cLMUDTW3cp8Cp4OO57HM+869CANaSOgBIVqo6Xv5QoJAFQtA0EvUqzlnDpPdX7TkaI+/tE/eQzXLpPL2Y0U/UALRwMVVCDJW/BhyZdzteeKKb1Gu5wDTwUsip/rxhIqWIQrVnJMeGa3W8jdXazgs0khglldxIgjzMjDNm2rWfmktiZcKpERzfAgd2a3rQHoC+MEcjdur9WeRT4aEkk0m15UibrHoWZjR6Q+LLPB1dOXoVwaF4vbLDpiUmFZEvZ5xLFtLBDELQrLxZnaO1EMCelA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CtX7F0/Sv6FUz9DPXDsb5qskn+XhgEyne1KJwZnnRqfkIyrj0BHe3j2h5f757NDkmdEBwpC481/wwKcLxM1o9TM4Qe3trN+VJz2UeJFao+ltsnKJJIB9Yq11yv8kR6H2D1SWauByNMt1fYmkqYqacDSGEb2PpeR6py1yekeau7cYSpnBHYfUCfgwMNgI3XzpFjDIHWVFWWmjV9p8H7WVvaz6ZcbRAVp1Zdh0YnKbFyMG3JCYSC+LmM2JHxmDRwHTF2SSEmoskL3ngzlrT3+W0Qpd/bJDw/RcdQJPH8+2PU6KXmfLgswYamMvA30MkDuypPeypbNZe3F2lb9DjFJe1w==
  • Cc: <sstabellini@xxxxxxxxxx>, <stefano.stabellini@xxxxxxx>, <julien@xxxxxxx>, <Volodymyr_Babchuk@xxxxxxxx>, <bertrand.marquis@xxxxxxx>, <andrew.cooper3@xxxxxxxxxx>, <george.dunlap@xxxxxxxxxx>, <jbeulich@xxxxxxxx>, <wl@xxxxxxx>, <rahul.singh@xxxxxxx>, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Delivery-date: Fri, 28 Apr 2023 17:59:15 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

As the callback function in dt_for_each_range() uses 'uint64_t' as the datatype
for the arguments, so one needs to change the type of parameters in
is_bar_valid() as well.

Signed-off-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
---
Changes from :-

v1-v5 - New patch introduced in v6.

 xen/arch/arm/pci/pci-host-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/arm/pci/pci-host-common.c 
b/xen/arch/arm/pci/pci-host-common.c
index 5550f9478d..de915aa590 100644
--- a/xen/arch/arm/pci/pci-host-common.c
+++ b/xen/arch/arm/pci/pci-host-common.c
@@ -379,7 +379,7 @@ int __init pci_host_bridge_mappings(struct domain *d)
  * right place for alignment check.
  */
 static int is_bar_valid(const struct dt_device_node *dev,
-                        paddr_t addr, paddr_t len, void *data)
+                        uint64_t addr, uint64_t len, void *data)
 {
     struct pdev_bar_check *bar_data = data;
     paddr_t s = bar_data->start;
-- 
2.17.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.