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 BA26443A53; Fri, 2 Feb 2024 20:33:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B002A42E7C; Fri, 2 Feb 2024 20:33:20 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2072.outbound.protection.outlook.com [40.107.94.72]) by mails.dpdk.org (Postfix) with ESMTP id 16AF342E59 for ; Fri, 2 Feb 2024 20:33:19 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PvxEs8SQQuxCopXVjofSnMP3J9OnNEpogejGOpfPrtKVZeb05Z3VF4aHbjIZ/K230fhy0XV0wxpUgmX0CokVkeV2dakI7ky6cuSpn4Ywli8y+v4y/MIqsrSMXtDIhpdzuznFWVoYjByY8/mvaRDp3wZFbg68QqwGdjY2SKL6ClWZLLWTrLFrTqcKjhpCNKzrHb4r92JiT54xWeYuyX5Z4DXepsQeR/XVcG147bjByXoLypINn4L1dzBqHhx7kZfq2r40U+L1hYNLW9pS2EExKQ6JNmIFssl8ZvUg9J429BNdSdVhpJScLGSeIZJk68HcMFZhia7IrZmPcoFGhFkuiw== 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=cjpP4d00aDA17lXs3RuKLi7j4z5jupnAgzBtnWN1Z+LUDtj5AdAefyulvWq8L9lln4KQgABAhCI1HoG10Sqn1quNxD8JzbbnY285AqvLtjEOlqlm2gxg1wyM4OFUA81MEnkDXCPUD+HgZaagHdBHst+p4Fws+KAGKNudxRzeWKsbyUrv3rcpWxErq1GXLiaw0e0lGj4mJFQu+hlbbEYsh06J9vEctI0uuEf/+QRs+4GHzX5xeQNo7o1TG4B0oOjdgZwwPBnERJAHnj3A4icKkFgDvbXVbmZZ4plXDaOusME8AoTopxuzkCKxzcDR3/7PP2BAc5FzLYd91k+WI7V1mg== 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=BeObUH5GTBRuozLOdF4ZulzLAvndqzFgdsulzjdtqYkQPHkvGPtVlyZOYqw8u2IbHKCvZ4xiwk9ReWIKNVyFbdeY7X5x0MRw7e4JdoX1RBQOcX9xYmmhrdWoWj5LW5YvMH91bp3akhbOOou0u8QPjlKfaxz+En4Ci5LtaFTv1DM= Received: from DM6PR10CA0032.namprd10.prod.outlook.com (2603:10b6:5:60::45) by DS0PR12MB7533.namprd12.prod.outlook.com (2603:10b6:8:132::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.9; Fri, 2 Feb 2024 19:33:16 +0000 Received: from DS1PEPF0001708F.namprd03.prod.outlook.com (2603:10b6:5:60:cafe::a) by DM6PR10CA0032.outlook.office365.com (2603:10b6:5:60::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.24 via Frontend Transport; Fri, 2 Feb 2024 19:33:16 +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 DS1PEPF0001708F.mail.protection.outlook.com (10.167.17.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7249.19 via Frontend Transport; Fri, 2 Feb 2024 19:33:16 +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; Fri, 2 Feb 2024 13:33:15 -0600 From: Andrew Boyer To: CC: Andrew Boyer Subject: [PATCH 05/13] net/ionic: replace non-standard type in structure definition Date: Fri, 2 Feb 2024 11:32:30 -0800 Message-ID: <20240202193238.62669-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: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0001708F:EE_|DS0PR12MB7533:EE_ X-MS-Office365-Filtering-Correlation-Id: 59b40cce-5616-42da-63a3-08dc2425cdde X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pleuhlLfsX8gr0p0Hn1h2VLDb2fA1pvuAnLATS8ANqr9/EKH82VO9wE8XtoYjv+BNcJIRWOnjAPtbXdh5K07Xk5n4N5Agp4GRjqvV+IqAJPXpVxQgl6eBdtwRumtaj23hzfzy0AF2G1ANVxLfuiZdacNXIf8+nhzJcQ2wF2bZN5nFVr3MFj85AGg+LPke5bOcCWI+I9tpwoqPWWLG9eH2CxaeAI8LrdQ6UKsbmjPS8PQPNETy1+DFiNslLLDYITzGvBxSwCanlCswZ5HBQuUuono9OfgnGBCUHnb4SidH8dVuP/e9gKw/PYKyPKeU9qXrS7mJlW7/3JI0DS83qzNAswc/NL+DHA6iRsp5T/Xen1r6gV4sIhMBaQPgil5O/DnxTr94Z1nsvBgqjkWipS3ylFzdnfC3hdBqgkLGtzffSLaxNSz1Flz2XfBh02ZdFY584JFBQwZYxv8O9wNBZUufl7V8evN8ak91dP+pjRRXF9xOx6QFTdp3leR6UTgREf7NFHyPyvfbw0Qg6XOT9o2BQ2uldwP2U/Q6XXVZ0w8VMy9a3AZ6n2K1GPQd58XwpwhGjQnj4P5AH0k9k4QpNswlw5l7ne0OUf/Seud0afqyWpp58rjKdiPDreipdPyXA51tuCFbGhIMw9NvgZ2f1ssOLKOJfQvdC3shhCGytiwJMU2C5uhfk3KCSpro82e2JgUlTJqPPKtmS0vaoF9JwnmVoeAA91rOn78nYWllFqwlbSELX0zCoXIU41moevTUYTvOGO2TYbm3GbJlhif9RlRoQ== 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)(136003)(39860400002)(396003)(346002)(376002)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(82310400011)(46966006)(40470700004)(36840700001)(41300700001)(336012)(83380400001)(2616005)(26005)(36860700001)(6666004)(8936002)(4744005)(426003)(16526019)(356005)(2906002)(6916009)(81166007)(1076003)(82740400003)(316002)(44832011)(5660300002)(8676002)(70206006)(478600001)(4326008)(70586007)(36756003)(47076005)(86362001)(40460700003)(40480700001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 19:33:16.4655 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 59b40cce-5616-42da-63a3-08dc2425cdde 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: DS1PEPF0001708F.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7533 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