automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Hemant Agrawal <hemant.agrawal@nxp.com>
Subject: [dpdk-test-report] |WARNING| pw23463 [PATCH v4 03/21] bus/fslmc: add QBMAN driver to bus
Date: Tue, 11 Apr 2017 15:38:46 +0200 (CEST)	[thread overview]
Message-ID: <20170411133846.E6326D1E6@dpdk.org> (raw)
In-Reply-To: <1491917847-3935-4-git-send-email-hemant.agrawal@nxp.com>

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

_coding style issues_


WARNING:TYPECAST_INT_CONSTANT: Unnecessary typecast of c90 int constant
#400: FILE: drivers/bus/fslmc/qbman/include/compat.h:317:
+#define BITS_MASK(idx)	((unsigned long)1 << ((idx) & (BITS_PER_ULONG - 1)))

ERROR:SPACING: space prohibited after that open parenthesis '('
#3644: FILE: drivers/bus/fslmc/qbman/qbman_private.h:95:
+#define MAKE_MASK32(width) ((uint32_t)(( 1ULL << width) - 1))

WARNING:TYPECAST_INT_CONSTANT: Unnecessary typecast of c90 int constant
#3716: FILE: drivers/bus/fslmc/qbman/qbman_private.h:167:
+	unsigned long start = p & ~(unsigned long)15;

WARNING:TYPECAST_INT_CONSTANT: Unnecessary typecast of c90 int constant
#3717: FILE: drivers/bus/fslmc/qbman/qbman_private.h:168:
+	unsigned long end = (p + sz + 15) & ~(unsigned long)15;

total: 1 errors, 3 warnings, 4109 lines checked

           reply	other threads:[~2017-04-11 13:38 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1491917847-3935-4-git-send-email-hemant.agrawal@nxp.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=20170411133846.E6326D1E6@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=hemant.agrawal@nxp.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).