|WARNING| pw104408 [PATCH v7 1/1] gpu/cuda: introduce CUDA driver

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Nov 16 15:41:19 CET 2021


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

_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 '('
#348: 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 '('
#349: FILE: drivers/gpu/cuda/cuda.c:25:
+CUresult CUDAAPI (*sym_cuDriverGetVersion)(int *driverVersion) = NULL;

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

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

total: 1 errors, 4 warnings, 1340 lines checked


More information about the test-report mailing list