automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Matan Azrad <matan@mellanox.com>
Subject: [dpdk-test-report] |WARNING| pw33943 [PATCH v5 6/6] net/failsafe: fix removed device handling
Date: Wed, 17 Jan 2018 21:20:42 +0100 (CET)	[thread overview]
Message-ID: <20180117202042.148431B2D1@dpdk.org> (raw)
In-Reply-To: <1516220357-13013-7-git-send-email-matan@mellanox.com>

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

_coding style issues_


ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#44: FILE: drivers/net/failsafe/failsafe_flow.c:90:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#62: FILE: drivers/net/failsafe/failsafe_flow.c:153:
+		if ((local_ret = fs_err(sdev, local_ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#71: FILE: drivers/net/failsafe/failsafe_flow.c:178:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#85: FILE: drivers/net/failsafe/failsafe_flow.c:206:
+		if ((ret = fs_err(sdev, ret)))

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#95: FILE: drivers/net/failsafe/failsafe_flow.c:230:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#130: FILE: drivers/net/failsafe/failsafe_ops.c:204:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#139: FILE: drivers/net/failsafe/failsafe_ops.c:223:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#148: FILE: drivers/net/failsafe/failsafe_ops.c:309:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#157: FILE: drivers/net/failsafe/failsafe_ops.c:375:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#205: FILE: drivers/net/failsafe/failsafe_ops.c:615:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#214: FILE: drivers/net/failsafe/failsafe_ops.c:634:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#223: FILE: drivers/net/failsafe/failsafe_ops.c:668:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#232: FILE: drivers/net/failsafe/failsafe_ops.c:705:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#241: FILE: drivers/net/failsafe/failsafe_ops.c:747:
+		if ((ret = fs_err(sdev, ret))) {

total: 14 errors, 0 warnings, 0 checks, 197 lines checked

           reply	other threads:[~2018-01-17 20:20 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1516220357-13013-7-git-send-email-matan@mellanox.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=20180117202042.148431B2D1@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=matan@mellanox.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).