[dpdk-test-report] |WARNING| pw24588 [PATCH 2/2] examples: adjust Rx and Tx descriptors to device limits

checkpatch at dpdk.org checkpatch at dpdk.org
Thu May 25 18:00:23 CEST 2017


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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#235: FILE: examples/exception_path/main.c:439:
+			    (unsigned)port, ret);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#421: FILE: examples/kni/main.c:622:
+				"for port%u (%d)
", (unsigned)port, ret);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#483: FILE: examples/l2fwd-crypto/main.c:1868:
+				retval, (unsigned) portid);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#503: FILE: examples/l2fwd-jobstats/main.c:891:
+				 ret, (unsigned) portid);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#521: FILE: examples/l2fwd-keepalive/main.c:685:
+				ret, (unsigned) portid);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#539: FILE: examples/l2fwd/main.c:674:
+				 ret, (unsigned) portid);

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#620: FILE: examples/l3fwd-vf/main.c:102:
+#define NB_MBUF RTE_MAX	(						\

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#620: FILE: examples/l3fwd-vf/main.c:102:
+#define NB_MBUF RTE_MAX	(						\
+				(nb_ports*nb_rx_queue*nb_rxd +		\
+				nb_ports*nb_lcores*MAX_PKT_BURST +	\
+				nb_ports*n_tx_queue*nb_txd +		\
+				nb_lcores*MEMPOOL_CACHE_SIZE),		\
 				(unsigned)8192)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#688: FILE: examples/link_status_interrupt/main.c:654:
+				 ret, (unsigned) portid);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#716: FILE: examples/load_balancer/init.c:461:
+				(unsigned) port, ret);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#764: FILE: examples/multi_process/l2fwd_fork/main.c:1088:
+				 ret, (unsigned) portid);

total: 1 errors, 10 warnings, 994 lines checked


More information about the test-report mailing list