automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: <eagostini@nvidia.com>
Subject: |WARNING| pw104398 [PATCH v6 1/1] gpu/cuda: introduce CUDA driver
Date: Tue, 16 Nov 2021 13:37:22 +0100 (CET)	[thread overview]
Message-ID: <20211116123722.25622120735@dpdk.org> (raw)
In-Reply-To: <20211116204725.27897-2-eagostini@nvidia.com>

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

_coding style issues_


ERROR:TRAILING_WHITESPACE: trailing whitespace
#162: FILE: doc/guides/gpus/cuda.rst:18:
+- Install `CUDA Toolkit <https://developer.nvidia.com/cuda-toolkit>`_ $

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#347: FILE: drivers/gpu/cuda/cuda.c:24:
+CUresult CUDAAPI (*sym_cuInit)(unsigned int flags) = NULL;

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#348: FILE: drivers/gpu/cuda/cuda.c:25:
+CUresult CUDAAPI (*sym_cuDriverGetVersion)(int *driverVersion) = NULL;

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#349: FILE: drivers/gpu/cuda/cuda.c:26:
+CUresult CUDAAPI (*sym_cuGetProcAddress)(const char *symbol,

ERROR:CODE_INDENT: code indent should use tabs where possible
#412: FILE: drivers/gpu/cuda/cuda.c:89:
+        {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#412: FILE: drivers/gpu/cuda/cuda.c:89:
+        {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#413: FILE: drivers/gpu/cuda/cuda.c:90:
+                RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#413: FILE: drivers/gpu/cuda/cuda.c:90:
+                RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#414: FILE: drivers/gpu/cuda/cuda.c:91:
+                                NVIDIA_GPU_A100_80GB_DEVICE_ID)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#414: FILE: drivers/gpu/cuda/cuda.c:91:
+                                NVIDIA_GPU_A100_80GB_DEVICE_ID)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#415: FILE: drivers/gpu/cuda/cuda.c:92:
+        },$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#415: FILE: drivers/gpu/cuda/cuda.c:92:
+        },$

ERROR:CODE_INDENT: code indent should use tabs where possible
#416: FILE: drivers/gpu/cuda/cuda.c:93:
+        {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#416: FILE: drivers/gpu/cuda/cuda.c:93:
+        {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#417: FILE: drivers/gpu/cuda/cuda.c:94:
+                RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#417: FILE: drivers/gpu/cuda/cuda.c:94:
+                RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#418: FILE: drivers/gpu/cuda/cuda.c:95:
+                                NVIDIA_GPU_A30_24GB_DEVICE_ID)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#418: FILE: drivers/gpu/cuda/cuda.c:95:
+                                NVIDIA_GPU_A30_24GB_DEVICE_ID)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#419: FILE: drivers/gpu/cuda/cuda.c:96:
+        },$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#419: FILE: drivers/gpu/cuda/cuda.c:96:
+        },$

ERROR:CODE_INDENT: code indent should use tabs where possible
#420: FILE: drivers/gpu/cuda/cuda.c:97:
+        {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#420: FILE: drivers/gpu/cuda/cuda.c:97:
+        {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#421: FILE: drivers/gpu/cuda/cuda.c:98:
+                RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#421: FILE: drivers/gpu/cuda/cuda.c:98:
+                RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#422: FILE: drivers/gpu/cuda/cuda.c:99:
+                                NVIDIA_GPU_A10_24GB_DEVICE_ID)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#422: FILE: drivers/gpu/cuda/cuda.c:99:
+                                NVIDIA_GPU_A10_24GB_DEVICE_ID)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#423: FILE: drivers/gpu/cuda/cuda.c:100:
+        },$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#423: FILE: drivers/gpu/cuda/cuda.c:100:
+        },$

ERROR:CODE_INDENT: code indent should use tabs where possible
#424: FILE: drivers/gpu/cuda/cuda.c:101:
+        {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#424: FILE: drivers/gpu/cuda/cuda.c:101:
+        {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#425: FILE: drivers/gpu/cuda/cuda.c:102:
+                RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#425: FILE: drivers/gpu/cuda/cuda.c:102:
+                RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#426: FILE: drivers/gpu/cuda/cuda.c:103:
+                                NVIDIA_GPU_V100_32GB_DEVICE_ID)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#426: FILE: drivers/gpu/cuda/cuda.c:103:
+                                NVIDIA_GPU_V100_32GB_DEVICE_ID)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#427: FILE: drivers/gpu/cuda/cuda.c:104:
+        },$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#427: FILE: drivers/gpu/cuda/cuda.c:104:
+        },$

ERROR:CODE_INDENT: code indent should use tabs where possible
#428: FILE: drivers/gpu/cuda/cuda.c:105:
+        {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#428: FILE: drivers/gpu/cuda/cuda.c:105:
+        {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#429: FILE: drivers/gpu/cuda/cuda.c:106:
+                RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#429: FILE: drivers/gpu/cuda/cuda.c:106:
+                RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#430: FILE: drivers/gpu/cuda/cuda.c:107:
+                                NVIDIA_GPU_V100_16GB_DEVICE_ID)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#430: FILE: drivers/gpu/cuda/cuda.c:107:
+                                NVIDIA_GPU_V100_16GB_DEVICE_ID)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#431: FILE: drivers/gpu/cuda/cuda.c:108:
+        },$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#431: FILE: drivers/gpu/cuda/cuda.c:108:
+        },$

WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#1026: FILE: drivers/gpu/cuda/cuda.c:703:
+		if ((uintptr_t) mem_alloc_list_tail->ptr_d != (uintptr_t) mem_alloc_list_tail->ptr_h) {

WARNING:BRACES: braces {} are not necessary for single statement blocks
#1410: FILE: drivers/gpu/cuda/cuda.c:1087:
+		if (private->gdr_flush_type != CU_FLUSH_GPU_DIRECT_RDMA_WRITES_OPTION_HOST) {
+			rte_cuda_log(ERR, "GPUDirect RDMA flush writes API is not supported");
+		}

total: 21 errors, 25 warnings, 1334 lines checked

       reply	other threads:[~2021-11-16 12:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211116204725.27897-2-eagostini@nvidia.com>
2021-11-16 12:37 ` checkpatch [this message]
2021-11-16 13:18 ` |SUCCESS| " 0-day Robot
2021-11-16 13:31 |WARNING| pw104398 [PATCH] [v6,1/1] " dpdklab

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=20211116123722.25622120735@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).