numam-dpdk/app/test-pmd
Julien Cretin 5706de6533 app/testpmd: fix incompatible sign for printf arguments
The socket_id member of struct rte_port is an unsigned int while the d
conversion specifier of printf expects an int.

The addr_bytes member of struct ether_addr is an array of uint8_t
while the X conversion specifier of printf expects an unsigned int.
Values of type uint8_t are promoted to type int when used in the
ellipsis notation of a function.

These minor bugs were found using TrustInSoft Analyzer.

Signed-off-by: Julien Cretin <julien.cretin@trust-in-soft.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-05-14 11:22:11 +02:00
..
cmdline.c testpmd: add dump commands for debug 2014-04-10 15:50:34 +02:00
config.c app/testpmd: fix incompatible sign for printf arguments 2014-05-14 11:22:11 +02:00
csumonly.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
ieee1588fwd.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
iofwd.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
macfwd-retry.c app/testpmd: added new macfwd-retry mode 2014-02-26 10:22:33 +01:00
macfwd.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
Makefile pcap: revert build patches 2014-03-19 14:33:52 +01:00
mempool_anon.c xen: core library changes 2014-02-25 21:29:19 +01:00
mempool_osdep.h xen: core library changes 2014-02-25 21:29:19 +01:00
parameters.c app/testpmd: fix build without librte_cmdline 2014-02-26 11:07:29 +01:00
rxonly.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
testpmd.c app/testpmd: fix incompatible sign for printf arguments 2014-05-14 11:22:11 +02:00
testpmd.h app/testpmd: added new macfwd-retry mode 2014-02-26 10:22:33 +01:00
txonly.c app/testpmd: fix minor signed overflow in a constant 2014-05-14 11:22:05 +02:00