automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: <eagostini@nvidia.com>
Subject: [dpdk-test-report] |WARNING| pw103975 [PATCH v5 5/9] gpudev: add memory API
Date: Mon,  8 Nov 2021 11:49:00 +0100 (CET)	[thread overview]
Message-ID: <20211108104900.20753123056@dpdk.org> (raw)
In-Reply-To: <20211108185805.3887-6-eagostini@nvidia.com>

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

_coding style issues_


WARNING:LONG_LINE: line length of 120 exceeds 100 columns
#180: FILE: app/test-gpudev/main.c:92:
+		printf("GPU memory 0x%p + 0x700 NOT freed because of memory address not recognized by driver
", ptr_1);

WARNING:TYPO_SPELLING: 'erroneusly' may be misspelled - perhaps 'erroneously'?
#182: FILE: app/test-gpudev/main.c:94:
+		fprintf(stderr, "rte_gpu_free erroneusly freed GPU memory 0x%p + 0x700
", ptr_1);

WARNING:LONG_LINE: line length of 125 exceeds 100 columns
#228: FILE: app/test-gpudev/main.c:140:
+		printf("CPU memory 0x%p + 0x700 NOT unregistered because of memory address not recognized by driver
", ptr);

WARNING:TYPO_SPELLING: 'erroneusly' may be misspelled - perhaps 'erroneously'?
#230: FILE: app/test-gpudev/main.c:142:
+		fprintf(stderr, "rte_gpu_free erroneusly freed GPU memory 0x%p + 0x700
", ptr);

ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
#367: FILE: lib/gpudev/gpudev.c:553:
+	switch (ret) {
+		case 0:
[...]
+		case -ENOMEM:
+		case -E2BIG:
[...]
+		default:

total: 1 errors, 4 warnings, 412 lines checked

           reply	other threads:[~2021-11-08 10:49 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20211108185805.3887-6-eagostini@nvidia.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=20211108104900.20753123056@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).