[V1,2/2] Fix coding style issues

Message ID 20200910201200.41483-1-dliu@iol.unh.edu (mailing list archive)
State Superseded, archived
Delegated to: Ferruh Yigit
Headers
Series [V1] testpmd: add eeprom/module eeprom display |

Checks

Context Check Description
ci/checkpatch warning coding style issues

Commit Message

dliu Sept. 10, 2020, 8:12 p.m. UTC
  Signed-off-by: David Liu <dliu@iol.unh.edu>
---
 app/test-pmd/config.c | 1 +--
 1 file changed, 1 insertion(+)

 	}
 
 	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
  

Patch

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)