automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: <eagostini@nvidia.com>
Subject: |WARNING| pw104509 [PATCH v2 1/1] app/test-gpudev: introduce ethdev to rx/tx packets using GPU memory
Date: Thu, 18 Nov 2021 11:47:26 +0100 (CET)	[thread overview]
Message-ID: <20211118104726.D2A94121E65@dpdk.org> (raw)
In-Reply-To: <20211118185613.3246-2-eagostini@nvidia.com>

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

_coding style issues_


ERROR:C99_COMMENTS: do not use C99 // comments
#168: FILE: app/test-gpudev/main.c:39:
+// #define DEBUG_PRINT 1

ERROR:INITIALISED_STATIC: do not initialise statics to 0
#188: FILE: app/test-gpudev/main.c:58:
+static uint16_t conf_gpu_id = 0;

ERROR:INITIALISED_STATIC: do not initialise statics to false
#192: FILE: app/test-gpudev/main.c:62:
+static bool conf_testapi = false;

ERROR:INITIALISED_STATIC: do not initialise statics to 0
#197: FILE: app/test-gpudev/main.c:67:
+static uint16_t conf_port_id = 0;

WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#367: FILE: app/test-gpudev/main.c:512:
+		RTE_GPU_VOLATILE(comm_list_fwd[queue_id][comm_list_item].status) = RTE_GPU_COMM_LIST_DONE;

ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#397: FILE: app/test-gpudev/main.c:542:
+		while (RTE_GPU_VOLATILE(comm_list_fwd[queue_id][comm_list_item].status) !=
+				RTE_GPU_COMM_LIST_DONE && force_quit == false);

WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#522: FILE: app/test-gpudev/main.c:668:
+					"rte_gpu_mem_register CPU memory returned error %d.
", ret);

WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#537: FILE: app/test-gpudev/main.c:683:
+			fprintf(stderr, "Unable to register addr 0x%p, ret %d.
", ext_mem.buf_ptr, ret);

total: 5 errors, 3 warnings, 551 lines checked

       reply	other threads:[~2021-11-18 10:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211118185613.3246-2-eagostini@nvidia.com>
2021-11-18 10:47 ` checkpatch [this message]
2021-11-18 11:38 ` |SUCCESS| " 0-day Robot

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=20211118104726.D2A94121E65@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=eagostini@nvidia.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).