automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Gregory Etelson <gregory@weka.io>
Subject: [dpdk-test-report] |WARNING| pw23885 [PATCH] custom align for mempool elements
Date: Wed, 26 Apr 2017 06:02:26 +0200 (CEST)	[thread overview]
Message-ID: <20170426040226.4530F2C16@dpdk.org> (raw)
In-Reply-To: <4486793.msUSBAJSWm@polaris>

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

_coding style issues_


WARNING:TYPO_SPELLING: 'aligment' may be misspelled - perhaps 'alignment'?
#45: FILE: lib/librte_mempool/rte_mempool.c:513:
+mempool_default_elt_aligment(void)

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 19)
#48: FILE: lib/librte_mempool/rte_mempool.c:516:
+	if (rte_xen_dom0_supported()) {
+		   align = RTE_PGSIZE_2M;;

WARNING:ONE_SEMICOLON: Statements terminations use 1 semicolon
#49: FILE: lib/librte_mempool/rte_mempool.c:517:
+		   align = RTE_PGSIZE_2M;;

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 19)
#50: FILE: lib/librte_mempool/rte_mempool.c:518:
+	} else if (rte_eal_has_hugepages()) {
+		   align = RTE_CACHE_LINE_SIZE;

WARNING:TYPO_SPELLING: 'aligment' may be misspelled - perhaps 'alignment'?
#104: FILE: lib/librte_mempool/rte_mempool.c:842:
+	mp->elt_align = mempool_default_elt_aligment();

total: 0 errors, 5 warnings, 85 lines checked

           reply	other threads:[~2017-04-26  4:02 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <4486793.msUSBAJSWm@polaris>]

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=20170426040226.4530F2C16@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=gregory@weka.io \
    --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).