[dpdk-dev] [PATCH V1 2/2] Fix coding style issues

David Liu dliu at iol.unh.edu
Thu Sep 10 22:12:00 CEST 2020


Signed-off-by: David Liu <dliu at iol.unh.edu>
---
 app/test-pmd/config.c | 1 +--
 1 file changed, 1 insertion(+)

diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 5e3e9e211..a34827707 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -49,7 +49,6 @@
 #include <rte_pmd_bnxt.h>
 #endif
 #include <rte_gro.h>
 
 #include <rte_hexdump.h>
 
@@ -724,7 +723,7 @@ port_eeprom_display(portid_t port_id)
 	}
 
 	int len_eeprom = rte_eth_dev_get_eeprom_length(port_id);
-	if(len_eeprom < 0) {
+	if (len_eeprom < 0) {
 		switch (len_eeprom) {
 		case -ENODEV:
 			printf("port index %d invalid\n", port_id);
2.17.1



More information about the dev mailing list