* |WARNING| pw104487 [PATCH v1 1/1] app/test-gpudev: introduce ethdev to rx/tx packets using GPU memory
[not found] <20211118015228.30628-2-eagostini@nvidia.com>
@ 2021-11-17 17:43 ` checkpatch
2021-11-17 18:38 ` |SUCCESS| " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2021-11-17 17:43 UTC (permalink / raw)
To: test-report; +Cc: eagostini
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/104487
_coding style issues_
ERROR:C99_COMMENTS: do not use C99 // comments
#175: FILE: app/test-gpudev/main.c:47:
+// #define DEBUG_PRINT 1
ERROR:INITIALISED_STATIC: do not initialise statics to 0
#195: FILE: app/test-gpudev/main.c:66:
+static uint16_t conf_gpu_id = 0;
ERROR:INITIALISED_STATIC: do not initialise statics to false
#199: FILE: app/test-gpudev/main.c:70:
+static bool conf_testapi = false;
ERROR:INITIALISED_STATIC: do not initialise statics to 0
#204: FILE: app/test-gpudev/main.c:75:
+static uint16_t conf_port_id = 0;
WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#352: FILE: app/test-gpudev/main.c:498:
+ (conf_burst - nb_rx));
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#393: FILE: app/test-gpudev/main.c:539:
+ while (ACCESS_ONCE(comm_list_fwd[queue_id][comm_list_item].status)
+ != RTE_GPU_COMM_LIST_DONE && force_quit == false);
WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#518: FILE: app/test-gpudev/main.c:665:
+ "rte_gpu_mem_register CPU memory returned error %d.
", ret);
WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#533: FILE: app/test-gpudev/main.c:680:
+ fprintf(stderr, "Unable to register addr 0x%p, ret %d.
", ext_mem.buf_ptr, ret);
WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#620: FILE: app/test-gpudev/main.c:767:
+ comm_list_fwd[idx_q] = rte_gpu_comm_create_list(conf_gpu_id, NUM_COMM_ITEMS);
WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#622: FILE: app/test-gpudev/main.c:769:
+ fprintf(stderr, "rte_gpu_comm_create_list returned error %d
", ret);
WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#627: FILE: app/test-gpudev/main.c:774:
+ fprintf(stderr, "rte_gpu_comm_cleanup_list returned error %d
", ret);
total: 5 errors, 6 warnings, 545 lines checked
^ permalink raw reply [flat|nested] 2+ messages in thread