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| pw36464 [PATCH 1/4] net/nfp: add NFP CPP support
Date: Fri, 23 Mar 2018 18:36:45 +0100 (CET)	[thread overview]
Message-ID: <20180323173645.3D2717CC2@dpdk.org> (raw)
In-Reply-To: <1521826504-20195-2-git-send-email-alejandro.lucero@netronome.com>

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

_coding style issues_


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

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'model' - possible side-effects?
#1912: FILE: drivers/net/nfp/nfpcore/nfp_cpp.h:238:
+#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>
#6171: FILE: drivers/net/nfp/nfpcore/nfp_nsp.c:252:
+		printf("Host buffer out of reach %08x %" PRIx64 "
",

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

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

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

           reply	other threads:[~2018-03-23 17:36 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1521826504-20195-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=20180323173645.3D2717CC2@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).