automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Andy Pei <andy.pei@intel.com>
Subject: [dpdk-test-report] |WARNING| pw56066 [PATCH v3] net/i40e: i40e get link status update from ipn3ke
Date: Thu,  4 Jul 2019 09:02:59 +0200 (CEST)	[thread overview]
Message-ID: <20190704070259.A88307CDE@dpdk.org> (raw)
In-Reply-To: <1562223367-292259-1-git-send-email-andy.pei@intel.com>

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

_coding style issues_


CHECK:BRACES: braces {} should be used on all arms of this statement
#105: FILE: drivers/net/i40e/i40e_ethdev.c:656:
+	if (!strncmp(cfg_str, "IPN3KE", strlen("IPN3KE"))) {
[...]
+	} else
[...]

CHECK:BRACES: braces {} should be used on all arms of this statement
#118: FILE: drivers/net/i40e/i40e_ethdev.c:669:
+			if (*p_src == '@') {
[...]
+			} else
[...]

CHECK:BRACES: Unbalanced braces around else statement
#121: FILE: drivers/net/i40e/i40e_ethdev.c:672:
+			} else

CHECK:BRACES: Unbalanced braces around else statement
#147: FILE: drivers/net/i40e/i40e_ethdev.c:698:
+	} else

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#165: FILE: drivers/net/i40e/i40e_ethdev.c:716:
+					i40e_eth_dev_get_by_switch_mode_name(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#186: FILE: drivers/net/i40e/i40e_ethdev.c:737:
+		switch_ethdev = i40e_get_switch_ethdev_from_devargs(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#247: FILE: drivers/net/i40e/i40e_ethdev.c:2928:
+				i40e_get_switch_ethdev_from_devargs(

total: 0 errors, 0 warnings, 205 lines checked

           reply	other threads:[~2019-07-04  7:03 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1562223367-292259-1-git-send-email-andy.pei@intel.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=20190704070259.A88307CDE@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=andy.pei@intel.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).