automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Denis Pryazhennikov <denis.pryazhennikov@arknetworks.am>
Subject: |WARNING| pw128738 [PATCH v2 3/3] net/sfc: support FEC feature
Date: Thu, 15 Jun 2023 10:40:42 +0200 (CEST)	[thread overview]
Message-ID: <20230615084042.8C4A91208D8@dpdk.org> (raw)
In-Reply-To: <20230615083847.75590-4-denis.pryazhennikov@arknetworks.am>

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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#364: FILE: drivers/net/sfc/sfc_ethdev.c:2590:
+		return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#385: FILE: drivers/net/sfc/sfc_ethdev.c:2611:
+	return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#398: FILE: drivers/net/sfc/sfc_ethdev.c:2624:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#423: FILE: drivers/net/sfc/sfc_ethdev.c:2649:
+			return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#436: FILE: drivers/net/sfc/sfc_ethdev.c:2662:
+		return ENOTSUP;

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

  parent reply	other threads:[~2023-06-15  8:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230615083847.75590-4-denis.pryazhennikov@arknetworks.am>
2023-06-15  8:27 ` |SUCCESS| pw128736-128738 " qemudev
2023-06-15  8:31 ` qemudev
2023-06-15  8:40 ` checkpatch [this message]
2023-06-15  9:59 ` |SUCCESS| pw128738 " 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=20230615084042.8C4A91208D8@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=denis.pryazhennikov@arknetworks.am \
    --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).