|WARNING| pw105303 [PATCH] mempool: fix the description of some function return values

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Dec 21 10:06:10 CET 2021


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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#75: 
In rte_mempool_ring.c, the committer uses the symbol ENOBUFS to describe the return value of function common_ring_sc_dequeue, but in rte_mempool.h, the symbol ENOENT is used to describe the return value of function rte_mempool_get. If the user of dpdk uses the symbol ENOENT as the judgment condition of the return value, it may cause some abnormal phenomena in their own programs, such as when the mempool space is exhausted.

total: 0 errors, 1 warnings, 56 lines checked


More information about the test-report mailing list