automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Luca Boccassi <luca.boccassi@gmail.com>
Subject: [dpdk-test-report] |WARNING| pw30795 [PATCH 2/3] net/e1000: implement VF reset
Date: Tue, 24 Oct 2017 15:16:57 +0200 (CEST)	[thread overview]
Message-ID: <20171024131657.378AF1B807@dpdk.org> (raw)
In-Reply-To: <20171024131630.16595-3-luca.boccassi@gmail.com>

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/30795

_coding style issues_


WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 17)
#59: FILE: drivers/net/e1000/igb_ethdev.c:2990:
+	if (!dev->data->dev_started)
+		 return -EAGAIN;

WARNING:TABSTOP: Statements should start on a tabstop
#60: FILE: drivers/net/e1000/igb_ethdev.c:2991:
+		 return -EAGAIN;

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 17)
#65: FILE: drivers/net/e1000/igb_ethdev.c:2996:
+	do {
+		 dev->data->dev_started = 0;

WARNING:TABSTOP: Statements should start on a tabstop
#68: FILE: drivers/net/e1000/igb_ethdev.c:2999:
+		 if (dev->data->dev_conf.intr_conf.lsc == 0)

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (17, 26)
#68: FILE: drivers/net/e1000/igb_ethdev.c:2999:
+		 if (dev->data->dev_conf.intr_conf.lsc == 0)
+			  diag = eth_igb_link_update(dev, 0);

WARNING:TABSTOP: Statements should start on a tabstop
#70: FILE: drivers/net/e1000/igb_ethdev.c:3001:
+		 if (diag) {

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (17, 26)
#70: FILE: drivers/net/e1000/igb_ethdev.c:3001:
+		 if (diag) {
+			  PMD_INIT_LOG(INFO, "Igb VF reset: "

WARNING:TABSTOP: Statements should start on a tabstop
#73: FILE: drivers/net/e1000/igb_ethdev.c:3004:
+		 }

WARNING:TABSTOP: Statements should start on a tabstop
#78: FILE: drivers/net/e1000/igb_ethdev.c:3009:
+		 if (diag) {

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (17, 26)
#78: FILE: drivers/net/e1000/igb_ethdev.c:3009:
+		 if (diag) {
+			  PMD_INIT_LOG(ERR, "Igb VF reset: "

WARNING:TABSTOP: Statements should start on a tabstop
#81: FILE: drivers/net/e1000/igb_ethdev.c:3012:
+			  return -EAGAIN;

WARNING:TABSTOP: Statements should start on a tabstop
#82: FILE: drivers/net/e1000/igb_ethdev.c:3013:
+		 }

WARNING:TABSTOP: Statements should start on a tabstop
#84: FILE: drivers/net/e1000/igb_ethdev.c:3015:
+		 if (dev->data->dev_conf.intr_conf.lsc == 0)

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (17, 26)
#84: FILE: drivers/net/e1000/igb_ethdev.c:3015:
+		 if (dev->data->dev_conf.intr_conf.lsc == 0)
+			  diag = eth_igb_link_update(dev, 0);

WARNING:TABSTOP: Statements should start on a tabstop
#86: FILE: drivers/net/e1000/igb_ethdev.c:3017:
+		 if (diag) {

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (17, 26)
#86: FILE: drivers/net/e1000/igb_ethdev.c:3017:
+		 if (diag) {
+			  PMD_INIT_LOG(INFO, "Igb VF reset: "

WARNING:TABSTOP: Statements should start on a tabstop
#89: FILE: drivers/net/e1000/igb_ethdev.c:3020:
+		 }

total: 0 errors, 17 warnings, 0 checks, 77 lines checked

           reply	other threads:[~2017-10-24 13:16 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20171024131630.16595-3-luca.boccassi@gmail.com>]

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=20171024131657.378AF1B807@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=luca.boccassi@gmail.com \
    --cc=test-report@dpdk.org \
    /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).