DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Liu <dliu@iol.unh.edu>
To: ferruh.yigit@intel.com
Cc: dev@dpdk.org, lylavoie@iol.unh.edu, thomas@monjalon.net,
	David Liu <dliu@iol.unh.edu>
Subject: [dpdk-dev]  [PATCH V1 2/2] Fix coding style issues
Date: Thu, 10 Sep 2020 16:12:00 -0400	[thread overview]
Message-ID: <20200910201200.41483-1-dliu@iol.unh.edu> (raw)
In-Reply-To: <20200910060025.23838-1-dliu@iol.unh.edu>

Signed-off-by: David Liu <dliu@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


      parent reply	other threads:[~2020-09-10 20:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-10  6:00 [dpdk-dev] [PATCH V1] testpmd: add eeprom/module eeprom display David Liu
2020-09-10 11:47 ` Ferruh Yigit
2020-09-10 18:48   ` David Liu
2020-09-14 15:11     ` [dpdk-dev] [PATCH V2] " David Liu
2020-09-14 16:48       ` Ferruh Yigit
2020-09-15 14:22         ` David Liu
2020-09-10 20:00 ` [dpdk-dev] [PATCH V1] " David Liu
2020-09-15 15:42   ` [dpdk-dev] [PATCH] [PATCH V2] " David Liu
2020-09-15 17:24     ` David Liu
2020-09-15 17:27     ` David Liu
2020-09-22  9:13       ` Phil Yang
2020-09-24 10:57         ` Phil Yang
2020-09-24 15:26           ` Ferruh Yigit
2020-09-10 20:12 ` David Liu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200910201200.41483-1-dliu@iol.unh.edu \
    --to=dliu@iol.unh.edu \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=lylavoie@iol.unh.edu \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).