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 B393343A2A; Wed, 7 Feb 2024 03:20:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EF06242D9D; Wed, 7 Feb 2024 03:19:48 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2058.outbound.protection.outlook.com [40.107.93.58]) by mails.dpdk.org (Postfix) with ESMTP id 0F7BA42D7B for ; Wed, 7 Feb 2024 03:19:47 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=An34wRnxF2aW9EwYbkr8yn3MEijSoK1TYrmJ9A35k9i3QBzhZVkGfMByuQeCVTeQuPsiB7MQet92JnBP6WKxMKheIDu45X0b+L6XDPXLF5iGzw593m6rO7rdsQhpG78kemBFYFB9+0aJZCb4kZosf6jm8zsCYfuas1+1SkTRuzxDV5SORTUAx4oR64iryZVXuC2So0kAkzzPrcHQEnxZcqSX3I1h3bazLAg5XKSAQgNw2GkmgJuf7zseqFqwdZSv8go2c0Ha8v61ZHjpNplkre4REzZbvobbYz9XKo8eAReXGBBWMKa5sQynoTBbme91zWXlbSLr5dwv2A/oLvDHbA== 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=EenwDlec7K/bYCUZtAzaZtivWgajnCWKv2URcMmRNCiDlG6QRJFuHCoCDfSaRqbLifWDwo2PkzJH3Sl/mvB5RQvNnIasYEJygw9wUygb8bqjSSzZaHRZl8ui0ibVXNBMEqA+1HTjrKgP+lClFVGHVdSYeuWbUJxJbJvf41SU3M7R7ir9ipTCiaBKCrE6IJRZ1aJIm+DbCwSk+CqG7xgeHIIuHAhw2RiKKOTLkZx73bEQIYpv3yD+6Eb1kJCKFshSUmO8vB4m1ljZlNMhdAkcpLKTT5lBBb85le68Jl+71+ua2kfrYrUcL/ruQQrF5it1e0h8RdzNh3MtvFsv4OPvag== 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=j6b/EyFJOK0zhCVfdVpJARg3Wn4Qy0MmrS5hbD3fTC0vfUKpA0S6dwMA8PN9yhylXozqW/WNJNDvI6ALdQuYFIlmuif7KcoRCy6k1VJ6fboCJPfT+CC+lY8Cud5d+ao8iDCVZVfLtucR+iVTtUCPM2B5CpzfrZubzV76WBoxhA4= Received: from PR3PR09CA0019.eurprd09.prod.outlook.com (2603:10a6:102:b7::24) by MN2PR12MB4486.namprd12.prod.outlook.com (2603:10b6:208:263::23) 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 02:19:45 +0000 Received: from SA2PEPF000015CC.namprd03.prod.outlook.com (2603:10a6:102:b7:cafe::90) by PR3PR09CA0019.outlook.office365.com (2603:10a6:102:b7::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.37 via Frontend Transport; Wed, 7 Feb 2024 02:19:44 +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 SA2PEPF000015CC.mail.protection.outlook.com (10.167.241.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7249.19 via Frontend Transport; Wed, 7 Feb 2024 02:19:43 +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 20:19:41 -0600 From: Andrew Boyer To: CC: Andrew Boyer Subject: [PATCH v2 05/13] net/ionic: replace non-standard type in structure definition Date: Tue, 6 Feb 2024 18:18:41 -0800 Message-ID: <20240207021849.52988-6-andrew.boyer@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240202193238.62669-1-andrew.boyer@amd.com> References: <20240202193238.62669-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: SA2PEPF000015CC:EE_|MN2PR12MB4486:EE_ X-MS-Office365-Filtering-Correlation-Id: a6e892b2-afe9-4ccc-e4bb-08dc27833f8b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mGGYKZoIek+P9sPrEM9eQ5mor2xw+y9bwUbiA2rh/dtEcEKk05VpPJg2nIthFAQRTxSpjx3x/FyKGJ6RWuBJDG7dJVOuWmzZyO/c2h2hq6OVWVvEUpumCLynvcYr1TMFx2uYNcEZOK3BFZRjf2wNh3n4ca+qhmEhhevXnfBHBSCmGAHQXNJg/+GPcVyhAaOyAMKMOAayrt+gZM2jemG2pdNljk6rHZAQVetFAU8DDG2MjpaiacGJz27V3P7FjzGUzR/SQ5v4BQRjKJmPLVKG9nN5lj4GjYOfIbnsnJkwGo4N4Ovl/TZpMWQUtTDAB3D60rkLDm6D20dKvhp7ov/8oU2im6246kW/YjFrBEag8TJBoZtNfyAtPW12ZldcYfxn+pRGfB1VY4C7DULxQCLvS4FslS8VMKUNA9r0tDQAE18OaYm5zdp+scJxT5xgCAsAdAWjIQ6NT26ktnq4SOCaq5JnMPTLQfYu2P+Rz+4zIUQleqniKeh0k76/9SYRtyYROJyVYkiks4p86ZER4rP8SNjjxMs1SCZJ/sgVmY+TjaLxag4a0JdFn2ps0hpQxc8YZhRpdv68PpzAEqua0AuVIiaQRvVprvd0PwSmI1jfsFOTWaV4F0Lq03EiDSyiec8ZiYoloCeK4f2dSc0rqgNq6J+//USxHDaqG9gZmMfStovg6rVcjAGKc5kGU4L6I53dndHXtVyiaO41wHQ14weCPeKcpa7o2pMVM4xeL0yaOvlrOD21U+nvvu5hMavJ0qa9sUBbBaeVyVbXQavalsXjPA== 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)(39860400002)(396003)(376002)(346002)(136003)(230922051799003)(451199024)(82310400011)(1800799012)(64100799003)(186009)(46966006)(40470700004)(36840700001)(86362001)(426003)(16526019)(47076005)(26005)(83380400001)(356005)(1076003)(4326008)(81166007)(82740400003)(336012)(2616005)(36860700001)(4744005)(2906002)(70206006)(8676002)(8936002)(5660300002)(6916009)(70586007)(316002)(44832011)(478600001)(36756003)(41300700001)(40480700001)(40460700003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2024 02:19:43.8380 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a6e892b2-afe9-4ccc-e4bb-08dc27833f8b 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: SA2PEPF000015CC.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4486 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