[dpdk-test-report] |WARNING| pw104020 [PATCH v3 1/1] gpu/cuda: introduce CUDA driver

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Nov 8 19:18:15 CET 2021


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

_coding style issues_


WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#494: FILE: drivers/gpu/cuda/cuda.c:224:
+			rte_gpu_cuda_log(ERR, "cuCtxSetCurrent input failed with %s.
", err_string);

WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#550: FILE: drivers/gpu/cuda/cuda.c:280:
+			rte_gpu_cuda_log(ERR, "cuCtxSetCurrent current failed with %s.
", err_string);

WARNING:LONG_LINE: line length of 147 exceeds 100 columns
#686: FILE: drivers/gpu/cuda/cuda.c:416:
+	res = cuMemHostRegister(mem_alloc_list_tail->ptr_h, mem_alloc_list_tail->size, CU_MEMHOSTREGISTER_PORTABLE | CU_MEMHOSTREGISTER_DEVICEMAP);

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

WARNING:LONG_LINE: line length of 141 exceeds 100 columns
#873: FILE: drivers/gpu/cuda/cuda.c:603:
+	res = cuFlushGPUDirectRDMAWrites(CU_FLUSH_GPU_DIRECT_RDMA_WRITES_TARGET_CURRENT_CTX, CU_FLUSH_GPU_DIRECT_RDMA_WRITES_TO_ALL_DEVICES);

WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#876: FILE: drivers/gpu/cuda/cuda.c:606:
+		rte_gpu_cuda_log(ERR, "cuFlushGPUDirectRDMAWrites current failed with %s.
", err_string);

WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#1028: FILE: drivers/gpu/cuda/cuda.c:758:
+	rte_gpu_cuda_log_debug("dev id = %u name = %s
", dev->mpshared->info.dev_id, private->gpu_name);

total: 0 errors, 7 warnings, 936 lines checked
Warning in drivers/gpu/cuda/cuda.c:
Using %l format, prefer %PRI*64 if type is [u]int64_t


More information about the test-report mailing list