|WARNING| pw110515 [PATCH] gpu/cuda: GPU_REGISTERED to distinguish GPU memory CPU mapped
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Apr 29 15:54:17 CEST 2022
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
More information about the test-report
mailing list