[PATCH 05/13] net/ionic: replace non-standard type in structure definition
    Andrew Boyer 
    andrew.boyer at amd.com
       
    Fri Feb  2 20:32:30 CET 2024
    
    
  
Use uint8_t instead of u_char. This simplifies the code.
Signed-off-by: Andrew Boyer <andrew.boyer at amd.com>
---
 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
    
    
More information about the dev
mailing list