automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Tiwei Bie <tiwei.bie@intel.com>
Subject: [dpdk-test-report] |WARNING| pw25043 [PATCH v3 2/2] contigmem: don't zero the pages during each mmap
Date: Sun,  4 Jun 2017 08:06:42 +0200 (CEST)	[thread overview]
Message-ID: <20170604060642.AB5A87D36@dpdk.org> (raw)
In-Reply-To: <20170604055324.40506-3-tiwei.bie@intel.com>

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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EBUSY)
#155: FILE: lib/librte_eal/bsdapp/contigmem/contigmem.c:209:
+		return EBUSY;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#320: FILE: lib/librte_eal/bsdapp/contigmem/contigmem.c:369:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#324: FILE: lib/librte_eal/bsdapp/contigmem/contigmem.c:373:
+		return ENOMEM;

total: 0 errors, 3 warnings, 288 lines checked

           reply	other threads:[~2017-06-04  6:06 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20170604055324.40506-3-tiwei.bie@intel.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=20170604060642.AB5A87D36@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=test-report@dpdk.org \
    --cc=tiwei.bie@intel.com \
    /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).