automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Anatoly Burakov <anatoly.burakov@intel.com>
Subject: [dpdk-test-report] |WARNING| pw40551 [PATCH RFC 10/10] mem: enable memfd-based hugepage allocation
Date: Thu, 31 May 2018 16:33:25 +0200 (CEST)	[thread overview]
Message-ID: <20180531143325.2DD6D6CCA@dpdk.org> (raw)
In-Reply-To: <8b65d1c810721ef2ffe8019ec9504eb2112bb91e.1527776837.git.anatoly.burakov@intel.com>

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

_coding style issues_


WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#77: FILE: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:348:
+		 * 1GB per page size */

WARNING:BRACES: braces {} are not necessary for single statement blocks
#108: FILE: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:379:
+	if (errno != EINVAL) {
+		return 1;
+	}

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#439: FILE: lib/librte_eal/linuxapp/eal/eal_memfd.h:17:
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)

total: 0 errors, 3 warnings, 404 lines checked

           reply	other threads:[~2018-05-31 14:33 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <8b65d1c810721ef2ffe8019ec9504eb2112bb91e.1527776837.git.anatoly.burakov@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=20180531143325.2DD6D6CCA@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=anatoly.burakov@intel.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).