automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Andrew Rybchenko <arybchenko@solarflare.com>
Subject: [dpdk-test-report] |WARNING| pw81535 [PATCH v2 16/62] common/sfc_efx/base: support setting a PPORT in a match spec
Date: Tue, 20 Oct 2020 11:29:17 +0200 (CEST)	[thread overview]
Message-ID: <20201020092917.CA13DC844@dpdk.org> (raw)
In-Reply-To: <1603185222-14831-17-git-send-email-arybchenko@solarflare.com>

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

_coding style issues_


WARNING:SPACING: space prohibited between function name and open parenthesis '('
#217: FILE: drivers/common/sfc_efx/base/efx_mae.c:349:
+	memset(mportp, 0, sizeof (*mportp));

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#220: FILE: drivers/common/sfc_efx/base/efx_mae.c:352:
+	return (0);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#224: FILE: drivers/common/sfc_efx/base/efx_mae.c:356:
+	return (rc);

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#285: FILE: drivers/common/sfc_efx/base/efx_mae.c:417:
+			    &dword, sizeof (dword));

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#297: FILE: drivers/common/sfc_efx/base/efx_mae.c:429:
+			    &dword, sizeof (dword));

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#314: FILE: drivers/common/sfc_efx/base/efx_mae.c:446:
+	return (rc);

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#341: FILE: drivers/common/sfc_efx/base/efx_mae.c:473:
+	    sizeof (valuep->sel), vp, sizeof (maskp->sel), mp);

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#341: FILE: drivers/common/sfc_efx/base/efx_mae.c:473:
+	    sizeof (valuep->sel), vp, sizeof (maskp->sel), mp);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#345: FILE: drivers/common/sfc_efx/base/efx_mae.c:477:
+	return (0);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#351: FILE: drivers/common/sfc_efx/base/efx_mae.c:483:
+	return (rc);

total: 5 errors, 5 warnings, 254 lines checked

           reply	other threads:[~2020-10-20  9:29 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1603185222-14831-17-git-send-email-arybchenko@solarflare.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=20201020092917.CA13DC844@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=arybchenko@solarflare.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).