* [dpdk-test-report] |WARNING| pw24588 [PATCH 2/2] examples: adjust Rx and Tx descriptors to device limits
[not found] <1495727874-10892-2-git-send-email-arybchenko@solarflare.com>
@ 2017-05-25 16:00 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-05-25 16:00 UTC (permalink / raw)
To: test-report; +Cc: Andrew Rybchenko
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
^ permalink raw reply [flat|nested] only message in thread