From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: John Daley <johndale@cisco.com>
Subject: [dpdk-test-report] |WARNING| pw24352 [PATCH v4 3/8] net/enic: flow API for NICs with advanced filters enabled
Date: Thu, 18 May 2017 00:38:58 +0200 (CEST) [thread overview]
Message-ID: <20170517223858.DD3543798@dpdk.org> (raw)
In-Reply-To: <20170517223811.6150-4-johndale@cisco.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/24352
_coding style issues_
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#287: FILE: drivers/net/enic/enic_flow.c:250:
+ return ENOTSUP;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#326: FILE: drivers/net/enic/enic_flow.c:289:
+ return ENOTSUP;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#340: FILE: drivers/net/enic/enic_flow.c:303:
+ return ENOTSUP;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#390: FILE: drivers/net/enic/enic_flow.c:353:
+ return ENOTSUP;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#440: FILE: drivers/net/enic/enic_flow.c:403:
+ return ENOTSUP;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#490: FILE: drivers/net/enic/enic_flow.c:453:
+ return ENOTSUP;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#529: FILE: drivers/net/enic/enic_flow.c:492:
+ return ENOTSUP;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#540: FILE: drivers/net/enic/enic_flow.c:503:
+ return ENOTSUP;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#571: FILE: drivers/net/enic/enic_flow.c:534:
+ return ENOTSUP;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#608: FILE: drivers/net/enic/enic_flow.c:571:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#753: FILE: drivers/net/enic/enic_flow.c:716:
+ return EINVAL;
total: 0 errors, 11 warnings, 0 checks, 1070 lines checked
parent reply other threads:[~2017-05-17 22:38 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20170517223811.6150-4-johndale@cisco.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=20170517223858.DD3543798@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=johndale@cisco.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).