automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Alejandro Lucero <alejandro.lucero@netronome.com>
Subject: [dpdk-test-report] |WARNING| pw37310 [PATCH v2 1/4] net/nfp: add NFP CPP support
Date: Thu,  5 Apr 2018 16:44:36 +0200 (CEST)	[thread overview]
Message-ID: <20180405144436.9F1841CC9B@dpdk.org> (raw)
In-Reply-To: <1522939367-5392-2-git-send-email-alejandro.lucero@netronome.com>

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#846: FILE: drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h:27:
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'model' - possible side-effects?
#1748: FILE: drivers/net/nfp/nfpcore/nfp_cpp.h:211:
+#define NFP_CPP_MODEL_IS_6000(model)		     \
+		((NFP_CPP_MODEL_CHIP_of(model) >= 0x4000) && \
+		(NFP_CPP_MODEL_CHIP_of(model) < 0x7000))

CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
#5675: FILE: drivers/net/nfp/nfpcore/nfp_nsp.c:226:
+		printf("Host buffer out of reach %08x %" PRIx64 "
",

CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#7367: FILE: drivers/net/nfp/nfpcore/nfp_rtsym.c:61:
+	printf("	name=%s, addr=%" PRIx64 ", size=%" PRIu64 ",target=%d
",

CHECK:CAMELCASE: Avoid CamelCase: <PRId64>
#7582: FILE: drivers/net/nfp/nfpcore/nfp_rtsym.c:276:
+		printf("rtsym '%s' unsupported size: %" PRId64 "
",

total: 0 errors, 0 warnings, 5 checks, 8044 lines checked

           reply	other threads:[~2018-04-05 14:44 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1522939367-5392-2-git-send-email-alejandro.lucero@netronome.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=20180405144436.9F1841CC9B@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=alejandro.lucero@netronome.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).