From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4038643A2A; Wed, 7 Feb 2024 04:14:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47B6642DDA; Wed, 7 Feb 2024 04:14:25 +0100 (CET) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2071.outbound.protection.outlook.com [40.107.102.71]) by mails.dpdk.org (Postfix) with ESMTP id 9610842DC9 for ; Wed, 7 Feb 2024 04:14:22 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ADQdRp9uexAXwtKW7yCqohR3C4S6nQIfiUBrCn18g5wf50G4L6Fql9edrLUSktubVC2RVNOgDQsCHeD71A7pK7TkMLLMmAR9puHYCcNAPmasxe3E9nxxkCsMqJJveSKw85f6l3EpAI8AqDnycw8rBr8L4IZh6vRNWM14zThOsCVdVeviHitLdjvnp/TiM6oVNtVFFjjgGur6b0iiDNt2d6kGEERLJUhA2LZa+G0DFV3CoV4ya1c+3H7NNxVEpG7FSGQu6jOzY+GQntsmFpl+/Q5BVh1TLwItMohfE5LTg8y9BPkeapCR5A5aTfGWggiPcCsV74XzNpagAG5oFZ19cg== 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=8RupnZ6K7Mo4qbzkB1Rcgrksg0HfqoRh3Hny9QpcZjE=; b=a3On1CPKA1o0sO5GzElCdpVO7PaT8iQMqT7kG77MoJWyGk0Ni89zLutm9eBNK38tfvMhBFobd6eeZUkir4N/kikiMGJv2T5iFADU76kn1Jfly0KGg5rQqjXNLNpmFEAtin9LN7SrhiEeYvN5I4H2fao6ahr3SSKZeroqNlqGoEEkSQSbmTNaR4QqGxiNvUorE8R5B/Pq8N9xxCo6Ai6s4XhUwn2ZboLvMSQGy6V53QNB+TC1XwLMUBrP5v7egg1BkXrXLuyqtRLEdYjUGW68Y44H+u1XBuNSTV9aC9LtuiGGtPm+KiBDjRjBqisBIcQqchxFmVFyGJ8bfwkB1IDWYA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=dpdk.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 (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8RupnZ6K7Mo4qbzkB1Rcgrksg0HfqoRh3Hny9QpcZjE=; b=RBHFQvlsN4Evn9PXrx0dYdwF2HsHA8Fgfqdr8mqHLnUDR8RdnCTcpJ9wGhPgY0vPVEZdKjKCd05paHJxPSicHX2faGNbrSnEMnfr1IgjA9J7HOROanJGord1XltrE6RmlDooJiPjHCJrW0PUKk/10F6swRdxB6/WGFNEBRBVwRM= Received: from DM6PR02CA0145.namprd02.prod.outlook.com (2603:10b6:5:332::12) by BN9PR12MB5113.namprd12.prod.outlook.com (2603:10b6:408:136::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.17; Wed, 7 Feb 2024 03:14:20 +0000 Received: from CO1PEPF000044F7.namprd21.prod.outlook.com (2603:10b6:5:332:cafe::18) by DM6PR02CA0145.outlook.office365.com (2603:10b6:5:332::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.36 via Frontend Transport; Wed, 7 Feb 2024 03:14:20 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1PEPF000044F7.mail.protection.outlook.com (10.167.241.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7292.0 via Frontend Transport; Wed, 7 Feb 2024 03:14:19 +0000 Received: from driver-dev1.pensando.io (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Tue, 6 Feb 2024 21:14:14 -0600 From: Andrew Boyer To: CC: Andrew Boyer Subject: [PATCH v3 05/13] net/ionic: replace non-standard type in structure definition Date: Tue, 6 Feb 2024 19:13:09 -0800 Message-ID: <20240207031317.32293-6-andrew.boyer@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240207031317.32293-1-andrew.boyer@amd.com> References: <20240202193238.62669-1-andrew.boyer@amd.com> <20240207031317.32293-1-andrew.boyer@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000044F7:EE_|BN9PR12MB5113:EE_ X-MS-Office365-Filtering-Correlation-Id: 97f3bc89-318a-402b-d628-08dc278ae040 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Z2wSdFE1x8u8nMS3JGDXIhZuIogZLDsMzZEY6OTcA62iGkI2ag5hRsuRl/zcxE/sTNr3/rF5jw2zrlAFawddznlTbvXOuliMXF4xMpTIQMsabA+EFVnM/HvsUPwqHNmTVvcWs9TFIZdJ7x7gKbm3MmZViKuZdq6cKLR8jzqGoPhlm8Y4mZye20FtULHTYgxBO7RP8zAewZ11MzYA6HLyQtT7kPuEw6+7QwwUdrOZvWFZ9sFnE8AvX4Yy6/9r2y4JIbjqtIzuFI1y9aUyTpG+XacFXH1tCUQeMsty6gzWhoSKq4BT53bhNXts5xAMosmaChrg64oXUncnau0kwNlnqdmjGlXA/tyBsF3TjkIODRpOwaVH59JVqyH5fFHPgHsTUjTJp8B2A75Pj8ORAvc7seB0lr3u3ezsb0MlS3DLvD/2TzsPVvvcxzE4lBcK0jXE32jI6wML880USC5XHaL6cYEUs6XFqfzCj/5gJZKa7yosiqLBnThSbxfMEHp1OWMHHlXMbRUQdbV8mM190EURlpBLLLFoLW0V+9wyH7Opyt5F2ThxFfFzAVcFiQtqgrC6k3U5eMjvGkN7qk20mkMzdhV4uhxPio0m49sVu+ymy7nE2ipijNUzu2Mx+DLBsKwnk1sHFSAj2952s/4oD8QyUYK4QEs8G15ILSeBfq18oZn9Pro1PQGHx5/hHEAqORzggBnA6G0O/FP7fpZOipv8fBr7lKGRl4+ZRgSE3/SxriCOWOBRqOn9VN0FXi2XeVqLYb2ZNmc4hb+y2eO5O3B51w== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230031)(4636009)(376002)(39860400002)(136003)(396003)(346002)(230922051799003)(451199024)(64100799003)(1800799012)(82310400011)(186009)(40470700004)(36840700001)(46966006)(1076003)(16526019)(336012)(26005)(426003)(83380400001)(40460700003)(40480700001)(41300700001)(6666004)(4744005)(8936002)(36860700001)(44832011)(86362001)(5660300002)(47076005)(70586007)(70206006)(6916009)(2616005)(478600001)(2906002)(356005)(81166007)(82740400003)(8676002)(36756003)(4326008)(316002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2024 03:14:19.9364 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 97f3bc89-318a-402b-d628-08dc278ae040 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1PEPF000044F7.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5113 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Use uint8_t instead of u_char. This simplifies the code. Signed-off-by: Andrew Boyer --- drivers/net/ionic/ionic_dev_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ionic/ionic_dev_pci.c b/drivers/net/ionic/ionic_dev_pci.c index 5e74a6da71..cbaac2c5bc 100644 --- a/drivers/net/ionic/ionic_dev_pci.c +++ b/drivers/net/ionic/ionic_dev_pci.c @@ -38,7 +38,7 @@ ionic_pci_setup(struct ionic_adapter *adapter) struct ionic_dev *idev = &adapter->idev; struct rte_pci_device *bus_dev = adapter->bus_dev; uint32_t sig; - u_char *bar0_base; + uint8_t *bar0_base; unsigned int i; /* BAR0: dev_cmd and interrupts */ -- 2.17.1