* [dpdk-test-report] |WARNING| pw46242 [v3, 4/4] kni: introduce c11 atomic into kni fifo synchronization
[not found] <1538989906-8349-4-git-send-email-phil.yang@arm.com>
@ 2018-10-08 9:13 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-10-08 9:13 UTC (permalink / raw)
To: test-report; +Cc: Phil Yang
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/46242
_coding style issues_
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#39: FILE: lib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h:59:
+ unsigned write; /**< Next position to be written*/
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#40: FILE: lib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h:60:
+ unsigned read; /**< Next position to be read */
WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#70: FILE: lib/librte_kni/rte_kni_fifo.h:22:
+#define __KNI_STORE_RELEASE(dst, value) do { \
+ __atomic_store_n((dst), value, __ATOMIC_RELEASE); \
+ } while(0)
ERROR:SPACING: space required before the open parenthesis '('
#72: FILE: lib/librte_kni/rte_kni_fifo.h:24:
+ } while(0)
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#75: FILE: lib/librte_kni/rte_kni_fifo.h:27:
+ typeof (*(src)) val = *(src); \
ERROR:SPACING: space required before the open parenthesis '('
#82: FILE: lib/librte_kni/rte_kni_fifo.h:34:
+ } while(0)
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#95: FILE: lib/librte_kni/rte_kni_fifo.h:62:
+ unsigned fifo_read = __KNI_LOAD_ACQUIRE(&fifo->read);
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#115: FILE: lib/librte_kni/rte_kni_fifo.h:84:
+ unsigned fifo_write = __KNI_LOAD_ACQUIRE(&fifo->write);
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#136: FILE: lib/librte_kni/rte_kni_fifo.h:103:
+ unsigned fifo_write = __KNI_LOAD_ACQUIRE(&fifo->write);
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#137: FILE: lib/librte_kni/rte_kni_fifo.h:104:
+ unsigned fifo_read = __KNI_LOAD_ACQUIRE(&fifo->read);
total: 2 errors, 8 warnings, 95 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-10-08 9:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1538989906-8349-4-git-send-email-phil.yang@arm.com>
2018-10-08 9:13 ` [dpdk-test-report] |WARNING| pw46242 [v3, 4/4] kni: introduce c11 atomic into kni fifo synchronization checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).