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| pw34012 [PATCH v6 6/6] net/failsafe: fix removed device handling
Date: Thu, 18 Jan 2018 12:29:39 +0100 (CET)	[thread overview]
Message-ID: <20180118112939.5EB1F1B2A4@dpdk.org> (raw)
In-Reply-To: <1516274834-19755-7-git-send-email-matan@mellanox.com>

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

_coding style issues_


ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#45: 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
#63: 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
#72: 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
#86: 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
#96: 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
#131: 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
#140: 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
#149: 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
#158: 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
#206: 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
#215: 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
#224: 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
#233: 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
#242: 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-18 11:29 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1516274834-19755-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=20180118112939.5EB1F1B2A4@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).