automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Markus Theil <markus.theil@tu-ilmenau.de>
Subject: |WARNING| pw115758 [PATCH 2/2] net/ice: add basic flow ctrl support for enable/disable/get
Date: Thu,  1 Sep 2022 23:14:43 +0200 (CEST)	[thread overview]
Message-ID: <20220901211443.D3160121F02@dpdk.org> (raw)
In-Reply-To: <20220901211350.87631-2-markus.theil@tu-ilmenau.de>

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

_coding style issues_


ERROR:SPACING: space required before the open parenthesis '('
#98: FILE: drivers/net/ice/ice_ethdev.c:4120:
+	if(status)

ERROR:SPACING: space required before the open parenthesis '('
#137: FILE: drivers/net/ice/ice_ethdev.c:4159:
+	if(status) {

ERROR:SPACING: space required before the open parenthesis '('
#141: FILE: drivers/net/ice/ice_ethdev.c:4163:
+	if(fc_conf->autoneg != ice_is_phy_caps_an_enabled(pcaps)) {

ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
#146: FILE: drivers/net/ice/ice_ethdev.c:4168:
+	switch(fc_conf->mode) {
+		case RTE_ETH_FC_FULL:
[...]
+		case RTE_ETH_FC_RX_PAUSE:
[...]
+		case RTE_ETH_FC_TX_PAUSE:
[...]
+		case RTE_ETH_FC_NONE:

ERROR:SPACING: space required before the open parenthesis '('
#146: FILE: drivers/net/ice/ice_ethdev.c:4168:
+	switch(fc_conf->mode) {

total: 5 errors, 0 warnings, 0 checks, 126 lines checked

       reply	other threads:[~2022-09-01 21:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220901211350.87631-2-markus.theil@tu-ilmenau.de>
2022-09-01 21:14 ` checkpatch [this message]
2022-09-01 22:20 ` |SUCCESS| " 0-day Robot

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=20220901211443.D3160121F02@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=markus.theil@tu-ilmenau.de \
    --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).