automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: <eagostini@nvidia.com>
Subject: |WARNING| pw110515 [PATCH] gpu/cuda: GPU_REGISTERED to distinguish GPU memory CPU mapped
Date: Fri, 29 Apr 2022 15:54:17 +0200 (CEST)	[thread overview]
Message-ID: <20220429135417.88E211242B9@dpdk.org> (raw)
In-Reply-To: <20220429135251.1373996-1-eagostini@nvidia.com>

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

_coding style issues_


WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#261: FILE: drivers/gpu/cuda/cuda.c:1059:
+	 * without calling cpu_unmap, force the unmapping.
+	*/

WARNING:BRACES: braces {} are not necessary for single statement blocks
#262: FILE: drivers/gpu/cuda/cuda.c:1060:
+	if (mem_item->mtype == GPU_REGISTERED) {
+		cuda_mem_cpu_unmap(dev, ptr);
 	}

total: 0 errors, 2 warnings, 152 lines checked

       reply	other threads:[~2022-04-29 13:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220429135251.1373996-1-eagostini@nvidia.com>
2022-04-29 13:54 ` checkpatch [this message]
2022-04-29 14:39 ` |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=20220429135417.88E211242B9@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).