[dpdk-test-report] |WARNING| pw44916 [v2, 2/3] kni: fix kni fifo synchronization

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Sep 19 15:44:59 CEST 2018


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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#47: FILE: lib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h:61:
+	unsigned write;              /**< Next position to be written*/

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#48: FILE: lib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h:62:
+	unsigned read;               /**< Next position to be read */

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#64: FILE: lib/librte_kni/rte_kni_fifo.h:33:
+	unsigned fifo_read = __atomic_load_n(&fifo->read,

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#67: FILE: lib/librte_kni/rte_kni_fifo.h:36:
+	unsigned fifo_read = fifo->read;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#90: FILE: lib/librte_kni/rte_kni_fifo.h:65:
+	unsigned fifo_write = __atomic_load_n(&fifo->write, __ATOMIC_ACQUIRE);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#116: FILE: lib/librte_kni/rte_kni_fifo.h:93:
+	unsigned fifo_write = __atomic_load_n(&fifo->write,

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#118: FILE: lib/librte_kni/rte_kni_fifo.h:95:
+	unsigned fifo_read = __atomic_load_n(&fifo->read,

total: 0 errors, 7 warnings, 76 lines checked


More information about the test-report mailing list